Package org.codelibs.fess.es.user.bsbhv
Class BsUserBhv
- java.lang.Object
-
- org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
-
- org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
-
- org.codelibs.fess.es.user.allcommon.EsAbstractBehavior<User,UserCB>
-
- org.codelibs.fess.es.user.bsbhv.BsUserBhv
-
- All Implemented Interfaces:
org.dbflute.bhv.BehaviorReadable,org.dbflute.bhv.BehaviorWritable
- Direct Known Subclasses:
UserBhv
public abstract class BsUserBhv extends EsAbstractBehavior<User,UserCB>
- 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 BsUserBhv()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDbmasDBMeta()protected java.lang.StringasEsIndex()java.lang.StringasEsIndexType()java.lang.StringasEsSearchType()java.lang.StringasTableDbName()int[]batchDelete(java.util.List<User> list)int[]batchDelete(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchDelete(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)int[]batchInsert(java.util.List<User> list)int[]batchInsert(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchInsert(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)int[]batchUpdate(java.util.List<User> list)int[]batchUpdate(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)int[]batchUpdate(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)protected <RESULT extends User>
RESULTcreateEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType)voiddelete(User entity)voiddelete(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.delete.DeleteRequestBuilder> opLambda)protected org.dbflute.EntitydoReadEntity(org.dbflute.cbean.ConditionBean cb)protected <ENTITY extends User>
ENTITYdoSelectByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)protected <ENTITY extends User>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)protected <ENTITY extends User>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalEntity(UserCB cb, java.lang.Class<? extends ENTITY> tp)protected org.dbflute.optional.OptionalEntity<User>facadeSelectByPK(java.lang.String id)protected org.dbflute.optional.OptionalEntity<User>facadeSelectEntity(UserCB cb)voidinsert(User entity)voidinsert(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)voidinsertOrUpdate(User entity)voidinsertOrUpdate(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)UserCBnewConditionBean()intqueryDelete(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)voidselectBulk(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<User>> entityLambda)org.dbflute.optional.OptionalEntity<User>selectByPK(java.lang.String id)intselectCount(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)voidselectCursor(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<User> entityLambda)org.dbflute.optional.OptionalEntity<User>selectEntity(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)UserselectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)org.dbflute.cbean.result.ListResultBean<User>selectList(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)org.dbflute.cbean.result.PagingResultBean<User>selectPage(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)protected java.lang.Class<UserCB>typeOfHandlingConditionBean()protected java.lang.Class<User>typeOfHandlingEntity()protected java.lang.Class<? extends User>typeOfSelectedEntity()voidupdate(User entity)voidupdate(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)protected <RESULT extends User>
RESULTupdateEntity(java.util.Map<java.lang.String,java.lang.Object> source, RESULT result)protected UserCBxprepareCBAsPK(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<User,UserCB>
-
asEsIndexType
public java.lang.String asEsIndexType()
- Specified by:
asEsIndexTypein classEsAbstractBehavior<User,UserCB>
-
asEsSearchType
public java.lang.String asEsSearchType()
- Specified by:
asEsSearchTypein classEsAbstractBehavior<User,UserCB>
-
asDBMeta
public UserDbm asDBMeta()
-
createEntity
protected <RESULT extends User> RESULT createEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType)
- Specified by:
createEntityin classEsAbstractBehavior<User,UserCB>
-
updateEntity
protected <RESULT extends User> RESULT updateEntity(java.util.Map<java.lang.String,java.lang.Object> source, RESULT result)
-
selectCount
public int selectCount(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
selectEntity
public org.dbflute.optional.OptionalEntity<User> selectEntity(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
facadeSelectEntity
protected org.dbflute.optional.OptionalEntity<User> facadeSelectEntity(UserCB cb)
-
doSelectOptionalEntity
protected <ENTITY extends User> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalEntity(UserCB cb, java.lang.Class<? extends ENTITY> tp)
-
newConditionBean
public UserCB newConditionBean()
-
doReadEntity
protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb)
-
selectEntityWithDeletedCheck
public User selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
selectByPK
public org.dbflute.optional.OptionalEntity<User> selectByPK(java.lang.String id)
-
facadeSelectByPK
protected org.dbflute.optional.OptionalEntity<User> facadeSelectByPK(java.lang.String id)
-
doSelectByPK
protected <ENTITY extends User> ENTITY doSelectByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)
-
xprepareCBAsPK
protected UserCB xprepareCBAsPK(java.lang.String id)
-
doSelectOptionalByPK
protected <ENTITY extends User> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(java.lang.String id, java.lang.Class<? extends ENTITY> tp)
-
typeOfSelectedEntity
protected java.lang.Class<? extends User> typeOfSelectedEntity()
-
typeOfHandlingEntity
protected java.lang.Class<User> typeOfHandlingEntity()
-
typeOfHandlingConditionBean
protected java.lang.Class<UserCB> typeOfHandlingConditionBean()
-
selectList
public org.dbflute.cbean.result.ListResultBean<User> selectList(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
selectPage
public org.dbflute.cbean.result.PagingResultBean<User> selectPage(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
selectCursor
public void selectCursor(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<User> entityLambda)
-
selectBulk
public void selectBulk(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<User>> entityLambda)
-
insert
public void insert(User entity)
-
insert
public void insert(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
update
public void update(User entity)
-
update
public void update(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
insertOrUpdate
public void insertOrUpdate(User entity)
-
insertOrUpdate
public void insertOrUpdate(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> opLambda)
-
delete
public void delete(User entity)
-
delete
public void delete(User entity, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.delete.DeleteRequestBuilder> opLambda)
-
queryDelete
public int queryDelete(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
-
batchInsert
public int[] batchInsert(java.util.List<User> list)
-
batchInsert
public int[] batchInsert(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchInsert
public int[] batchInsert(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
batchUpdate
public int[] batchUpdate(java.util.List<User> list)
-
batchUpdate
public int[] batchUpdate(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchUpdate
public int[] batchUpdate(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
batchDelete
public int[] batchDelete(java.util.List<User> list)
-
batchDelete
public int[] batchDelete(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call)
-
batchDelete
public int[] batchDelete(java.util.List<User> list, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.elasticsearch.action.index.IndexRequestBuilder> entityCall)
-
-