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

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

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

The behavior of URL_QUEUE as TABLE.

 [primary-key]
     ID
 
 [column]
     ID, SESSION_ID, METHOD, URL, PARENT_URL, DEPTH, LAST_MODIFIED, 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>
 
フィールドの概要
static String PATH_deleteAll
           
static String PATH_deleteBySessionId
           
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable から継承されたフィールド
_commonColumnAutoSetupper
 
クラス org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable から継承されたフィールド
_behaviorCommandInvoker, _behaviorSelector
 
コンストラクタの概要
BsUrlQueueBhv()
           
 
メソッドの概要
 int[] batchDelete(List<UrlQueue> urlQueueList)
          Batch-delete the list.
 int[] batchInsert(List<UrlQueue> urlQueueList)
          Batch-insert the list.
 int[] batchUpdate(List<UrlQueue> urlQueueList)
          Batch-update the list.
 int[] batchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.cbean.SpecifyQuery<UrlQueueCB> updateColumnSpec)
          Batch-update the list.
protected  UrlQueueCB createCBForQueryInsert()
           
protected  UrlQueueCB createCBForSpecifiedUpdate()
           
protected  UrlQueueCB createCBForVaryingUpdate()
           
protected  int[] delegateBatchDelete(List<UrlQueue> ls, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
           
protected  int[] delegateBatchDeleteNonstrict(List<UrlQueue> ls, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
           
protected  int[] delegateBatchInsert(List<UrlQueue> ls, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> op)
           
protected  int[] delegateBatchUpdate(List<UrlQueue> ls, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> op)
           
protected  int[] delegateBatchUpdateNonstrict(List<UrlQueue> ls, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> op)
           
protected  int delegateDelete(UrlQueue e, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
           
protected  int delegateDeleteNonstrict(UrlQueue e, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
           
protected  int delegateInsert(UrlQueue e, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> op)
           
protected  int delegateQueryDelete(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
           
protected  int delegateQueryInsert(UrlQueue e, UrlQueueCB inCB, org.seasar.robot.dbflute.cbean.ConditionBean resCB, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> op)
           
protected  int delegateQueryUpdate(UrlQueue e, UrlQueueCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> op)
           
protected  int delegateSelectCountPlainly(UrlQueueCB cb)
           
protected  int delegateSelectCountUniquely(UrlQueueCB cb)
           
protected
<ENTITY extends UrlQueue>
void
delegateSelectCursor(UrlQueueCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> erh, Class<ENTITY> et)
           
protected
<ENTITY extends UrlQueue>
List<ENTITY>
delegateSelectList(UrlQueueCB cb, Class<ENTITY> et)
           
protected  int delegateUpdate(UrlQueue e, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> op)
           
protected  int delegateUpdateNonstrict(UrlQueue e, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> op)
           
 void delete(UrlQueue urlQueue)
          Delete the entity.
protected  int[] doBatchDelete(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
           
protected  int[] doBatchInsert(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
           
protected  int[] doBatchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
           
protected  void doInesrtOrUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> updateOption)
           
protected  void doInsert(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> 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(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
           
protected  int doQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
           
protected  int doQueryUpdate(UrlQueue urlQueue, UrlQueueCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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 UrlQueueCB>
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB,RESULT>
doScalarSelect(Class<RESULT> resultType, CB cb)
           
protected
<ENTITY extends UrlQueue>
ENTITY
doSelectByPKValue(Long id, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlQueue>
ENTITY
doSelectByPKValueWithDeletedCheck(Long id, Class<ENTITY> entityType)
           
protected  int doSelectCountPlainly(UrlQueueCB cb)
           
protected  int doSelectCountUniquely(UrlQueueCB cb)
           
protected
<ENTITY extends UrlQueue>
void
doSelectCursor(UrlQueueCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlQueue>
ENTITY
doSelectEntity(UrlQueueCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlQueue>
ENTITY
doSelectEntityWithDeletedCheck(UrlQueueCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlQueue>
org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY>
doSelectList(UrlQueueCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends UrlQueue>
org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY>
doSelectPage(UrlQueueCB cb, Class<ENTITY> entityType)
           
protected  void doUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
           
protected  UrlQueueCB downcast(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  UrlQueue downcast(org.seasar.robot.dbflute.Entity entity)
           
 org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
           
 UrlQueueDbm getMyDBMeta()
           
 String getTableDbName()
           
protected  boolean hasUpdateDateValue(org.seasar.robot.dbflute.Entity entity)
          
protected  boolean hasVersionNoValue(org.seasar.robot.dbflute.Entity entity)
          
 void insert(UrlQueue urlQueue)
          Insert the entity.
 void insertOrUpdate(UrlQueue urlQueue)
          Insert or update the entity modified-only.
 org.seasar.robot.dbflute.cbean.ConditionBean newConditionBean()
          
 org.seasar.robot.dbflute.Entity newEntity()
          
 UrlQueueCB newMyConditionBean()
           
 UrlQueue newMyEntity()
           
protected  void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
           
protected  void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
           
protected  void prepareUpdateOption(org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
           
 int queryDelete(UrlQueueCB cb)
          Delete the several entities by query.
 int queryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper)
          Insert the several entities by query (modified-only for fixed value).
 int queryUpdate(UrlQueue urlQueue, UrlQueueCB cb)
          Update the several entities by query non-strictly modified-only.
<RESULT> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<UrlQueueCB,RESULT>
scalarSelect(Class<RESULT> resultType)
          Select the scalar value derived by a function from uniquely-selected records.
 UrlQueue selectByPKValue(Long id)
          Select the entity by the primary-key value.
 UrlQueue selectByPKValueWithDeletedCheck(Long id)
          Select the entity by the primary-key value with deleted check.
 int selectCount(UrlQueueCB cb)
          Select the count of uniquely-selected records by the condition-bean.
 void selectCursor(UrlQueueCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<UrlQueue> entityRowHandler)
          Select the cursor by the condition-bean.
 UrlQueue selectEntity(UrlQueueCB cb)
          Select the entity by the condition-bean.
 UrlQueue selectEntityWithDeletedCheck(UrlQueueCB cb)
          Select the entity by the condition-bean with deleted check.
 org.seasar.robot.dbflute.cbean.ListResultBean<UrlQueue> selectList(UrlQueueCB cb)
          Select the list as result bean.
 org.seasar.robot.dbflute.cbean.PagingResultBean<UrlQueue> selectPage(UrlQueueCB cb)
          Select the page as result bean.
 void update(UrlQueue urlQueue)
          Update the entity modified-only.
 int[] varyingBatchDelete(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
          Batch-delete the list with varying requests.
 int[] varyingBatchInsert(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
          Batch-insert the list with varying requests.
 int[] varyingBatchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
          Batch-update the list with varying requests.
 void varyingDelete(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
          Delete the entity with varying requests.
 void varyingInsert(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
          Insert the entity with varying requests.
 void varyingInsertOrUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> updateOption)
          Insert or update the entity with varying requests.
 int varyingQueryDelete(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
          Delete the several entities by query with varying requests non-strictly.
 int varyingQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
          Insert the several entities by query with varying requests (modified-only for fixed value).
 int varyingQueryUpdate(UrlQueue urlQueue, UrlQueueCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
          Update the several entities by query with varying requests non-strictly modified-only.
 void varyingUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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
 

フィールドの詳細

PATH_deleteBySessionId

public static final String PATH_deleteBySessionId
関連項目:
定数フィールド値

PATH_deleteAll

public static final String PATH_deleteAll
関連項目:
定数フィールド値
コンストラクタの詳細

BsUrlQueueBhv

public BsUrlQueueBhv()
メソッドの詳細

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 UrlQueueDbm 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 UrlQueue newMyEntity()
戻り値:
The instance of new entity as my table type. (NotNull)

newMyConditionBean

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

selectCount

public int selectCount(UrlQueueCB 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.
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 int count = urlQueueBhv.selectCount(cb);
 

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

doSelectCountUniquely

protected int doSelectCountUniquely(UrlQueueCB cb)

doSelectCountPlainly

protected int doSelectCountPlainly(UrlQueueCB cb)

doReadCount

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

selectCursor

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

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

doSelectCursor

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

selectEntity

public UrlQueue selectEntity(UrlQueueCB cb)
Select the entity by the condition-bean.
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 UrlQueue urlQueue = urlQueueBhv.selectEntity(cb);
 if (urlQueue != null) {
     ... = urlQueue.get...();
 } else {
     ...
 }
 

パラメータ:
cb - The condition-bean of UrlQueue. (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 UrlQueue> ENTITY doSelectEntity(UrlQueueCB 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 UrlQueue selectEntityWithDeletedCheck(UrlQueueCB cb)
Select the entity by the condition-bean with deleted check.
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 UrlQueue urlQueue = urlQueueBhv.selectEntityWithDeletedCheck(cb);
 ... = urlQueue.get...(); // the entity always be not null
 

パラメータ:
cb - The condition-bean of UrlQueue. (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 UrlQueue> ENTITY doSelectEntityWithDeletedCheck(UrlQueueCB 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 UrlQueue 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 UrlQueue> ENTITY doSelectByPKValue(Long id,
                                                             Class<ENTITY> entityType)

selectByPKValueWithDeletedCheck

public UrlQueue 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 UrlQueue> ENTITY doSelectByPKValueWithDeletedCheck(Long id,
                                                                             Class<ENTITY> entityType)

selectList

public org.seasar.robot.dbflute.cbean.ListResultBean<UrlQueue> selectList(UrlQueueCB cb)
Select the list as result bean.
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 cb.query().addOrderBy_Bar...();
 ListResultBean<UrlQueue> urlQueueList = urlQueueBhv.selectList(cb);
 for (UrlQueue urlQueue : urlQueueList) {
     ... = urlQueue.get...();
 }
 

パラメータ:
cb - The condition-bean of UrlQueue. (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 UrlQueue> org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY> doSelectList(UrlQueueCB 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<UrlQueue> selectPage(UrlQueueCB cb)
Select the page as result bean.
(both count-select and paging-select are executed)
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 cb.query().addOrderBy_Bar...();
 cb.paging(20, 3); // 20 records per a page and current page number is 3
 PagingResultBean<UrlQueue> page = urlQueueBhv.selectPage(cb);
 int allRecordCount = page.getAllRecordCount();
 int allPageCount = page.getAllPageCount();
 boolean isExistPrePage = page.isExistPrePage();
 boolean isExistNextPage = page.isExistNextPage();
 ...
 for (UrlQueue urlQueue : page) {
     ... = urlQueue.get...();
 }
 

パラメータ:
cb - The condition-bean of UrlQueue. (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 UrlQueue> org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY> doSelectPage(UrlQueueCB 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<UrlQueueCB,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:
 urlQueueBhv.scalarSelect(Date.class).max(new ScalarQuery() {
     public void query(UrlQueueCB 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 UrlQueueCB> 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(UrlQueue urlQueue)
Insert the entity.
 UrlQueue urlQueue = new UrlQueue();
 // if auto-increment, you don't need to set the PK value
 urlQueue.setFoo...(value);
 urlQueue.setBar...(value);
 // you don't need to set values of common columns
 //urlQueue.setRegisterUser(value);
 //urlQueue.set...;
 urlQueueBhv.insert(urlQueue);
 ... = urlQueue.getPK...(); // if auto-increment, you can get the value after
 

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

doInsert

protected void doInsert(UrlQueue urlQueue,
                        org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)

prepareInsertOption

protected void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> 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(UrlQueue urlQueue)
Update the entity modified-only. {UpdateCountZeroException, ExclusiveControl}
 UrlQueue urlQueue = new UrlQueue();
 urlQueue.setPK...(value); // required
 urlQueue.setFoo...(value); // you should set only modified columns
 // you don't need to set values of common columns
 //urlQueue.setRegisterUser(value);
 //urlQueue.set...;
 // if exclusive control, the value of exclusive control column is required
 urlQueue.setVersionNo(value);
 try {
     urlQueueBhv.update(urlQueue);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 } 
 

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                        org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)

prepareUpdateOption

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

createCBForVaryingUpdate

protected UrlQueueCB createCBForVaryingUpdate()

createCBForSpecifiedUpdate

protected UrlQueueCB 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(UrlQueue urlQueue)
Insert or update the entity modified-only. {ExclusiveControl(when update)}

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                                org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption,
                                org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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(UrlQueue urlQueue)
Delete the entity. {UpdateCountZeroException, ExclusiveControl}
 UrlQueue urlQueue = new UrlQueue();
 urlQueue.setPK...(value); // required
 // if exclusive control, the value of exclusive control column is required
 urlQueue.setVersionNo(value);
 try {
     urlQueueBhv.delete(urlQueue);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 } 
 

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                        org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)

prepareDeleteOption

protected void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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<UrlQueue> urlQueueList)
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)

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

doBatchInsert

protected int[] doBatchInsert(List<UrlQueue> urlQueueList,
                              org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> 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<UrlQueue> urlQueueList)
Batch-update the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.
All columns are update target. {NOT modified only}

パラメータ:
urlQueueList - 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<UrlQueue> urlQueueList,
                              org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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<UrlQueue> urlQueueList,
                         org.seasar.robot.dbflute.cbean.SpecifyQuery<UrlQueueCB> 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.

パラメータ:
urlQueueList - 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<UrlQueue> urlQueueList)
Batch-delete the list.
This method uses 'Batch Update' of java.sql.PreparedStatement.

パラメータ:
urlQueueList - 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<UrlQueue> urlQueueList,
                              org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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<UrlQueue,UrlQueueCB> setupper)
Insert the several entities by query (modified-only for fixed value).
 urlQueueBhv.queryInsert(new QueryInsertSetupper<urlQueue, UrlQueueCB>() {
     public ConditionBean setup(urlQueue entity, UrlQueueCB 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<UrlQueue,UrlQueueCB> setupper,
                            org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)

createCBForQueryInsert

protected UrlQueueCB 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(UrlQueue urlQueue,
                       UrlQueueCB cb)
Update the several entities by query non-strictly modified-only. {NonExclusiveControl}
 UrlQueue urlQueue = new UrlQueue();
 // you don't need to set PK value
 //urlQueue.setPK...(value);
 urlQueue.setFoo...(value); // you should set only modified columns
 // you don't need to set values of common columns
 //urlQueue.setRegisterUser(value);
 //urlQueue.set...;
 // you don't need to set a value of exclusive control column
 // (auto-increment for version number is valid though non-exclusive control)
 //urlQueue.setVersionNo(value);
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 urlQueueBhv.queryUpdate(urlQueue, cb);
 

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

doQueryUpdate

protected int doQueryUpdate(UrlQueue urlQueue,
                            UrlQueueCB cb,
                            org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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(UrlQueueCB cb)
Delete the several entities by query. {NonExclusiveControl}
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 urlQueueBhv.queryDelete(urlQueue, cb);
 

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

doQueryDelete

protected int doQueryDelete(UrlQueueCB cb,
                            org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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(UrlQueue urlQueue,
                          org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
Insert the entity with varying requests.
For example, disableCommonColumnAutoSetup(), disablePrimaryKeyIdentity().
Other specifications are same as insert(entity).
 UrlQueue urlQueue = new UrlQueue();
 // if auto-increment, you don't need to set the PK value
 urlQueue.setFoo...(value);
 urlQueue.setBar...(value);
 InsertOption option = new InsertOption();
 // you can insert by your values for common columns
 option.disableCommonColumnAutoSetup();
 urlQueueBhv.varyingInsert(urlQueue, option);
 ... = urlQueue.getPK...(); // if auto-increment, you can get the value after
 

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                          org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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).
 UrlQueue urlQueue = new UrlQueue();
 urlQueue.setPK...(value); // required
 urlQueue.setOther...(value); // you should set only modified columns
 // if exclusive control, the value of exclusive control column is required
 urlQueue.setVersionNo(value);
 try {
     // you can update by self calculation values
     UpdateOption<UrlQueueCB> option = new UpdateOption<UrlQueueCB>();
     option.self(new SpecifyQuery<UrlQueueCB>() {
         public void specify(UrlQueueCB cb) {
             cb.specify().columnXxxCount();
         }
     }).plus(1); // XXX_COUNT = XXX_COUNT + 1
     urlQueueBhv.varyingUpdate(urlQueue, option);
 } catch (EntityAlreadyUpdatedException e) { // if concurrent update
     ...
 }
 

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                                  org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption,
                                  org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> updateOption)
Insert or update the entity with varying requests. {ExclusiveControl(when update)}
Other specifications are same as insertOrUpdate(entity).

パラメータ:
urlQueue - 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(UrlQueue urlQueue,
                          org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
Delete the entity with varying requests. {UpdateCountZeroException, ExclusiveControl}
Now a valid option does not exist.
Other specifications are same as delete(entity).

パラメータ:
urlQueue - 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<UrlQueue> urlQueueList,
                                org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
Batch-insert the list with varying requests.
For example, disableCommonColumnAutoSetup() , disablePrimaryKeyIdentity(), limitBatchInsertLogging().
Other specifications are same as batchInsert(entityList).

パラメータ:
urlQueueList - 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<UrlQueue> urlQueueList,
                                org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
Batch-update the list with varying requests.
For example, self(selfCalculationSpecification), specify(updateColumnSpecification) , disableCommonColumnAutoSetup(), limitBatchUpdateLogging().
Other specifications are same as batchUpdate(entityList).

パラメータ:
urlQueueList - 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<UrlQueue> urlQueueList,
                                org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
Batch-delete the list with varying requests.
For example, limitBatchDeleteLogging().
Other specifications are same as batchDelete(entityList).

パラメータ:
urlQueueList - 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<UrlQueue,UrlQueueCB> setupper,
                              org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> 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(UrlQueue urlQueue,
                              UrlQueueCB cb,
                              org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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
 UrlQueue urlQueue = new UrlQueue();
 // you don't need to set PK value
 //urlQueue.setPK...(value);
 urlQueue.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)
 //urlQueue.setVersionNo(value);
 UrlQueueCB cb = new UrlQueueCB();
 cb.query().setFoo...(value);
 UpdateOption<UrlQueueCB> option = new UpdateOption<UrlQueueCB>();
 option.self(new SpecifyQuery<UrlQueueCB>() {
     public void specify(UrlQueueCB cb) {
         cb.specify().columnFooCount();
     }
 }).plus(1); // FOO_COUNT = FOO_COUNT + 1
 urlQueueBhv.varyingQueryUpdate(urlQueue, cb, option);
 

パラメータ:
urlQueue - The entity that contains update values. (NotNull) {PrimaryKeyNotRequired}
cb - The condition-bean of UrlQueue. (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(UrlQueueCB cb,
                              org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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 UrlQueue. (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(UrlQueueCB cb)

delegateSelectCountPlainly

protected int delegateSelectCountPlainly(UrlQueueCB cb)

delegateSelectCursor

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

delegateSelectList

protected <ENTITY extends UrlQueue> List<ENTITY> delegateSelectList(UrlQueueCB cb,
                                                                    Class<ENTITY> et)

delegateInsert

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

delegateUpdate

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

delegateUpdateNonstrict

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

delegateDelete

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

delegateDeleteNonstrict

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

delegateBatchInsert

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

delegateBatchUpdate

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

delegateBatchUpdateNonstrict

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

delegateBatchDelete

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

delegateBatchDeleteNonstrict

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

delegateQueryInsert

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

delegateQueryUpdate

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

delegateQueryDelete

protected int delegateQueryDelete(UrlQueueCB cb,
                                  org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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 UrlQueue downcast(org.seasar.robot.dbflute.Entity entity)

downcast

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


Copyright © 2013. All Rights Reserved.