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