Class BsRelatedQueryBhv
- java.lang.Object
-
- org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
-
- org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
-
- org.codelibs.fess.es.config.allcommon.EsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
- org.codelibs.fess.es.config.bsbhv.BsRelatedQueryBhv
-
- All Implemented Interfaces:
org.dbflute.bhv.BehaviorReadable,org.dbflute.bhv.BehaviorWritable
- Direct Known Subclasses:
RelatedQueryBhv
public abstract class BsRelatedQueryBhv extends EsAbstractBehavior<RelatedQuery,RelatedQueryCB>
- Author:
- ESFlute (using FreeGen)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
EsAbstractBehavior.BulkList<E,B>
-
Nested classes/interfaces inherited from class org.dbflute.bhv.AbstractBehaviorReadable
org.dbflute.bhv.AbstractBehaviorReadable.InternalLoadReferrerCallback<LOCAL_ENTITY extends org.dbflute.Entity,PK extends Object,REFERRER_CB extends org.dbflute.cbean.ConditionBean,REFERRER_ENTITY extends org.dbflute.Entity>
-
-
Field Summary
-
Fields inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
bulkTimeout, deleteTimeout, indexTimeout, refreshTimeout, scrollForCursor, scrollForDelete, scrollSearchTimeout, searchTimeout, sizeForCursor, sizeForDelete
-
-
Constructor Summary
Constructors Constructor Description BsRelatedQueryBhv()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelatedQueryDbmasDBMeta()protected StringasEsIndex()StringasEsIndexType()StringasEsSearchType()StringasTableDbName()int[]batchDelete(List<RelatedQuery> list)int[]batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)int[]batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)int[]batchInsert(List<RelatedQuery> list)int[]batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)int[]batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)int[]batchUpdate(List<RelatedQuery> list)int[]batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)int[]batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)protected <RESULT extends RelatedQuery>
RESULTcreateEntity(Map<String,Object> source, Class<? extends RESULT> entityType)voiddelete(RelatedQuery entity)voiddelete(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.delete.DeleteRequestBuilder> opLambda)protected org.dbflute.EntitydoReadEntity(org.dbflute.cbean.ConditionBean cb)protected <ENTITY extends RelatedQuery>
ENTITYdoSelectByPK(String id, Class<? extends ENTITY> tp)protected <ENTITY extends RelatedQuery>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalByPK(String id, Class<? extends ENTITY> tp)protected <ENTITY extends RelatedQuery>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalEntity(RelatedQueryCB cb, Class<? extends ENTITY> tp)protected org.dbflute.optional.OptionalEntity<RelatedQuery>facadeSelectByPK(String id)protected org.dbflute.optional.OptionalEntity<RelatedQuery>facadeSelectEntity(RelatedQueryCB cb)voidinsert(RelatedQuery entity)voidinsert(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)voidinsertOrUpdate(RelatedQuery entity)voidinsertOrUpdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)RelatedQueryCBnewConditionBean()intqueryDelete(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)voidselectBulk(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedQuery>> entityLambda)org.dbflute.optional.OptionalEntity<RelatedQuery>selectByPK(String id)intselectCount(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)voidselectCursor(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedQuery> entityLambda)org.dbflute.optional.OptionalEntity<RelatedQuery>selectEntity(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)RelatedQueryselectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)org.dbflute.cbean.result.ListResultBean<RelatedQuery>selectList(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)org.dbflute.cbean.result.PagingResultBean<RelatedQuery>selectPage(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)protected Class<RelatedQueryCB>typeOfHandlingConditionBean()protected Class<RelatedQuery>typeOfHandlingEntity()protected Class<? extends RelatedQuery>typeOfSelectedEntity()voidupdate(RelatedQuery entity)voidupdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)protected <RESULT extends RelatedQuery>
RESULTupdateEntity(Map<String,Object> source, RESULT result)protected RelatedQueryCBxprepareCBAsPK(String id)-
Methods inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
createDeleteRequest, createInsertRequest, createListResultBean, createPlainUpdateOption, createUpdateRequest, delegateBatchDelete, delegateBatchInsert, delegateBatchRequest, delegateBatchUpdate, delegateBulkRequest, delegateDelete, delegateInsert, delegateQueryDelete, delegateSelectBulk, delegateSelectCountUniquely, delegateSelectCursor, delegateSelectEntity, delegateSelectList, delegateUpdate, deleteScrollContext, doReadNextVal, getSearchHits, helpSelectCursorHandlingByPaging, isCompatibleBatchInsertDefaultEveryColumn, refresh, setBulkTimeout, setDeleteTimeout, setIndexTimeout, setRefreshTimeout, setScrollForCursor, setScrollForDelete, setScrollSearchTimeout, setSearchTimeout, setSizeForCursor, setSizeForDelete, toDate, toLocalDateTime, toSource, toStringArray
-
Methods inherited from class org.dbflute.bhv.AbstractBehaviorWritable
adjustEntityBeforeDelete, adjustEntityBeforeInsert, adjustEntityBeforeQueryDelete, adjustEntityBeforeQueryInsert, adjustEntityBeforeQueryUpdate, adjustEntityBeforeUpdate, adjustEntityListBeforeBatchDelete, adjustEntityListBeforeBatchInsert, adjustEntityListBeforeBatchUpdate, assertDeleteOpCallNotNull, assertDeleteOptionStatus, assertEntityHasOptimisticLockValue, assertEntityHasUpdateDateValue, assertEntityHasVersionNoValue, assertEntityOfDelete, assertEntityOfInsert, assertEntityOfUpdate, assertInsertOpCallNotNull, assertInsertOptionStatus, assertQueryDeleteStatus, assertQueryUpdateStatus, assertUpdateColumnSpecificationNotNull, assertUpdateOpCallNotNull, assertUpdateOptionStatus, checkCountBeforeQueryUpdateIfNeeds, create, createBatchDeleteCommand, createBatchDeleteNonstrictCommand, createBatchInsertCommand, createBatchUpdateCommand, createBatchUpdateNonstrictCommand, createCBForQueryInsert, createCBForSpecifiedUpdate, createCBForVaryingUpdate, createDeleteEntityCommand, createDeleteNonstrictEntityCommand, createDeleteOption, createInsertOption, createOptionalCause, createOptionalDeleteOption, createOptionalUpdateOption, createOrModify, createOrModifyNonstrict, createPlainInsertOption, createQueryDeleteCBCommand, createQueryInsertCBCommand, createQueryUpdateCBCommand, createSpecifiedUpdateOption, createUpdateEntityCommand, createUpdateNonstrictEntityCommand, createUpdateOption, delegateBatchDeleteNonstrict, delegateBatchUpdateNonstrict, delegateDeleteNonstrict, delegateQueryInsert, delegateQueryUpdate, delegateUpdateNonstrict, doBatchDelete, doBatchDeleteNonstrict, doBatchInsert, doBatchUpdate, doBatchUpdateNonstrict, doCreate, doCreateOrModify, doCreateOrModifyNonstrict, doDelete, doDeleteNonstrict, doInsert, doInsertOrUpdate, doInsertOrUpdateNonstrict, doLumpCreate, doLumpModify, doLumpModifyNonstrict, doLumpRemove, doLumpRemoveNonstrict, doModify, doModifyNonstrict, doQueryDelete, doQueryInsert, doQueryUpdate, doRangeCreate, doRangeModify, doRangeRemove, doRemove, doRemoveNonstrict, doUpdate, doUpdateNonstrict, downcast, downcast, downcast, downcast, emptyOpt, filterEntityOfDelete, filterEntityOfInsert, filterEntityOfUpdate, frameworkFilterEntityOfDelete, frameworkFilterEntityOfInsert, frameworkFilterEntityOfUpdate, getCommonColumnAutoSetupper, helpDeleteInternally, helpDeleteNonstrictIgnoreDeletedInternally, helpDeleteNonstrictInternally, helpDetermineInsertOrUpdateDirectInsert, helpInsertOrUpdateInternally, helpInsertOrUpdateNonstrictInternally, helpReloadPrimaryKeyIfUniqueByIfNeeds, helpUpdateInternally, helpUpdateNonstrictInternally, hookBeforeDelete, hookBeforeInsert, hookBeforeUpdate, hookFinallyDelete, hookFinallyInsert, hookFinallyUpdate, injectSequenceToPrimaryKeyIfNeeds, isBatchInsertColumnModifiedPropertiesFragmentedDisallowed, isBatchUpdateColumnModifiedPropertiesFragmentedAllowed, isCompatibleBatchUpdateDefaultEveryColumn, lumpCreate, lumpModify, lumpModifyNonstrict, lumpRemove, lumpRemoveNonstrict, modify, modifyNonstrict, newBatchDeleteCommand, newBatchDeleteNonstrictCommand, newBatchInsertCommand, newBatchUpdateCommand, newBatchUpdateNonstrictCommand, newDeleteEntityCommand, newDeleteNonstrictEntityCommand, newDeleteOption, newInsertOption, newUpdateEntityCommand, newUpdateNonstrictEntityCommand, newUpdateOption, prepareBatchInsertOption, prepareBatchUpdateOption, prepareDeleteOption, prepareEntityDelete, prepareEntityDeleteOption, prepareEntityUpdate, prepareEntityUpdateOption, prepareInsertOption, prepareUpdateOption, rangeCreate, rangeModify, rangeRemove, reflectUniqueDriven, remove, removeNonstrict, setCommonColumnAutoSetupper, setupCommonColumnOfInsertIfNeeds, setupCommonColumnOfUpdateIfNeeds, setupExclusiveControlColumnOfQueryInsert, setupListEntityCommand, throwUpdateDateValueNullException, throwUpdateEntityAlreadyDeletedException, throwUpdateEntityDuplicatedException, throwVersionNoValueNullException
-
Methods inherited from class org.dbflute.bhv.AbstractBehaviorReadable
assertBehaviorCommandInvoker, assertCBCallNotNull, assertCBNotDreamCruise, assertCBNotNull, assertCBStateValid, assertConditionBeanSelectResource, assertEntityListNotNull, assertEntityNotDeleted, assertEntityNotNull, assertEntityNotNullAndHasPrimaryKeyValue, assertListNotNullAndEmpty, assertListNotNullAndHasOnlyOne, assertListNotNullAndNotEmpty, assertObjectNotNull, assertSpecifyDerivedReferrerEntityProperty, assertStringNotNullAndNotTrimmedEmpty, createBhvExThrower, createCB, createCBExThrower, createExceptionMessageBuilder, createHpSLSExecutor, createInsertEntityCommand, createOptionalEntity, createOptionalInsertOption, createPagingHandler, createPagingInvoker, createSelectCountCBCommand, createSelectCursorCBCommand, createSelectEntityCBCommand, createSelectListCBCommand, createSelectNextValCommand, createSelectNextValSubCommand, createSelectScalarCBCommand, createSLSFunction, delegateInsertNoPK, delegateSelectCountPlainly, delegateSelectNextVal, delegateSelectNextValSub, doHelpLoadReferrerInternally, doHelpLoadReferrerInternally, doOutsideSql, doReadCount, doReadEntityWithDeletedCheck, doReadList, doReadPage, doReadScalar, doScalarSelect, doSelectCountPlainly, doSelectCountUniquely, doSelectCursor, doSelectEntity, doSelectEntityWithDeletedCheck, doSelectList, doSelectPage, downcast, downcast, downcast, facadeScalarSelect, facadeSelectCount, facadeSelectCursor, facadeSelectEntityWithDeletedCheck, facadeSelectList, facadeSelectPage, getBehaviorCommandInvoker, getBehaviorSelector, hasUpdateDateValue, hasVersionNoValue, helpConditionBeanDowncastInternally, helpEntityDowncastInternally, helpExtractListInternally, helpExtractSetInternally, helpLoadReferrerInternally, helpLoadReferrerInternally, helpPulloutInternally, helpSelectCursorCheckingByPagingAllowed, helpSelectCursorCheckingOrderByPK, helpSelectCursorInternally, helpSelectEntityInternally, helpSelectEntityWithDeletedCheckInternally, helpSelectListInternally, helpSelectPageInternally, invoke, isEntityDerivedMappable, isRelationOptional, ln, newEntity, newInsertEntityCommand, newSelectCountCBCommand, newSelectCursorCBCommand, newSelectEntityCBCommand, newSelectListCBCommand, newSelectNextValCommand, newSelectNextValSubCommand, newSelectScalarCBCommand, newSLSFunction, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, setBehaviorCommandInvoker, setBehaviorSelector, throwSelectEntityAlreadyDeletedException, throwSelectEntityConditionNotFoundException, throwSelectEntityDuplicatedException, throwSpecifyDerivedReferrerEntityPropertyNotFoundException, toLoadReferrerMappingKey, toLowerCaseIfString, toRelationOptional, warmUpCommand, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xbuildReferrerCorrelatedFixedCondition, xcheckSafetyResultAsOne, xconvertFK2PKImplicitly, xconvertToRelationOptionalEntityIfNeeds, xcreateLoadReferrerCallback, xcreateLoadReferrerCallback, xdoBuildReferrerCorrelatedFixedCondition, xdoHelpExtractSetInternally, xextractPulloutForeignEntity, xextractPulloutReverseWrittenObject, xfindReferrerBehavior, xgetBSFLR, xgetROpFactory, xnewLoadReferrerCompoundKeyMap, xnewLRAryLs, xnewLRLs, xpreparePulloutResultList, xrestoreSafetyResult, xsavePulloutForeignEntity, xsetupEntityCommand, xsetupSelectCommand
-
-
-
-
Method Detail
-
asTableDbName
public String asTableDbName()
-
asEsIndex
protected String asEsIndex()
- Specified by:
asEsIndexin classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asEsIndexType
public String asEsIndexType()
- Specified by:
asEsIndexTypein classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asEsSearchType
public String asEsSearchType()
- Specified by:
asEsSearchTypein classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asDBMeta
public RelatedQueryDbm asDBMeta()
-
createEntity
protected <RESULT extends RelatedQuery> RESULT createEntity(Map<String,Object> source, Class<? extends RESULT> entityType)
- Specified by:
createEntityin classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
updateEntity
protected <RESULT extends RelatedQuery> RESULT updateEntity(Map<String,Object> source, RESULT result)
-
selectCount
public int selectCount(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
selectEntity
public org.dbflute.optional.OptionalEntity<RelatedQuery> selectEntity(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
facadeSelectEntity
protected org.dbflute.optional.OptionalEntity<RelatedQuery> facadeSelectEntity(RelatedQueryCB cb)
-
doSelectOptionalEntity
protected <ENTITY extends RelatedQuery> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalEntity(RelatedQueryCB cb, Class<? extends ENTITY> tp)
-
newConditionBean
public RelatedQueryCB newConditionBean()
- Specified by:
newConditionBeanin interfaceorg.dbflute.bhv.BehaviorReadable- Specified by:
newConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
doReadEntity
protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb)
- Specified by:
doReadEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
selectEntityWithDeletedCheck
public RelatedQuery selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
selectByPK
public org.dbflute.optional.OptionalEntity<RelatedQuery> selectByPK(String id)
-
facadeSelectByPK
protected org.dbflute.optional.OptionalEntity<RelatedQuery> facadeSelectByPK(String id)
-
doSelectByPK
protected <ENTITY extends RelatedQuery> ENTITY doSelectByPK(String id, Class<? extends ENTITY> tp)
-
xprepareCBAsPK
protected RelatedQueryCB xprepareCBAsPK(String id)
-
doSelectOptionalByPK
protected <ENTITY extends RelatedQuery> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp)
-
typeOfSelectedEntity
protected Class<? extends RelatedQuery> typeOfSelectedEntity()
- Specified by:
typeOfSelectedEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
typeOfHandlingEntity
protected Class<RelatedQuery> typeOfHandlingEntity()
- Specified by:
typeOfHandlingEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
typeOfHandlingConditionBean
protected Class<RelatedQueryCB> typeOfHandlingConditionBean()
- Specified by:
typeOfHandlingConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
selectList
public org.dbflute.cbean.result.ListResultBean<RelatedQuery> selectList(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
selectPage
public org.dbflute.cbean.result.PagingResultBean<RelatedQuery> selectPage(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
selectCursor
public void selectCursor(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedQuery> entityLambda)
-
selectBulk
public void selectBulk(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedQuery>> entityLambda)
-
insert
public void insert(RelatedQuery entity)
-
insert
public void insert(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)
-
update
public void update(RelatedQuery entity)
-
update
public void update(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)
-
insertOrUpdate
public void insertOrUpdate(RelatedQuery entity)
-
insertOrUpdate
public void insertOrUpdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> opLambda)
-
delete
public void delete(RelatedQuery entity)
-
delete
public void delete(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.delete.DeleteRequestBuilder> opLambda)
-
queryDelete
public int queryDelete(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda)
-
batchInsert
public int[] batchInsert(List<RelatedQuery> list)
-
batchInsert
public int[] batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)
-
batchInsert
public int[] batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)
-
batchUpdate
public int[] batchUpdate(List<RelatedQuery> list)
-
batchUpdate
public int[] batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)
-
batchUpdate
public int[] batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)
-
batchDelete
public int[] batchDelete(List<RelatedQuery> list)
-
batchDelete
public int[] batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call)
-
batchDelete
public int[] batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.codelibs.fesen.action.index.IndexRequestBuilder> entityCall)
-
-