|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
org.seasar.robot.db.bsbhv.BsUrlQueueBhv
public abstract class BsUrlQueueBhv
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]
入れ子のクラスの概要 |
---|
クラス 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
|
delegateSelectCursor(UrlQueueCB cb,
org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> erh,
Class<ENTITY> et)
|
|
protected
|
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
|
doScalarSelect(Class<RESULT> resultType,
CB cb)
|
|
protected
|
doSelectByPKValue(Long id,
Class<ENTITY> entityType)
|
|
protected
|
doSelectByPKValueWithDeletedCheck(Long id,
Class<ENTITY> entityType)
|
|
protected int |
doSelectCountPlainly(UrlQueueCB cb)
|
|
protected int |
doSelectCountUniquely(UrlQueueCB cb)
|
|
protected
|
doSelectCursor(UrlQueueCB cb,
org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler,
Class<ENTITY> entityType)
|
|
protected
|
doSelectEntity(UrlQueueCB cb,
Class<ENTITY> entityType)
|
|
protected
|
doSelectEntityWithDeletedCheck(UrlQueueCB cb,
Class<ENTITY> entityType)
|
|
protected
|
doSelectList(UrlQueueCB cb,
Class<ENTITY> entityType)
|
|
protected
|
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. |
|
|
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 |
フィールドの詳細 |
---|
public static final String PATH_deleteBySessionId
public static final String PATH_deleteAll
コンストラクタの詳細 |
---|
public BsUrlQueueBhv()
メソッドの詳細 |
---|
public String getTableDbName()
public org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
public UrlQueueDbm getMyDBMeta()
public org.seasar.robot.dbflute.Entity newEntity()
public org.seasar.robot.dbflute.cbean.ConditionBean newConditionBean()
public UrlQueue newMyEntity()
public UrlQueueCB newMyConditionBean()
public int selectCount(UrlQueueCB cb)
UrlQueueCB cb = new UrlQueueCB();
cb.query().setFoo...(value);
int count = urlQueueBhv.selectCount(cb);
cb
- The condition-bean of UrlQueue. (NotNull)
protected int doSelectCountUniquely(UrlQueueCB cb)
protected int doSelectCountPlainly(UrlQueueCB cb)
protected int doReadCount(org.seasar.robot.dbflute.cbean.ConditionBean cb)
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の doReadCount
public void selectCursor(UrlQueueCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<UrlQueue> entityRowHandler)
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)protected <ENTITY extends UrlQueue> void doSelectCursor(UrlQueueCB cb, org.seasar.robot.dbflute.cbean.EntityRowHandler<ENTITY> entityRowHandler, Class<ENTITY> entityType)
public UrlQueue selectEntity(UrlQueueCB cb)
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)
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.protected <ENTITY extends UrlQueue> ENTITY doSelectEntity(UrlQueueCB cb, Class<ENTITY> entityType)
protected org.seasar.robot.dbflute.Entity doReadEntity(org.seasar.robot.dbflute.cbean.ConditionBean cb)
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の doReadEntity
public UrlQueue selectEntityWithDeletedCheck(UrlQueueCB cb)
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)
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.protected <ENTITY extends UrlQueue> ENTITY doSelectEntityWithDeletedCheck(UrlQueueCB cb, Class<ENTITY> entityType)
protected org.seasar.robot.dbflute.Entity doReadEntityWithDeletedCheck(org.seasar.robot.dbflute.cbean.ConditionBean cb)
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の doReadEntityWithDeletedCheck
public UrlQueue selectByPKValue(Long id)
id
- The one of primary key. (NotNull)
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.protected <ENTITY extends UrlQueue> ENTITY doSelectByPKValue(Long id, Class<ENTITY> entityType)
public UrlQueue selectByPKValueWithDeletedCheck(Long id)
id
- The one of primary key. (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.protected <ENTITY extends UrlQueue> ENTITY doSelectByPKValueWithDeletedCheck(Long id, Class<ENTITY> entityType)
public org.seasar.robot.dbflute.cbean.ListResultBean<UrlQueue> selectList(UrlQueueCB cb)
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)
org.seasar.robot.dbflute.exception.DangerousResultSizeException
- When the result size is over the specified safety size.protected <ENTITY extends UrlQueue> org.seasar.robot.dbflute.cbean.ListResultBean<ENTITY> doSelectList(UrlQueueCB cb, Class<ENTITY> entityType)
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
public org.seasar.robot.dbflute.cbean.PagingResultBean<UrlQueue> selectPage(UrlQueueCB cb)
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)
org.seasar.robot.dbflute.exception.DangerousResultSizeException
- When the result size is over the specified safety size.protected <ENTITY extends UrlQueue> org.seasar.robot.dbflute.cbean.PagingResultBean<ENTITY> doSelectPage(UrlQueueCB cb, Class<ENTITY> entityType)
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
public <RESULT> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<UrlQueueCB,RESULT> scalarSelect(Class<RESULT> resultType)
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)
protected <RESULT,CB extends UrlQueueCB> org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable.SLFunction<CB,RESULT> doScalarSelect(Class<RESULT> resultType, CB cb)
protected Number doReadNextVal()
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の doReadNextVal
public void insert(UrlQueue urlQueue)
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)protected void doInsert(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
protected void prepareInsertOption(org.seasar.robot.dbflute.bhv.InsertOption<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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doCreate
public void update(UrlQueue urlQueue)
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)protected void doUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
protected void prepareUpdateOption(org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
protected UrlQueueCB createCBForVaryingUpdate()
protected UrlQueueCB createCBForSpecifiedUpdate()
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
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
public void insertOrUpdate(UrlQueue urlQueue)
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)protected void doInesrtOrUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> updateOption)
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
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
public void delete(UrlQueue urlQueue)
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.protected void doDelete(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
protected void prepareDeleteOption(org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
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
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
public int[] batchInsert(List<UrlQueue> urlQueueList)
urlQueueList
- The list of the entity. (NotNull)
protected int[] doBatchInsert(List<UrlQueue> urlQueueList, 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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doLumpCreate
public int[] batchUpdate(List<UrlQueue> urlQueueList)
urlQueueList
- The list of the entity. (NotNull)
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException
- When the entity has already been deleted.protected int[] doBatchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doLumpModify
public int[] batchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.cbean.SpecifyQuery<UrlQueueCB> updateColumnSpec)
urlQueueList
- The list of the entity. (NotNull)updateColumnSpec
- The specification of update columns. (NotNull)
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException
- When the entity has already been deleted.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
public int[] batchDelete(List<UrlQueue> urlQueueList)
urlQueueList
- The list of the entity. (NotNull)
org.seasar.robot.dbflute.exception.EntityAlreadyDeletedException
- When the entity has already been deleted.protected int[] doBatchDelete(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doLumpRemove
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
public int queryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper)
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)
protected int doQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
protected UrlQueueCB createCBForQueryInsert()
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
public int queryUpdate(UrlQueue urlQueue, UrlQueueCB cb)
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)
org.seasar.robot.dbflute.exception.NonQueryUpdateNotAllowedException
- When the query has no condition.protected int doQueryUpdate(UrlQueue urlQueue, UrlQueueCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> 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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doRangeModify
public int queryDelete(UrlQueueCB cb)
UrlQueueCB cb = new UrlQueueCB();
cb.query().setFoo...(value);
urlQueueBhv.queryDelete(urlQueue, cb);
cb
- The condition-bean of UrlQueue. (NotNull)
org.seasar.robot.dbflute.exception.NonQueryDeleteNotAllowedException
- When the query has no condition.protected int doQueryDelete(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> 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)
org.seasar.robot.dbflute.bhv.AbstractBehaviorWritable
内の doRangeRemove
public void varyingInsert(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
UrlQueue urlQueue = new UrlQueue(); // if auto-increment, you don't need to set the PK value urlQueue.setFoo...(value); urlQueue.setBar...(value); InsertOptionoption = 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)public void varyingUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
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)public void varyingInsertOrUpdate(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> insertOption, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> updateOption)
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)public void varyingDelete(UrlQueue urlQueue, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
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.public int[] varyingBatchInsert(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
urlQueueList
- The list of the entity. (NotNull)option
- The option of insert for varying requests. (NotNull)
public int[] varyingBatchUpdate(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
urlQueueList
- The list of the entity. (NotNull)option
- The option of update for varying requests. (NotNull)
public int[] varyingBatchDelete(List<UrlQueue> urlQueueList, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
urlQueueList
- The list of the entity. (NotNull)option
- The option of delete for varying requests. (NotNull)
public int varyingQueryInsert(org.seasar.robot.dbflute.bhv.QueryInsertSetupper<UrlQueue,UrlQueueCB> setupper, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> option)
setupper
- The setup-per of query-insert. (NotNull)option
- The option of insert for varying requests. (NotNull)
public int varyingQueryUpdate(UrlQueue urlQueue, UrlQueueCB cb, org.seasar.robot.dbflute.bhv.UpdateOption<UrlQueueCB> option)
// 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)
org.seasar.robot.dbflute.exception.NonQueryUpdateNotAllowedException
- When the query has no condition (if not allowed).public int varyingQueryDelete(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> option)
cb
- The condition-bean of UrlQueue. (NotNull)option
- The option of delete for varying requests. (NotNull)
org.seasar.robot.dbflute.exception.NonQueryDeleteNotAllowedException
- When the query has no condition (if not allowed).protected int delegateSelectCountUniquely(UrlQueueCB cb)
protected int delegateSelectCountPlainly(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 delegateInsert(UrlQueue e, org.seasar.robot.dbflute.bhv.InsertOption<UrlQueueCB> op)
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)
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[] 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[] 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 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 delegateQueryDelete(UrlQueueCB cb, org.seasar.robot.dbflute.bhv.DeleteOption<UrlQueueCB> op)
protected boolean hasVersionNoValue(org.seasar.robot.dbflute.Entity entity)
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の hasVersionNoValue
protected boolean hasUpdateDateValue(org.seasar.robot.dbflute.Entity entity)
org.seasar.robot.dbflute.bhv.AbstractBehaviorReadable
内の hasUpdateDateValue
protected UrlQueue downcast(org.seasar.robot.dbflute.Entity entity)
protected UrlQueueCB downcast(org.seasar.robot.dbflute.cbean.ConditionBean cb)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |