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