org.seasar.robot.db.bsbhv
クラス BsUrlFilterBhv

java.lang.Object
  上位を拡張 org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
      上位を拡張 org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
          上位を拡張 org.seasar.robot.db.bsbhv.BsUrlFilterBhv
すべての実装されたインタフェース:
org.seasar.robot.dbflute.bhv.BehaviorReadable, org.seasar.robot.dbflute.bhv.BehaviorWritable
直系の既知のサブクラス:
UrlFilterBhv

public abstract class BsUrlFilterBhv
extends org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable

The behavior of URL_FILTER as TABLE.

 [primary-key]
     ID
 
 [column]
     ID, SESSION_ID, URL, FILTER_TYPE, CREATE_TIME
 
 [sequence]
     
 
 [identity]
     ID
 
 [version-no]
     
 
 [foreign-table]
     
 
 [referrer-table]
     
 
 [foreign-property]
     
 
 [referrer-property]
     
 

作成者:
DBFlute(AutoGenerator)

入れ子のクラスの概要
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable から継承された入れ子のクラス/インタフェース
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalDeleteCallback<ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalDeleteNonstrictCallback<ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalDeleteNonstrictIgnoreDeletedCallback<ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalInsertOrUpdateCallback<ENTITY extends org.seasar.robot.dbflute.Entity,CB_TYPE extends org.seasar.robot.dbflute.cbean.ConditionBean>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalInsertOrUpdateNonstrictCallback<ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalUpdateCallback<ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable.InternalUpdateNonstrictCallback<ENTITY extends org.seasar.robot.dbflute.Entity>
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable から継承された入れ子のクラス/インタフェース
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalLoadReferrerCallback<LOCAL_ENTITY extends org.seasar.robot.dbflute.Entity,PK,REFERRER_CB extends org.seasar.robot.dbflute.cbean.ConditionBean,REFERRER_ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalPulloutCallback<LOCAL_ENTITY extends org.seasar.robot.dbflute.Entity,FOREIGN_ENTITY extends org.seasar.robot.dbflute.Entity>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalSelectEntityCallback<ENTITY extends org.seasar.robot.dbflute.Entity,CB extends org.seasar.robot.dbflute.cbean.ConditionBean>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalSelectEntityWithDeletedCheckCallback<ENTITY extends org.seasar.robot.dbflute.Entity,CB extends org.seasar.robot.dbflute.cbean.ConditionBean>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalSelectListCallback<ENTITY extends org.seasar.robot.dbflute.Entity,CB extends org.seasar.robot.dbflute.cbean.ConditionBean>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.InternalSelectPageCallback<ENTITY extends org.seasar.robot.dbflute.Entity,CB extends org.seasar.robot.dbflute.cbean.ConditionBean>, org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB extends org.seasar.robot.dbflute.cbean.ConditionBean,RESULT>
 
フィールドの概要
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable から継承されたフィールド
_commonColumnAutoSetupper
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable から継承されたフィールド
_behaviorCommandInvoker, _behaviorSelector
 
コンストラクタの概要
BsUrlFilterBhv()
           
 
メソッドの概要
 int[] batchDelete(List<UrlFilter> urlFilterList)
          Batch-delete the list.
 int[] batchInsert(List<UrlFilter> urlFilterList)
          Batch-insert the list.
 int[] batchUpdate(List<UrlFilter> urlFilterList)
          Batch-update the list.
 int[] batchUpdate(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.cbean.SpecifyQuery<UrlFilterCB> updateColumnSpec)
          Batch-update the list.
protected  UrlFilterCB createCBForQueryInsert()
           
protected  UrlFilterCB createCBForSpecifiedUpdate()
           
protected  UrlFilterCB createCBForVaryingUpdate()
           
protected  int[] delegateBatchDelete(List<UrlFilter> ls, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)
           
protected  int[] delegateBatchDeleteNonstrict(List<UrlFilter> ls, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)
           
protected  int[] delegateBatchInsert(List<UrlFilter> ls, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)
           
protected  int[] delegateBatchUpdate(List<UrlFilter> ls, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)
           
protected  int[] delegateBatchUpdateNonstrict(List<UrlFilter> ls, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)
           
protected  int delegateDelete(UrlFilter e, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)
           
protected  int delegateDeleteNonstrict(UrlFilter e, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)
           
protected  int delegateInsert(UrlFilter e, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)
           
protected  int delegateQueryDelete(UrlFilterCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)
           
protected  int delegateQueryInsert(UrlFilter e, UrlFilterCB inCB, org.seasar.robot.dbflute.cbean.ConditionBean resCB, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)
           
protected  int delegateQueryUpdate(UrlFilter e, UrlFilterCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)
           
protected  int delegateSelectCountPlainly(UrlFilterCB cb)
           
protected  int delegateSelectCountUniquely(UrlFilterCB cb)
           
protected
<ENTITY extends UrlFilter>
void
delegateSelectCursor(UrlFilterCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> erh, Class<ENTITY> et)
           
protected
<ENTITY extends UrlFilter>
List<ENTITY>
delegateSelectList(UrlFilterCB cb, Class<ENTITY> et)
           
protected  int delegateUpdate(UrlFilter e, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)
           
protected  int delegateUpdateNonstrict(UrlFilter e, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)
           
 void delete(UrlFilter urlFilter)
          Delete the entity.
protected  int[] doBatchDelete(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
           
protected  int[] doBatchInsert(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
           
protected  int[] doBatchUpdate(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
           
protected  void doCreate(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  void doCreateOrModify(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> updateOption)
           
protected  void doCreateOrModifyNonstrict(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> updateOption)
           
protected  void doDelete(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
           
protected  void doInesrtOrUpdate(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> updateOption)
           
protected  void doInsert(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
           
protected  int[] doLumpCreate(List<org.seasar.robot.dbflute.Entity> ls, org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int[] doLumpModify(List<org.seasar.robot.dbflute.Entity> ls, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int[] doLumpModifyNonstrict(List<org.seasar.robot.dbflute.Entity> ls, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int[] doLumpRemove(List<org.seasar.robot.dbflute.Entity> ls, org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int[] doLumpRemoveNonstrict(List<org.seasar.robot.dbflute.Entity> ls, org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  void doModify(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  void doModifyNonstrict(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int doQueryDelete(UrlFilterCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
           
protected  int doQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
           
protected  int doQueryUpdate(UrlFilter urlFilter, UrlFilterCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
           
protected  int doRangeCreate(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<? extends org.seasar.robot.dbflute.Entity,? extends org.seasar.robot.dbflute.cbean.ConditionBean> setupper, org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int doRangeModify(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.cbean.ConditionBean cb, org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int doRangeRemove(org.seasar.robot.dbflute.cbean.ConditionBean cb, org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  int doReadCount(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  org.seasar.robot.dbflute.Entity doReadEntity(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  org.seasar.robot.dbflute.Entity doReadEntityWithDeletedCheck(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  org.seasar.robot.dbflute.cbean.ListResultBean<? extends org.seasar.robot.dbflute.Entity> doReadList(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  Number doReadNextVal()
           
protected  org.seasar.robot.dbflute.cbean.PagingResultBean<? extends org.seasar.robot.dbflute.Entity> doReadPage(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  void doRemove(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected  void doRemoveNonstrict(org.seasar.robot.dbflute.Entity entity, org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
           
protected
<RESULT,CB extends UrlFilterCB>
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB,RESULT>
doScalarSelect(Class<RESULT> resultType, CB cb)
           
protected
<ENTITY extends UrlFilter>
ENTITY
doSelectByPKValue(Long id, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlFilter>
ENTITY
doSelectByPKValueWithDeletedCheck(Long id, Class<ENTITY> entityType)
           
protected  int doSelectCountPlainly(UrlFilterCB cb)
           
protected  int doSelectCountUniquely(UrlFilterCB cb)
           
protected
<ENTITY extends UrlFilter>
void
doSelectCursor(UrlFilterCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlFilter>
ENTITY
doSelectEntity(UrlFilterCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlFilter>
ENTITY
doSelectEntityWithDeletedCheck(UrlFilterCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlFilter>
org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY>
doSelectList(UrlFilterCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlFilter>
org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY>
doSelectPage(UrlFilterCB cb, Class<ENTITY> entityType)
           
protected  void doUpdate(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
           
protected  UrlFilterCB downcast(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  UrlFilter downcast(org.seasar.robot.dbflute.Entity entity)
           
 org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
           
 UrlFilterDbm getMyDBMeta()
           
 String getTableDbName()
           
protected  boolean hasUpdateDateValue(org.seasar.robot.dbflute.Entity entity)
          
protected  boolean hasVersionNoValue(org.seasar.robot.dbflute.Entity entity)
          
 void insert(UrlFilter urlFilter)
          Insert the entity.
 void insertOrUpdate(UrlFilter urlFilter)
          Insert or update the entity modified-only.
 org.seasar.robot.dbflute.cbean.ConditionBean newConditionBean()
          
 org.seasar.robot.dbflute.Entity newEntity()
          
 UrlFilterCB newMyConditionBean()
           
 UrlFilter newMyEntity()
           
protected  void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
           
protected  void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
           
protected  void prepareUpdateOption(org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
           
 int queryDelete(UrlFilterCB cb)
          Delete the several entities by query.
 int queryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper)
          Insert the several entities by query (modified-only for fixed value).
 int queryUpdate(UrlFilter urlFilter, UrlFilterCB cb)
          Update the several entities by query non-strictly modified-only.
<RESULT> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<UrlFilterCB,RESULT>
scalarSelect(Class<RESULT> resultType)
          Select the scalar value derived by a function from uniquely-selected records.
 UrlFilter selectByPKValue(Long id)
          Select the entity by the primary-key value.
 UrlFilter selectByPKValueWithDeletedCheck(Long id)
          Select the entity by the primary-key value with deleted check.
 int selectCount(UrlFilterCB cb)
          Select the count of uniquely-selected records by the condition-bean.
 void selectCursor(UrlFilterCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<UrlFilter> entityRowHandler)
          Select the cursor by the condition-bean.
 UrlFilter selectEntity(UrlFilterCB cb)
          Select the entity by the condition-bean.
 UrlFilter selectEntityWithDeletedCheck(UrlFilterCB cb)
          Select the entity by the condition-bean with deleted check.
 org.seasar.robot.dbflute.cbean.ListResultBean<UrlFilter> selectList(UrlFilterCB cb)
          Select the list as result bean.
 org.seasar.robot.dbflute.cbean.PagingResultBean<UrlFilter> selectPage(UrlFilterCB cb)
          Select the page as result bean.
 void update(UrlFilter urlFilter)
          Update the entity modified-only.
 int[] varyingBatchDelete(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
          Batch-delete the list with varying requests.
 int[] varyingBatchInsert(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
          Batch-insert the list with varying requests.
 int[] varyingBatchUpdate(List<UrlFilter> urlFilterList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
          Batch-update the list with varying requests.
 void varyingDelete(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
          Delete the entity with varying requests.
 void varyingInsert(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
          Insert the entity with varying requests.
 void varyingInsertOrUpdate(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> updateOption)
          Insert or update the entity with varying requests.
 int varyingQueryDelete(UrlFilterCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
          Delete the several entities by query with varying requests non-strictly.
 int varyingQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
          Insert the several entities by query with varying requests (modified-only for fixed value).
 int varyingQueryUpdate(UrlFilter urlFilter, UrlFilterCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
          Update the several entities by query with varying requests non-strictly modified-only.
 void varyingUpdate(UrlFilter urlFilter, org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
          Update the entity with varying requests modified-only.
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable から継承されたメソッド
assertDeleteOptionNotNull, assertDeleteOptionStatus, assertEntityHasOptimisticLockValue, assertEntityHasUpdateDateValue, assertEntityHasVersionNoValue, assertEntityOfDelete, assertEntityOfInsert, assertEntityOfUpdate, assertInsertOptionNotNull, assertInsertOptionStatus, assertQueryDeleteStatus, assertQueryUpdateStatus, assertUpdateColumnSpecificationNotNull, assertUpdateOptionNotNull, assertUpdateOptionStatus, create, createBatchDeleteCommand, createBatchDeleteNonstrictCommand, createBatchInsertCommand, createBatchUpdateCommand, createBatchUpdateNonstrictCommand, createDeleteEntityCommand, createDeleteNonstrictEntityCommand, createOrModify, createOrModifyNonstrict, createQueryDeleteCBCommand, createQueryInsertCBCommand, createQueryUpdateCBCommand, createSpecifiedUpdateOption, createUpdateEntityCommand, createUpdateNonstrictEntityCommand, filterEntityOfDelete, filterEntityOfInsert, filterEntityOfUpdate, frameworkFilterEntityOfDelete, frameworkFilterEntityOfInsert, frameworkFilterEntityOfUpdate, getCommonColumnAutoSetupper, helpDeleteInternally, helpDeleteNonstrictIgnoreDeletedInternally, helpDeleteNonstrictInternally, helpInsertOrUpdateInternally, helpInsertOrUpdateInternally, helpUpdateInternally, helpUpdateNonstrictInternally, injectSequenceToPrimaryKeyIfNeeds, lumpCreate, lumpModify, lumpModifyNonstrict, lumpRemove, lumpRemoveNonstrict, modify, modifyNonstrict, processBatchInternally, processBatchInternally, processBatchInternally, processBeforeDelete, processBeforeInsert, processBeforeQueryDelete, processBeforeQueryInsert, processBeforeQueryUpdate, processBeforeUpdate, rangeCreate, rangeModify, rangeRemove, remove, removeNonstrict, setCommonColumnAutoSetupper, setupCommonColumnOfInsertIfNeeds, setupCommonColumnOfUpdateIfNeeds, setupExclusiveControlColumnOfQueryInsert, throwUpdateDateValueNullException, throwUpdateEntityAlreadyDeletedException, throwUpdateEntityDuplicatedException, throwVersionNoValueNullException, xsetupListEntityCommand
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable から継承されたメソッド
assertBehaviorCommandInvoker, assertCBNotNull, assertConditionBeanNotNull, assertEntityNotDeleted, assertEntityNotDeleted, assertEntityNotNull, assertEntityNotNullAndHasPrimaryKeyValue, assertEntitySelectedAsOne, assertListNotNullAndEmpty, assertListNotNullAndHasOnlyOne, assertListNotNullAndNotEmpty, assertObjectNotNull, assertSpecifyDerivedReferrerEntityProperty, assertStringNotNullAndNotTrimmedEmpty, createBhvExThrower, createCBExThrower, createExceptionMessageBuilder, createInsertEntityCommand, createListResultBean, createPagingHandler, createPagingInvoker, createSelectCountCBCommand, createSelectCursorCBCommand, createSelectListCBCommand, createSelectNextValCommand, createSelectNextValSubCommand, createSelectScalarCBCommand, doHelpLoadReferrerInternally, getBehaviorCommandInvoker, getBehaviorSelector, helpConditionBeanDowncastInternally, helpEntityDowncastInternally, helpLoadReferrerInternally, helpPulloutInternally, helpSelectEntityInternally, helpSelectEntityWithDeletedCheckInternally, helpSelectListInternally, helpSelectPageInternally, invoke, ln, outsideSql, readCount, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, setBehaviorCommandInvoker, setBehaviorSelector, throwSelectEntityAlreadyDeletedException, throwSelectEntityConditionNotFoundException, throwSelectEntityDuplicatedException, throwSpecifyDerivedReferrerEntityPropertyNotFoundException, toLoadReferrerMappingKey, toLowerCaseIfString, warmUpCommand, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xcheckSafetyResultAsOne, xgetBSFLR, xnewLRLs, xrestoreSafetyResult, xsetupEntityCommand, xsetupSelectCommand
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.seasar.robot.dbflute.bhv.BehaviorReadable から継承されたメソッド
readCount, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, warmUpCommand
 

コンストラクタの詳細

BsUrlFilterBhv

public BsUrlFilterBhv()
メソッドの詳細

getTableDbName

public String getTableDbName()
戻り値:
The name on database of table. (NotNull)

getDBMeta

public org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
戻り値:
The instance of DBMeta. (NotNull)

getMyDBMeta

public UrlFilterDbm getMyDBMeta()
戻り値:
The instance of DBMeta as my table type. (NotNull)

newEntity

public org.seasar.robot.dbflute.Entity newEntity()


newConditionBean

public org.seasar.robot.dbflute.cbean.ConditionBean newConditionBean()


newMyEntity

public UrlFilter newMyEntity()
戻り値:
The instance of new entity as my table type. (NotNull)

newMyConditionBean

public UrlFilterCB newMyConditionBean()
戻り値:
The instance of new condition-bean as my table type. (NotNull)

selectCount

public int selectCount(UrlFilterCB cb)
Select the count of uniquely-selected records by the condition-bean. {IgnorePagingCondition, IgnoreSpecifyColumn}
SpecifyColumn is ignored but you can use it only to remove text type column for union's distinct.
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 int count = urlFilterBhv.selectCount(cb);
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The selected count.

doSelectCountUniquely

protected int doSelectCountUniquely(UrlFilterCB cb)

doSelectCountPlainly

protected int doSelectCountPlainly(UrlFilterCB cb)

doReadCount

protected int doReadCount(org.seasar.robot.dbflute.cbean.ConditionBean cb)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadCount

selectCursor

public void selectCursor(UrlFilterCB cb,
                         org.seasar.robot.dbflute.cbean.EntityRowHandler<UrlFilter> entityRowHandler)
Select the cursor by the condition-bean.
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 urlFilterBhv.selectCursor(cb, new EntityRowHandler<UrlFilter>() {
     public void handle(UrlFilter entity) {
         ... = entity.getFoo...();
     }
 });
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
entityRowHandler - The handler of entity row of UrlFilter. (NotNull)

doSelectCursor

protected <ENTITY extends UrlFilter> void doSelectCursor(UrlFilterCB cb,
                                                         org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler,
                                                         Class<ENTITY> entityType)

selectEntity

public UrlFilter selectEntity(UrlFilterCB cb)
Select the entity by the condition-bean.
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 UrlFilter urlFilter = urlFilterBhv.selectEntity(cb);
 if (urlFilter != null) {
     ... = urlFilter.get...();
 } else {
     ...
 }
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The selected entity. (NullAllowed: If the condition has no data, it returns null)
例外:
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.SelectEntityConditionNotFoundException - When the condition for selecting an entity is not found.

doSelectEntity

protected <ENTITY extends UrlFilter> ENTITY doSelectEntity(UrlFilterCB cb,
                                                           Class<ENTITY> entityType)

doReadEntity

protected org.seasar.robot.dbflute.Entity doReadEntity(org.seasar.robot.dbflute.cbean.ConditionBean cb)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadEntity

selectEntityWithDeletedCheck

public UrlFilter selectEntityWithDeletedCheck(UrlFilterCB cb)
Select the entity by the condition-bean with deleted check.
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 UrlFilter urlFilter = urlFilterBhv.selectEntityWithDeletedCheck(cb);
 ... = urlFilter.get...(); // the entity always be not null
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The selected entity. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.SelectEntityConditionNotFoundException - When the condition for selecting an entity is not found.

doSelectEntityWithDeletedCheck

protected <ENTITY extends UrlFilter> ENTITY doSelectEntityWithDeletedCheck(UrlFilterCB cb,
                                                                           Class<ENTITY> entityType)

doReadEntityWithDeletedCheck

protected org.seasar.robot.dbflute.Entity doReadEntityWithDeletedCheck(org.seasar.robot.dbflute.cbean.ConditionBean cb)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadEntityWithDeletedCheck

selectByPKValue

public UrlFilter selectByPKValue(Long id)
Select the entity by the primary-key value.

パラメータ:
id - The one of primary key. (NotNull)
戻り値:
The selected entity. (NullAllowed: If the primary-key value has no data, it returns null)
例外:
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.SelectEntityConditionNotFoundException - When the condition for selecting an entity is not found.

doSelectByPKValue

protected <ENTITY extends UrlFilter> ENTITY doSelectByPKValue(Long id,
                                                              Class<ENTITY> entityType)

selectByPKValueWithDeletedCheck

public UrlFilter selectByPKValueWithDeletedCheck(Long id)
Select the entity by the primary-key value with deleted check.

パラメータ:
id - The one of primary key. (NotNull)
戻り値:
The selected entity. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.SelectEntityConditionNotFoundException - When the condition for selecting an entity is not found.

doSelectByPKValueWithDeletedCheck

protected <ENTITY extends UrlFilter> ENTITY doSelectByPKValueWithDeletedCheck(Long id,
                                                                              Class<ENTITY> entityType)

selectList

public org.seasar.robot.dbflute.cbean.ListResultBean<UrlFilter> selectList(UrlFilterCB cb)
Select the list as result bean.
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 cb.query().addOrderBy_Bar...();
 ListResultBean<UrlFilter> urlFilterList = urlFilterBhv.selectList(cb);
 for (UrlFilter urlFilter : urlFilterList) {
     ... = urlFilter.get...();
 }
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The result bean of selected list. (NotNull)
例外:
org.seasar.robot.dbflute.exception.DangerousResultSizeException - When the result size is over the specified safety size.

doSelectList

protected <ENTITY extends UrlFilter> org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY> doSelectList(UrlFilterCB cb,
                                                                                                        Class<ENTITY> entityType)

doReadList

protected org.seasar.robot.dbflute.cbean.ListResultBean<? extends org.seasar.robot.dbflute.Entity> doReadList(org.seasar.robot.dbflute.cbean.ConditionBean cb)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadList

selectPage

public org.seasar.robot.dbflute.cbean.PagingResultBean<UrlFilter> selectPage(UrlFilterCB cb)
Select the page as result bean.
(both count-select and paging-select are executed)
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 cb.query().addOrderBy_Bar...();
 cb.paging(20, 3); // 20 records per a page and current page number is 3
 PagingResultBean<UrlFilter> page = urlFilterBhv.selectPage(cb);
 int allRecordCount = page.getAllRecordCount();
 int allPageCount = page.getAllPageCount();
 boolean isExistPrePage = page.isExistPrePage();
 boolean isExistNextPage = page.isExistNextPage();
 ...
 for (UrlFilter urlFilter : page) {
     ... = urlFilter.get...();
 }
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The result bean of selected page. (NotNull)
例外:
org.seasar.robot.dbflute.exception.DangerousResultSizeException - When the result size is over the specified safety size.

doSelectPage

protected <ENTITY extends UrlFilter> org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY> doSelectPage(UrlFilterCB cb,
                                                                                                          Class<ENTITY> entityType)

doReadPage

protected org.seasar.robot.dbflute.cbean.PagingResultBean<? extends org.seasar.robot.dbflute.Entity> doReadPage(org.seasar.robot.dbflute.cbean.ConditionBean cb)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadPage

scalarSelect

public <RESULT> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<UrlFilterCB,RESULT> scalarSelect(Class<RESULT> resultType)
Select the scalar value derived by a function from uniquely-selected records.
You should call a function method after this method called like as follows:
 urlFilterBhv.scalarSelect(Date.class).max(new ScalarQuery() {
     public void query(UrlFilterCB cb) {
         cb.specify().columnFooDatetime(); // required for a function
         cb.query().setBarName_PrefixSearch("S");
     }
 });
 

型パラメータ:
RESULT - The type of result.
パラメータ:
resultType - The type of result. (NotNull)
戻り値:
The scalar value derived by a function. (NullAllowed)

doScalarSelect

protected <RESULT,CB extends UrlFilterCB> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB,RESULT> doScalarSelect(Class<RESULT> resultType,
                                                                                                                                     CB cb)

doReadNextVal

protected Number doReadNextVal()
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の doReadNextVal

insert

public void insert(UrlFilter urlFilter)
Insert the entity.
 UrlFilter urlFilter = new UrlFilter();
 // if auto-increment, you don't need to set the PK value
 urlFilter.setFoo...(value);
 urlFilter.setBar...(value);
 // you don't need to set values of common columns
 //urlFilter.setRegisterUser(value);
 //urlFilter.set...;
 urlFilterBhv.insert(urlFilter);
 ... = urlFilter.getPK...(); // if auto-increment, you can get the value after
 

パラメータ:
urlFilter - The entity of insert target. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

doInsert

protected void doInsert(UrlFilter urlFilter,
                        org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)

prepareInsertOption

protected void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)

doCreate

protected void doCreate(org.seasar.robot.dbflute.Entity entity,
                        org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doCreate

update

public void update(UrlFilter urlFilter)
Update the entity modified-only. {UpdateCountZeroException, ExclusiveControl}
 UrlFilter urlFilter = new UrlFilter();
 urlFilter.setPK...(value); // required
 urlFilter.setFoo...(value); // you should set only modified columns
 // you don't need to set values of common columns
 //urlFilter.setRegisterUser(value);
 //urlFilter.set...;
 // if exclusive control, the value of exclusive control column is required
 urlFilter.setVersionNo(value);
 try {
     urlFilterBhv.update(urlFilter);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 } 
 

パラメータ:
urlFilter - The entity of update target. (NotNull) {PrimaryKeyRequired, ConcurrencyColumnRequired}
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

doUpdate

protected void doUpdate(UrlFilter urlFilter,
                        org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)

prepareUpdateOption

protected void prepareUpdateOption(org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)

createCBForVaryingUpdate

protected UrlFilterCB createCBForVaryingUpdate()

createCBForSpecifiedUpdate

protected UrlFilterCB createCBForSpecifiedUpdate()

doModify

protected void doModify(org.seasar.robot.dbflute.Entity entity,
                        org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doModify

doModifyNonstrict

protected void doModifyNonstrict(org.seasar.robot.dbflute.Entity entity,
                                 org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doModifyNonstrict

insertOrUpdate

public void insertOrUpdate(UrlFilter urlFilter)
Insert or update the entity modified-only. {ExclusiveControl(when update)}

パラメータ:
urlFilter - The entity of insert or update target. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

doInesrtOrUpdate

protected void doInesrtOrUpdate(UrlFilter urlFilter,
                                org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> insertOption,
                                org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> updateOption)

doCreateOrModify

protected void doCreateOrModify(org.seasar.robot.dbflute.Entity entity,
                                org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> insertOption,
                                org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> updateOption)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doCreateOrModify

doCreateOrModifyNonstrict

protected void doCreateOrModifyNonstrict(org.seasar.robot.dbflute.Entity entity,
                                         org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> insertOption,
                                         org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> updateOption)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doCreateOrModifyNonstrict

delete

public void delete(UrlFilter urlFilter)
Delete the entity. {UpdateCountZeroException, ExclusiveControl}
 UrlFilter urlFilter = new UrlFilter();
 urlFilter.setPK...(value); // required
 // if exclusive control, the value of exclusive control column is required
 urlFilter.setVersionNo(value);
 try {
     urlFilterBhv.delete(urlFilter);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 } 
 

パラメータ:
urlFilter - The entity of delete target. (NotNull) {PrimaryKeyRequired, ConcurrencyColumnRequired}
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.

doDelete

protected void doDelete(UrlFilter urlFilter,
                        org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)

prepareDeleteOption

protected void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)

doRemove

protected void doRemove(org.seasar.robot.dbflute.Entity entity,
                        org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doRemove

doRemoveNonstrict

protected void doRemoveNonstrict(org.seasar.robot.dbflute.Entity entity,
                                 org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doRemoveNonstrict

batchInsert

public int[] batchInsert(List<UrlFilter> urlFilterList)
Batch-insert the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.
All columns are insert target. (so default constraints are not available)
And if the table has an identity, entities after the process do not have incremented values. (When you use the (normal) insert(), an entity after the process has an incremented value)

パラメータ:
urlFilterList - The list of the entity. (NotNull)
戻り値:
The array of inserted count.

doBatchInsert

protected int[] doBatchInsert(List<UrlFilter> urlFilterList,
                              org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)

doLumpCreate

protected int[] doLumpCreate(List<org.seasar.robot.dbflute.Entity> ls,
                             org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doLumpCreate

batchUpdate

public int[] batchUpdate(List<UrlFilter> urlFilterList)
Batch-update the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.
All columns are update target. {NOT modified only}

パラメータ:
urlFilterList - The list of the entity. (NotNull)
戻り値:
The array of updated count.
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.

doBatchUpdate

protected int[] doBatchUpdate(List<UrlFilter> urlFilterList,
                              org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)

doLumpModify

protected int[] doLumpModify(List<org.seasar.robot.dbflute.Entity> ls,
                             org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doLumpModify

batchUpdate

public int[] batchUpdate(List<UrlFilter> urlFilterList,
                         org.seasar.robot.dbflute.cbean.SpecifyQuery<UrlFilterCB> updateColumnSpec)
Batch-update the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.
You can specify update columns used on set clause of update statement. However you do not need to specify common columns for update and an optimistick lock column because they are specified implicitly.

パラメータ:
urlFilterList - The list of the entity. (NotNull)
updateColumnSpec - The specification of update columns. (NotNull)
戻り値:
The array of updated count.
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.

doLumpModifyNonstrict

protected int[] doLumpModifyNonstrict(List<org.seasar.robot.dbflute.Entity> ls,
                                      org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doLumpModifyNonstrict

batchDelete

public int[] batchDelete(List<UrlFilter> urlFilterList)
Batch-delete the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.

パラメータ:
urlFilterList - The list of the entity. (NotNull)
戻り値:
The array of deleted count.
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.

doBatchDelete

protected int[] doBatchDelete(List<UrlFilter> urlFilterList,
                              org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)

doLumpRemove

protected int[] doLumpRemove(List<org.seasar.robot.dbflute.Entity> ls,
                             org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doLumpRemove

doLumpRemoveNonstrict

protected int[] doLumpRemoveNonstrict(List<org.seasar.robot.dbflute.Entity> ls,
                                      org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doLumpRemoveNonstrict

queryInsert

public int queryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper)
Insert the several entities by query (modified-only for fixed value).
 urlFilterBhv.queryInsert(new QueryInsertSetupper<urlFilter, UrlFilterCB>() {
     public ConditionBean setup(urlFilter entity, UrlFilterCB intoCB) {
         FooCB cb = FooCB();
         cb.setupSelect_Bar();
 
         // mapping
         intoCB.specify().columnMyName().mappedFrom(cb.specify().columnFooName());
         intoCB.specify().columnMyCount().mappedFrom(cb.specify().columnFooCount());
         intoCB.specify().columnMyDate().mappedFrom(cb.specify().specifyBar().columnBarDate());
         entity.setMyFixedValue("foo"); // fixed value
         // you don't need to set values of common columns
         //entity.setRegisterUser(value);
         //entity.set...;
         // you don't need to set a value of exclusive control column
         //entity.setVersionNo(value);
 
         return cb;
     }
 });
 

パラメータ:
setupper - The setup-per of query-insert. (NotNull)
戻り値:
The inserted count.

doQueryInsert

protected int doQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper,
                            org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)

createCBForQueryInsert

protected UrlFilterCB createCBForQueryInsert()

doRangeCreate

protected int doRangeCreate(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<? extends org.seasar.robot.dbflute.Entity,? extends org.seasar.robot.dbflute.cbean.ConditionBean> setupper,
                            org.seasar.robot.dbflute.bhv.InsertOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doRangeCreate

queryUpdate

public int queryUpdate(UrlFilter urlFilter,
                       UrlFilterCB cb)
Update the several entities by query non-strictly modified-only. {NonExclusiveControl}
 UrlFilter urlFilter = new UrlFilter();
 // you don't need to set PK value
 //urlFilter.setPK...(value);
 urlFilter.setFoo...(value); // you should set only modified columns
 // you don't need to set values of common columns
 //urlFilter.setRegisterUser(value);
 //urlFilter.set...;
 // you don't need to set a value of exclusive control column
 // (auto-increment for version number is valid though non-exclusive control)
 //urlFilter.setVersionNo(value);
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 urlFilterBhv.queryUpdate(urlFilter, cb);
 

パラメータ:
urlFilter - The entity that contains update values. (NotNull, PrimaryKeyNullAllowed)
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The updated count.
例外:
org.seasar.robot.dbflute.exception.NonQueryUpdateNotAllowedException - When the query has no condition.

doQueryUpdate

protected int doQueryUpdate(UrlFilter urlFilter,
                            UrlFilterCB cb,
                            org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)

doRangeModify

protected int doRangeModify(org.seasar.robot.dbflute.Entity entity,
                            org.seasar.robot.dbflute.cbean.ConditionBean cb,
                            org.seasar.robot.dbflute.bhv.UpdateOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doRangeModify

queryDelete

public int queryDelete(UrlFilterCB cb)
Delete the several entities by query. {NonExclusiveControl}
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 urlFilterBhv.queryDelete(urlFilter, cb);
 

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
戻り値:
The deleted count.
例外:
org.seasar.robot.dbflute.exception.NonQueryDeleteNotAllowedException - When the query has no condition.

doQueryDelete

protected int doQueryDelete(UrlFilterCB cb,
                            org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)

doRangeRemove

protected int doRangeRemove(org.seasar.robot.dbflute.cbean.ConditionBean cb,
                            org.seasar.robot.dbflute.bhv.DeleteOption<? extends org.seasar.robot.dbflute.cbean.ConditionBean> option)
定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable 内の doRangeRemove

varyingInsert

public void varyingInsert(UrlFilter urlFilter,
                          org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
Insert the entity with varying requests.
For example, disableCommonColumnAutoSetup(), disablePrimaryKeyIdentity().
Other specifications are same as insert(entity).
 UrlFilter urlFilter = new UrlFilter();
 // if auto-increment, you don't need to set the PK value
 urlFilter.setFoo...(value);
 urlFilter.setBar...(value);
 InsertOption option = new InsertOption();
 // you can insert by your values for common columns
 option.disableCommonColumnAutoSetup();
 urlFilterBhv.varyingInsert(urlFilter, option);
 ... = urlFilter.getPK...(); // if auto-increment, you can get the value after
 

パラメータ:
urlFilter - The entity of insert target. (NotNull)
option - The option of insert for varying requests. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

varyingUpdate

public void varyingUpdate(UrlFilter urlFilter,
                          org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
Update the entity with varying requests modified-only. {UpdateCountZeroException, ExclusiveControl}
For example, self(selfCalculationSpecification), specify(updateColumnSpecification), disableCommonColumnAutoSetup().
Other specifications are same as update(entity).
 UrlFilter urlFilter = new UrlFilter();
 urlFilter.setPK...(value); // required
 urlFilter.setOther...(value); // you should set only modified columns
 // if exclusive control, the value of exclusive control column is required
 urlFilter.setVersionNo(value);
 try {
     // you can update by self calculation values
     UpdateOption<UrlFilterCB> option = new UpdateOption<UrlFilterCB>();
     option.self(new SpecifyQuery<UrlFilterCB>() {
         public void specify(UrlFilterCB cb) {
             cb.specify().columnXxxCount();
         }
     }).plus(1); // XXX_COUNT = XXX_COUNT + 1
     urlFilterBhv.varyingUpdate(urlFilter, option);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 }
 

パラメータ:
urlFilter - The entity of update target. (NotNull) {PrimaryKeyRequired, ConcurrencyColumnRequired}
option - The option of update for varying requests. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

varyingInsertOrUpdate

public void varyingInsertOrUpdate(UrlFilter urlFilter,
                                  org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> insertOption,
                                  org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> updateOption)
Insert or update the entity with varying requests. {ExclusiveControl(when update)}
Other specifications are same as insertOrUpdate(entity).

パラメータ:
urlFilter - The entity of insert or update target. (NotNull)
insertOption - The option of insert for varying requests. (NotNull)
updateOption - The option of update for varying requests. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.
org.seasar.robot.dbflute.exception.EntityAlreadyExistsException - When the entity already exists. (Unique Constraint Violation)

varyingDelete

public void varyingDelete(UrlFilter urlFilter,
                          org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
Delete the entity with varying requests. {UpdateCountZeroException, ExclusiveControl}
Now a valid option does not exist.
Other specifications are same as delete(entity).

パラメータ:
urlFilter - The entity of delete target. (NotNull) {PrimaryKeyRequired, ConcurrencyColumnRequired}
option - The option of update for varying requests. (NotNull)
例外:
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException - When the entity has already been deleted.
org.seasar.robot.dbflute.exception.EntityDuplicatedException - When the entity has been duplicated.

varyingBatchInsert

public int[] varyingBatchInsert(List<UrlFilter> urlFilterList,
                                org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
Batch-insert the list with varying requests.
For example, disableCommonColumnAutoSetup() , disablePrimaryKeyIdentity(), limitBatchInsertLogging().
Other specifications are same as batchInsert(entityList).

パラメータ:
urlFilterList - The list of the entity. (NotNull)
option - The option of insert for varying requests. (NotNull)
戻り値:
The array of inserted count.

varyingBatchUpdate

public int[] varyingBatchUpdate(List<UrlFilter> urlFilterList,
                                org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
Batch-update the list with varying requests.
For example, self(selfCalculationSpecification), specify(updateColumnSpecification) , disableCommonColumnAutoSetup(), limitBatchUpdateLogging().
Other specifications are same as batchUpdate(entityList).

パラメータ:
urlFilterList - The list of the entity. (NotNull)
option - The option of update for varying requests. (NotNull)
戻り値:
The array of updated count.

varyingBatchDelete

public int[] varyingBatchDelete(List<UrlFilter> urlFilterList,
                                org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
Batch-delete the list with varying requests.
For example, limitBatchDeleteLogging().
Other specifications are same as batchDelete(entityList).

パラメータ:
urlFilterList - The list of the entity. (NotNull)
option - The option of delete for varying requests. (NotNull)
戻り値:
The array of deleted count.

varyingQueryInsert

public int varyingQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlFilter,UrlFilterCB> setupper,
                              org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> option)
Insert the several entities by query with varying requests (modified-only for fixed value).
For example, disableCommonColumnAutoSetup(), disablePrimaryKeyIdentity().
Other specifications are same as queryInsert(entity, setupper).

パラメータ:
setupper - The setup-per of query-insert. (NotNull)
option - The option of insert for varying requests. (NotNull)
戻り値:
The inserted count.

varyingQueryUpdate

public int varyingQueryUpdate(UrlFilter urlFilter,
                              UrlFilterCB cb,
                              org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> option)
Update the several entities by query with varying requests non-strictly modified-only. {NonExclusiveControl}
For example, self(selfCalculationSpecification), specify(updateColumnSpecification) , disableCommonColumnAutoSetup(), allowNonQueryUpdate().
Other specifications are same as queryUpdate(entity, cb).
 // ex) you can update by self calculation values
 UrlFilter urlFilter = new UrlFilter();
 // you don't need to set PK value
 //urlFilter.setPK...(value);
 urlFilter.setOther...(value); // you should set only modified columns
 // you don't need to set a value of exclusive control column
 // (auto-increment for version number is valid though non-exclusive control)
 //urlFilter.setVersionNo(value);
 UrlFilterCB cb = new UrlFilterCB();
 cb.query().setFoo...(value);
 UpdateOption<UrlFilterCB> option = new UpdateOption<UrlFilterCB>();
 option.self(new SpecifyQuery<UrlFilterCB>() {
     public void specify(UrlFilterCB cb) {
         cb.specify().columnFooCount();
     }
 }).plus(1); // FOO_COUNT = FOO_COUNT + 1
 urlFilterBhv.varyingQueryUpdate(urlFilter, cb, option);
 

パラメータ:
urlFilter - The entity that contains update values. (NotNull) {PrimaryKeyNotRequired}
cb - The condition-bean of UrlFilter. (NotNull)
option - The option of update for varying requests. (NotNull)
戻り値:
The updated count.
例外:
org.seasar.robot.dbflute.exception.NonQueryUpdateNotAllowedException - When the query has no condition (if not allowed).

varyingQueryDelete

public int varyingQueryDelete(UrlFilterCB cb,
                              org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> option)
Delete the several entities by query with varying requests non-strictly.
For example, allowNonQueryDelete().
Other specifications are same as batchUpdateNonstrict(entityList).

パラメータ:
cb - The condition-bean of UrlFilter. (NotNull)
option - The option of delete for varying requests. (NotNull)
戻り値:
The deleted count.
例外:
org.seasar.robot.dbflute.exception.NonQueryDeleteNotAllowedException - When the query has no condition (if not allowed).

delegateSelectCountUniquely

protected int delegateSelectCountUniquely(UrlFilterCB cb)

delegateSelectCountPlainly

protected int delegateSelectCountPlainly(UrlFilterCB cb)

delegateSelectCursor

protected <ENTITY extends UrlFilter> void delegateSelectCursor(UrlFilterCB cb,
                                                               org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> erh,
                                                               Class<ENTITY> et)

delegateSelectList

protected <ENTITY extends UrlFilter> List<ENTITY> delegateSelectList(UrlFilterCB cb,
                                                                     Class<ENTITY> et)

delegateInsert

protected int delegateInsert(UrlFilter e,
                             org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)

delegateUpdate

protected int delegateUpdate(UrlFilter e,
                             org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)

delegateUpdateNonstrict

protected int delegateUpdateNonstrict(UrlFilter e,
                                      org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)

delegateDelete

protected int delegateDelete(UrlFilter e,
                             org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)

delegateDeleteNonstrict

protected int delegateDeleteNonstrict(UrlFilter e,
                                      org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)

delegateBatchInsert

protected int[] delegateBatchInsert(List<UrlFilter> ls,
                                    org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)

delegateBatchUpdate

protected int[] delegateBatchUpdate(List<UrlFilter> ls,
                                    org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)

delegateBatchUpdateNonstrict

protected int[] delegateBatchUpdateNonstrict(List<UrlFilter> ls,
                                             org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)

delegateBatchDelete

protected int[] delegateBatchDelete(List<UrlFilter> ls,
                                    org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)

delegateBatchDeleteNonstrict

protected int[] delegateBatchDeleteNonstrict(List<UrlFilter> ls,
                                             org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)

delegateQueryInsert

protected int delegateQueryInsert(UrlFilter e,
                                  UrlFilterCB inCB,
                                  org.seasar.robot.dbflute.cbean.ConditionBean resCB,
                                  org.seasar.robot.dbflute.bhv.InsertOption<UrlFilterCB> op)

delegateQueryUpdate

protected int delegateQueryUpdate(UrlFilter e,
                                  UrlFilterCB cb,
                                  org.seasar.robot.dbflute.bhv.UpdateOption<UrlFilterCB> op)

delegateQueryDelete

protected int delegateQueryDelete(UrlFilterCB cb,
                                  org.seasar.robot.dbflute.bhv.DeleteOption<UrlFilterCB> op)

hasVersionNoValue

protected boolean hasVersionNoValue(org.seasar.robot.dbflute.Entity entity)

定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の hasVersionNoValue

hasUpdateDateValue

protected boolean hasUpdateDateValue(org.seasar.robot.dbflute.Entity entity)

定義:
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable 内の hasUpdateDateValue

downcast

protected UrlFilter downcast(org.seasar.robot.dbflute.Entity entity)

downcast

protected UrlFilterCB downcast(org.seasar.robot.dbflute.cbean.ConditionBean cb)


Copyright © 2012. All Rights Reserved.