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

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

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

The behavior of ACCESS_RESULT_DATA as TABLE.

 [primary-key]
     ID
 
 [column]
     ID, TRANSFORMER_NAME, DATA, ENCODING
 
 [sequence]
     
 
 [identity]
     
 
 [version-no]
     
 
 [foreign-table]
     ACCESS_RESULT
 
 [referrer-table]
     
 
 [foreign-property]
     accessResult
 
 [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
 
コンストラクタの概要
BsAccessResultDataBhv()
           
 
メソッドの概要
 int[] batchDelete(List<AccessResultData> accessResultDataList)
          Batch-delete the list.
 int[] batchInsert(List<AccessResultData> accessResultDataList)
          Batch-insert the list.
 int[] batchUpdate(List<AccessResultData> accessResultDataList)
          Batch-update the list.
 int[] batchUpdate(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.cbean.SpecifyQuery<AccessResultDataCB> updateColumnSpec)
          Batch-update the list.
protected  AccessResultDataCB createCBForQueryInsert()
           
protected  AccessResultDataCB createCBForSpecifiedUpdate()
           
protected  AccessResultDataCB createCBForVaryingUpdate()
           
protected  int[] delegateBatchDelete(List<AccessResultData> ls, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> op)
           
protected  int[] delegateBatchDeleteNonstrict(List<AccessResultData> ls, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> op)
           
protected  int[] delegateBatchInsert(List<AccessResultData> ls, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> op)
           
protected  int[] delegateBatchUpdate(List<AccessResultData> ls, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> op)
           
protected  int[] delegateBatchUpdateNonstrict(List<AccessResultData> ls, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> op)
           
protected  int delegateDelete(AccessResultData e, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> op)
           
protected  int delegateDeleteNonstrict(AccessResultData e, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> op)
           
protected  int delegateInsert(AccessResultData e, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> op)
           
protected  int delegateQueryDelete(AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> op)
           
protected  int delegateQueryInsert(AccessResultData e, AccessResultDataCB inCB, org.seasar.robot.dbflute.cbean.ConditionBean resCB, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> op)
           
protected  int delegateQueryUpdate(AccessResultData e, AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> op)
           
protected  int delegateSelectCountPlainly(AccessResultDataCB cb)
           
protected  int delegateSelectCountUniquely(AccessResultDataCB cb)
           
protected
<ENTITY extends AccessResultData>
void
delegateSelectCursor(AccessResultDataCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> erh, Class<ENTITY> et)
           
protected
<ENTITY extends AccessResultData>
List<ENTITY>
delegateSelectList(AccessResultDataCB cb, Class<ENTITY> et)
           
protected  int delegateUpdate(AccessResultData e, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> op)
           
protected  int delegateUpdateNonstrict(AccessResultData e, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> op)
           
 void delete(AccessResultData accessResultData)
          Delete the entity.
protected  int[] doBatchDelete(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
           
protected  int[] doBatchInsert(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
           
protected  int[] doBatchUpdate(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> 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(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
           
protected  void doInesrtOrUpdate(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> updateOption)
           
protected  void doInsert(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> 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(AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
           
protected  int doQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<AccessResultData,AccessResultDataCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
           
protected  int doQueryUpdate(AccessResultData accessResultData, AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> 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 AccessResultDataCB>
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB,RESULT>
doScalarSelect(Class<RESULT> resultType, CB cb)
           
protected
<ENTITY extends AccessResultData>
ENTITY
doSelectByPKValue(Long id, Class<ENTITY> entityType)
           
protected
<ENTITY extends AccessResultData>
ENTITY
doSelectByPKValueWithDeletedCheck(Long id, Class<ENTITY> entityType)
           
protected  int doSelectCountPlainly(AccessResultDataCB cb)
           
protected  int doSelectCountUniquely(AccessResultDataCB cb)
           
protected
<ENTITY extends AccessResultData>
void
doSelectCursor(AccessResultDataCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler, Class<ENTITY> entityType)
           
protected
<ENTITY extends AccessResultData>
ENTITY
doSelectEntity(AccessResultDataCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends AccessResultData>
ENTITY
doSelectEntityWithDeletedCheck(AccessResultDataCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends AccessResultData>
org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY>
doSelectList(AccessResultDataCB cb, Class<ENTITY> entityType)
           
protected
<ENTITY extends AccessResultData>
org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY>
doSelectPage(AccessResultDataCB cb, Class<ENTITY> entityType)
           
protected  void doUpdate(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> option)
           
protected  AccessResultDataCB downcast(org.seasar.robot.dbflute.cbean.ConditionBean cb)
           
protected  AccessResultData downcast(org.seasar.robot.dbflute.Entity entity)
           
 org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
           
 AccessResultDataDbm getMyDBMeta()
           
 String getTableDbName()
           
protected  boolean hasUpdateDateValue(org.seasar.robot.dbflute.Entity entity)
          
protected  boolean hasVersionNoValue(org.seasar.robot.dbflute.Entity entity)
          
 void insert(AccessResultData accessResultData)
          Insert the entity.
 void insertOrUpdate(AccessResultData accessResultData)
          Insert or update the entity modified-only.
 org.seasar.robot.dbflute.cbean.ConditionBean newConditionBean()
          
 org.seasar.robot.dbflute.Entity newEntity()
          
 AccessResultDataCB newMyConditionBean()
           
 AccessResultData newMyEntity()
           
protected  void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
           
protected  void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
           
protected  void prepareUpdateOption(org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> option)
           
 List<AccessResult> pulloutAccessResult(List<AccessResultData> accessResultDataList)
          Pull out the list of foreign table 'AccessResult'.
 int queryDelete(AccessResultDataCB cb)
          Delete the several entities by query.
 int queryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<AccessResultData,AccessResultDataCB> setupper)
          Insert the several entities by query (modified-only for fixed value).
 int queryUpdate(AccessResultData accessResultData, AccessResultDataCB cb)
          Update the several entities by query non-strictly modified-only.
<RESULT> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<AccessResultDataCB,RESULT>
scalarSelect(Class<RESULT> resultType)
          Select the scalar value derived by a function from uniquely-selected records.
 AccessResultData selectByPKValue(Long id)
          Select the entity by the primary-key value.
 AccessResultData selectByPKValueWithDeletedCheck(Long id)
          Select the entity by the primary-key value with deleted check.
 int selectCount(AccessResultDataCB cb)
          Select the count of uniquely-selected records by the condition-bean.
 void selectCursor(AccessResultDataCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<AccessResultData> entityRowHandler)
          Select the cursor by the condition-bean.
 AccessResultData selectEntity(AccessResultDataCB cb)
          Select the entity by the condition-bean.
 AccessResultData selectEntityWithDeletedCheck(AccessResultDataCB cb)
          Select the entity by the condition-bean with deleted check.
 org.seasar.robot.dbflute.cbean.ListResultBean<AccessResultData> selectList(AccessResultDataCB cb)
          Select the list as result bean.
 org.seasar.robot.dbflute.cbean.PagingResultBean<AccessResultData> selectPage(AccessResultDataCB cb)
          Select the page as result bean.
 void update(AccessResultData accessResultData)
          Update the entity modified-only.
 int[] varyingBatchDelete(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
          Batch-delete the list with varying requests.
 int[] varyingBatchInsert(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
          Batch-insert the list with varying requests.
 int[] varyingBatchUpdate(List<AccessResultData> accessResultDataList, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> option)
          Batch-update the list with varying requests.
 void varyingDelete(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
          Delete the entity with varying requests.
 void varyingInsert(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
          Insert the entity with varying requests.
 void varyingInsertOrUpdate(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> updateOption)
          Insert or update the entity with varying requests.
 int varyingQueryDelete(AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> option)
          Delete the several entities by query with varying requests non-strictly.
 int varyingQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<AccessResultData,AccessResultDataCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)
          Insert the several entities by query with varying requests (modified-only for fixed value).
 int varyingQueryUpdate(AccessResultData accessResultData, AccessResultDataCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> option)
          Update the several entities by query with varying requests non-strictly modified-only.
 void varyingUpdate(AccessResultData accessResultData, org.seasar.robot.dbflute.bhv.UpdateOption<AccessResultDataCB> 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_deleteAll

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

PATH_deleteBySessionId

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

BsAccessResultDataBhv

public BsAccessResultDataBhv()
メソッドの詳細

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

newMyConditionBean

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

selectCount

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

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

doSelectCountUniquely

protected int doSelectCountUniquely(AccessResultDataCB cb)

doSelectCountPlainly

protected int doSelectCountPlainly(AccessResultDataCB cb)

doReadCount

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

selectCursor

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

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

doSelectCursor

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

selectEntity

public AccessResultData selectEntity(AccessResultDataCB cb)
Select the entity by the condition-bean.
 AccessResultDataCB cb = new AccessResultDataCB();
 cb.query().setFoo...(value);
 AccessResultData accessResultData = accessResultDataBhv.selectEntity(cb);
 if (accessResultData != null) {
     ... = accessResultData.get...();
 } else {
     ...
 }
 

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

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

selectByPKValueWithDeletedCheck

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

selectList

public org.seasar.robot.dbflute.cbean.ListResultBean<AccessResultData> selectList(AccessResultDataCB cb)
Select the list as result bean.
 AccessResultDataCB cb = new AccessResultDataCB();
 cb.query().setFoo...(value);
 cb.query().addOrderBy_Bar...();
 ListResultBean<AccessResultData> accessResultDataList = accessResultDataBhv.selectList(cb);
 for (AccessResultData accessResultData : accessResultDataList) {
     ... = accessResultData.get...();
 }
 

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

パラメータ:
cb - The condition-bean of AccessResultData. (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 AccessResultData> org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY> doSelectPage(AccessResultDataCB 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<AccessResultDataCB,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:
 accessResultDataBhv.scalarSelect(Date.class).max(new ScalarQuery() {
     public void query(AccessResultDataCB 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 AccessResultDataCB> 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

pulloutAccessResult

public List<AccessResult> pulloutAccessResult(List<AccessResultData> accessResultDataList)
Pull out the list of foreign table 'AccessResult'.

パラメータ:
accessResultDataList - The list of accessResultData. (NotNull)
戻り値:
The list of foreign table. (NotNull)

insert

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

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

doInsert

protected void doInsert(AccessResultData accessResultData,
                        org.seasar.robot.dbflute.bhv.InsertOption<AccessResultDataCB> option)

prepareInsertOption

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

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

prepareUpdateOption

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

createCBForVaryingUpdate

protected AccessResultDataCB createCBForVaryingUpdate()

createCBForSpecifiedUpdate

protected AccessResultDataCB 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(AccessResultData accessResultData)
Insert or update the entity modified-only. {ExclusiveControl(when update)}

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

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

prepareDeleteOption

protected void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<AccessResultDataCB> 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<AccessResultData> accessResultDataList)
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)

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

doBatchInsert

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

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

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

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

createCBForQueryInsert

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

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

doQueryUpdate

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

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

doQueryDelete

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

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

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

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

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

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

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

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

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

delegateSelectCountPlainly

protected int delegateSelectCountPlainly(AccessResultDataCB cb)

delegateSelectCursor

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

delegateSelectList

protected <ENTITY extends AccessResultData> List<ENTITY> delegateSelectList(AccessResultDataCB cb,
                                                                            Class<ENTITY> et)

delegateInsert

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

delegateUpdate

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

delegateUpdateNonstrict

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

delegateDelete

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

delegateDeleteNonstrict

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

delegateBatchInsert

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

delegateBatchUpdate

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

delegateBatchUpdateNonstrict

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

delegateBatchDelete

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

delegateBatchDeleteNonstrict

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

delegateQueryInsert

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

delegateQueryUpdate

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

delegateQueryDelete

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

downcast

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


Copyright © 2012. All Rights Reserved.