Package org.codelibs.fess.es.user.bsbhv
Class BsRoleBhv
- java.lang.Object
-
- org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
-
- org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
-
- org.codelibs.fess.es.user.allcommon.EsAbstractBehavior<Role,RoleCB>
-
- org.codelibs.fess.es.user.bsbhv.BsRoleBhv
-
- All Implemented Interfaces:
org.dbflute.bhv.BehaviorReadable,org.dbflute.bhv.BehaviorWritable
- Direct Known Subclasses:
RoleBhv
public abstract class BsRoleBhv extends EsAbstractBehavior<Role,RoleCB>
- Author:
- ESFlute (using FreeGen)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codelibs.fess.es.user.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 java.lang.Object,REFERRER_CB extends org.dbflute.cbean.ConditionBean,REFERRER_ENTITY extends org.dbflute.Entity>
-
-
Field Summary
-
Fields inherited from class org.codelibs.fess.es.user.allcommon.EsAbstractBehavior
bulkTimeout, deleteTimeout, indexTimeout, refreshTimeout, scrollForCursor, scrollForDelete, scrollSearchTimeout, searchTimeout, sizeForCursor, sizeForDelete
-
-
Constructor Summary
Constructors Constructor Description BsRoleBhv()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleDbmasDBMeta()protected java.lang.StringasEsIndex()java.lang.StringasEsIndexType()java.lang.StringasEsSearchType()java.lang.StringasTableDbName()int[]batchDelete(java.util.List<Role> list)int[]batchDelete(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchDelete(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)int[]batchInsert(java.util.List<Role> list)int[]batchInsert(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchInsert(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)int[]batchUpdate(java.util.List<Role> list)int[]batchUpdate(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchUpdate(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)protected <RESULT extends Role>
RESULTcreateEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType)voiddelete(Role entity)voiddelete(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.delete.DeleteRequestBuilder> opLambda)protected org.dbflute.EntitydoReadEntity(org.dbflute.cbean.ConditionBean cb)protected <ENTITY extends Role>
ENTITYdoSelectByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)protected <ENTITY extends Role>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)protected <ENTITY extends Role>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalEntity(RoleCB cb, java.lang.Class<? extends ENTITY> tp)protected org.dbflute.optional.OptionalEntity<Role>facadeSelectByPK(java.lang.String id)protected org.dbflute.optional.OptionalEntity<Role>facadeSelectEntity(RoleCB cb)voidinsert(Role entity)voidinsert(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)voidinsertOrUpdate(Role entity)voidinsertOrUpdate(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)RoleCBnewConditionBean()intqueryDelete(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)voidselectBulk(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<Role>> entityLambda)org.dbflute.optional.OptionalEntity<Role>selectByPK(java.lang.String id)intselectCount(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)voidselectCursor(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<Role> entityLambda)org.dbflute.optional.OptionalEntity<Role>selectEntity(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)RoleselectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)org.dbflute.cbean.result.ListResultBean<Role>selectList(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)org.dbflute.cbean.result.PagingResultBean<Role>selectPage(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)protected java.lang.Class<RoleCB>typeOfHandlingConditionBean()protected java.lang.Class<Role>typeOfHandlingEntity()protected java.lang.Class<? extends Role>typeOfSelectedEntity()voidupdate(Role entity)voidupdate(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)protected <RESULT extends Role>
RESULTupdateEntity(java.util.Map<java.lang.String,java.lang.Object> source, RESULT result)protected RoleCBxprepareCBAsPK(java.lang.String id)-
Methods inherited from class org.codelibs.fess.es.user.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 java.lang.String asTableDbName()
-
asEsIndex
protected java.lang.String asEsIndex()
- Specified by:
asEsIndexin classEsAbstractBehavior<Role,RoleCB>
-
asEsIndexType
public java.lang.String asEsIndexType()
- Specified by:
asEsIndexTypein classEsAbstractBehavior<Role,RoleCB>
-
asEsSearchType
public java.lang.String asEsSearchType()
- Specified by:
asEsSearchTypein classEsAbstractBehavior<Role,RoleCB>
-
asDBMeta
public RoleDbm asDBMeta()
-
createEntity
protected <RESULT extends Role> RESULT createEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType)
- Specified by:
createEntityin classEsAbstractBehavior<Role,RoleCB>
-
updateEntity
protected <RESULT extends Role> RESULT updateEntity(java.util.Map<java.lang.String,java.lang.Object> source, RESULT result)
-
selectCount
public int selectCount(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
selectEntity
public org.dbflute.optional.OptionalEntity<Role> selectEntity(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
facadeSelectEntity
protected org.dbflute.optional.OptionalEntity<Role> facadeSelectEntity(RoleCB cb)
-
doSelectOptionalEntity
protected <ENTITY extends Role> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalEntity(RoleCB cb, java.lang.Class<? extends ENTITY> tp)
-
newConditionBean
public RoleCB newConditionBean()
-
doReadEntity
protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb)
-
selectEntityWithDeletedCheck
public Role selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
selectByPK
public org.dbflute.optional.OptionalEntity<Role> selectByPK(java.lang.String id)
-
facadeSelectByPK
protected org.dbflute.optional.OptionalEntity<Role> facadeSelectByPK(java.lang.String id)
-
doSelectByPK
protected <ENTITY extends Role> ENTITY doSelectByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)
-
xprepareCBAsPK
protected RoleCB xprepareCBAsPK(java.lang.String id)
-
doSelectOptionalByPK
protected <ENTITY extends Role> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)
-
typeOfSelectedEntity
protected java.lang.Class<? extends Role> typeOfSelectedEntity()
-
typeOfHandlingEntity
protected java.lang.Class<Role> typeOfHandlingEntity()
-
typeOfHandlingConditionBean
protected java.lang.Class<RoleCB> typeOfHandlingConditionBean()
-
selectList
public org.dbflute.cbean.result.ListResultBean<Role> selectList(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
selectPage
public org.dbflute.cbean.result.PagingResultBean<Role> selectPage(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
selectCursor
public void selectCursor(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<Role> entityLambda)
-
selectBulk
public void selectBulk(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<Role>> entityLambda)
-
insert
public void insert(Role entity)
-
insert
public void insert(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
update
public void update(Role entity)
-
update
public void update(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
insertOrUpdate
public void insertOrUpdate(Role entity)
-
insertOrUpdate
public void insertOrUpdate(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
delete
public void delete(Role entity)
-
delete
public void delete(Role entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.delete.DeleteRequestBuilder> opLambda)
-
queryDelete
public int queryDelete(org.dbflute.bhv.readable.CBCall<RoleCB> cbLambda)
-
batchInsert
public int[] batchInsert(java.util.List<Role> list)
-
batchInsert
public int[] batchInsert(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchInsert
public int[] batchInsert(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
batchUpdate
public int[] batchUpdate(java.util.List<Role> list)
-
batchUpdate
public int[] batchUpdate(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchUpdate
public int[] batchUpdate(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
batchDelete
public int[] batchDelete(java.util.List<Role> list)
-
batchDelete
public int[] batchDelete(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchDelete
public int[] batchDelete(java.util.List<Role> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
-