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 Object,REFERRER_CB extends org.dbflute.cbean.ConditionBean,REFERRER_ENTITY extends org.dbflute.Entity>
  • Field Summary

    Fields inherited from class org.dbflute.bhv.AbstractBehaviorWritable

    _commonColumnAutoSetupper, EMPTY_INT_ARRAY

    Fields inherited from class org.dbflute.bhv.AbstractBehaviorReadable

    _behaviorCommandInvoker, _behaviorSelector, DERIVED_MAPPABLE_ALIAS_PREFIX, EMPTY_NREF_LGWAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected String
     
     
     
     
    int[]
     
    int[]
    batchDelete(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
     
    int[]
    batchDelete(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
     
    int[]
     
    int[]
    batchInsert(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
     
    int[]
    batchInsert(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
     
    int[]
     
    int[]
    batchUpdate(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
     
    int[]
    batchUpdate(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
     
    protected <RESULT extends User>
    RESULT
    createEntity(Map<String,Object> source, Class<? extends RESULT> entityType)
     
    void
    delete(User entity)
     
    void
    delete(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda)
     
    protected org.dbflute.Entity
    doReadEntity(org.dbflute.cbean.ConditionBean cb)
     
    protected <ENTITY extends User>
    ENTITY
    doSelectByPK(String id, Class<? extends ENTITY> tp)
     
    protected <ENTITY extends User>
    org.dbflute.optional.OptionalEntity<ENTITY>
    doSelectOptionalByPK(String id, Class<? extends ENTITY> tp)
     
    protected <ENTITY extends User>
    org.dbflute.optional.OptionalEntity<ENTITY>
    doSelectOptionalEntity(UserCB cb, Class<? extends ENTITY> tp)
     
    protected org.dbflute.optional.OptionalEntity<User>
     
    protected org.dbflute.optional.OptionalEntity<User>
     
    void
    insert(User entity)
     
    void
    insert(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
     
    void
     
    void
    insertOrUpdate(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
     
     
    int
    queryDelete(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
     
    void
    selectBulk(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<User>> entityLambda)
     
    org.dbflute.optional.OptionalEntity<User>
     
    int
    selectCount(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
     
    void
    selectCursor(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)
     
    selectEntityWithDeletedCheck(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 Class<UserCB>
     
    protected Class<User>
     
    protected Class<? extends User>
     
    void
    update(User entity)
     
    void
    update(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
     
    protected <RESULT extends User>
    RESULT
    updateEntity(Map<String,Object> source, RESULT result)
     
    protected UserCB
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.dbflute.bhv.BehaviorReadable

    newEntity, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, warmUpCommand
  • Constructor Details

    • BsUserBhv

      public BsUserBhv()
  • Method Details

    • asTableDbName

      public String asTableDbName()
    • asEsIndex

      protected String asEsIndex()
      Specified by:
      asEsIndex in class EsAbstractBehavior<User,UserCB>
    • asEsIndexType

      public String asEsIndexType()
      Specified by:
      asEsIndexType in class EsAbstractBehavior<User,UserCB>
    • asEsSearchType

      public String asEsSearchType()
      Specified by:
      asEsSearchType in class EsAbstractBehavior<User,UserCB>
    • asDBMeta

      public UserDbm asDBMeta()
    • createEntity

      protected <RESULT extends User> RESULT createEntity(Map<String,Object> source, Class<? extends RESULT> entityType)
      Specified by:
      createEntity in class EsAbstractBehavior<User,UserCB>
    • updateEntity

      protected <RESULT extends User> RESULT updateEntity(Map<String,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, Class<? extends ENTITY> tp)
    • newConditionBean

      public UserCB newConditionBean()
      Specified by:
      newConditionBean in interface org.dbflute.bhv.BehaviorReadable
      Specified by:
      newConditionBean in class org.dbflute.bhv.AbstractBehaviorReadable<User,UserCB>
    • doReadEntity

      protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb)
      Specified by:
      doReadEntity in class org.dbflute.bhv.AbstractBehaviorReadable<User,UserCB>
    • selectEntityWithDeletedCheck

      public User selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
    • selectByPK

      public org.dbflute.optional.OptionalEntity<User> selectByPK(String id)
    • facadeSelectByPK

      protected org.dbflute.optional.OptionalEntity<User> facadeSelectByPK(String id)
    • doSelectByPK

      protected <ENTITY extends User> ENTITY doSelectByPK(String id, Class<? extends ENTITY> tp)
    • xprepareCBAsPK

      protected UserCB xprepareCBAsPK(String id)
    • doSelectOptionalByPK

      protected <ENTITY extends User> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp)
    • typeOfSelectedEntity

      protected Class<? extends User> typeOfSelectedEntity()
      Specified by:
      typeOfSelectedEntity in class org.dbflute.bhv.AbstractBehaviorReadable<User,UserCB>
    • typeOfHandlingEntity

      protected Class<User> typeOfHandlingEntity()
      Specified by:
      typeOfHandlingEntity in class org.dbflute.bhv.AbstractBehaviorReadable<User,UserCB>
    • typeOfHandlingConditionBean

      protected Class<UserCB> typeOfHandlingConditionBean()
      Specified by:
      typeOfHandlingConditionBean in class org.dbflute.bhv.AbstractBehaviorReadable<User,UserCB>
    • 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<List<User>> entityLambda)
    • insert

      public void insert(User entity)
    • insert

      public void insert(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
    • update

      public void update(User entity)
    • update

      public void update(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
    • insertOrUpdate

      public void insertOrUpdate(User entity)
    • insertOrUpdate

      public void insertOrUpdate(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda)
    • delete

      public void delete(User entity)
    • delete

      public void delete(User entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda)
    • queryDelete

      public int queryDelete(org.dbflute.bhv.readable.CBCall<UserCB> cbLambda)
    • batchInsert

      public int[] batchInsert(List<User> list)
    • batchInsert

      public int[] batchInsert(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
    • batchInsert

      public int[] batchInsert(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
    • batchUpdate

      public int[] batchUpdate(List<User> list)
    • batchUpdate

      public int[] batchUpdate(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
    • batchUpdate

      public int[] batchUpdate(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
    • batchDelete

      public int[] batchDelete(List<User> list)
    • batchDelete

      public int[] batchDelete(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call)
    • batchDelete

      public int[] batchDelete(List<User> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)