Class BsRelatedContentBhv
java.lang.Object
org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
org.codelibs.fess.es.config.allcommon.EsAbstractBehavior<RelatedContent,RelatedContentCB>
org.codelibs.fess.es.config.bsbhv.BsRelatedContentBhv
- All Implemented Interfaces:
org.dbflute.bhv.BehaviorReadable,org.dbflute.bhv.BehaviorWritable
- Direct Known Subclasses:
RelatedContentBhv
public abstract class BsRelatedContentBhv
extends EsAbstractBehavior<RelatedContent,RelatedContentCB>
- 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, sizeForDeleteFields inherited from class org.dbflute.bhv.AbstractBehaviorWritable
_commonColumnAutoSetupper, EMPTY_INT_ARRAYFields inherited from class org.dbflute.bhv.AbstractBehaviorReadable
_behaviorCommandInvoker, _behaviorSelector, DERIVED_MAPPABLE_ALIAS_PREFIX, EMPTY_NREF_LGWAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasDBMeta()protected Stringint[]batchDelete(List<RelatedContent> list) int[]batchDelete(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchDelete(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) int[]batchInsert(List<RelatedContent> list) int[]batchInsert(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchInsert(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) int[]batchUpdate(List<RelatedContent> list) int[]batchUpdate(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchUpdate(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) protected <RESULT extends RelatedContent>
RESULTcreateEntity(Map<String, Object> source, Class<? extends RESULT> entityType) voiddelete(RelatedContent entity) voiddelete(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda) protected org.dbflute.EntitydoReadEntity(org.dbflute.cbean.ConditionBean cb) protected <ENTITY extends RelatedContent>
ENTITYdoSelectByPK(String id, Class<? extends ENTITY> tp) protected <ENTITY extends RelatedContent>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) protected <ENTITY extends RelatedContent>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalEntity(RelatedContentCB cb, Class<? extends ENTITY> tp) protected org.dbflute.optional.OptionalEntity<RelatedContent>protected org.dbflute.optional.OptionalEntity<RelatedContent>voidinsert(RelatedContent entity) voidinsert(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) voidinsertOrUpdate(RelatedContent entity) voidinsertOrUpdate(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) intqueryDelete(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) voidselectBulk(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedContent>> entityLambda) org.dbflute.optional.OptionalEntity<RelatedContent>selectByPK(String id) intselectCount(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) voidselectCursor(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedContent> entityLambda) org.dbflute.optional.OptionalEntity<RelatedContent>selectEntity(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) org.dbflute.cbean.result.ListResultBean<RelatedContent>selectList(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) org.dbflute.cbean.result.PagingResultBean<RelatedContent>selectPage(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) protected Class<RelatedContentCB>protected Class<RelatedContent>protected Class<? extends RelatedContent>voidupdate(RelatedContent entity) voidupdate(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) protected <RESULT extends RelatedContent>
RESULTupdateEntity(Map<String, Object> source, RESULT result) protected RelatedContentCBxprepareCBAsPK(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, toStringArrayMethods 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, throwVersionNoValueNullExceptionMethods 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, xsetupSelectCommandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dbflute.bhv.BehaviorReadable
newEntity, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, warmUpCommand
-
Constructor Details
-
BsRelatedContentBhv
public BsRelatedContentBhv()
-
-
Method Details
-
asTableDbName
-
asEsIndex
- Specified by:
asEsIndexin classEsAbstractBehavior<RelatedContent,RelatedContentCB>
-
asEsIndexType
- Specified by:
asEsIndexTypein classEsAbstractBehavior<RelatedContent,RelatedContentCB>
-
asEsSearchType
- Specified by:
asEsSearchTypein classEsAbstractBehavior<RelatedContent,RelatedContentCB>
-
asDBMeta
-
createEntity
protected <RESULT extends RelatedContent> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) - Specified by:
createEntityin classEsAbstractBehavior<RelatedContent,RelatedContentCB>
-
updateEntity
protected <RESULT extends RelatedContent> RESULT updateEntity(Map<String, Object> source, RESULT result) -
selectCount
-
selectEntity
public org.dbflute.optional.OptionalEntity<RelatedContent> selectEntity(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) -
facadeSelectEntity
protected org.dbflute.optional.OptionalEntity<RelatedContent> facadeSelectEntity(RelatedContentCB cb) -
doSelectOptionalEntity
protected <ENTITY extends RelatedContent> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalEntity(RelatedContentCB cb, Class<? extends ENTITY> tp) -
newConditionBean
- Specified by:
newConditionBeanin interfaceorg.dbflute.bhv.BehaviorReadable- Specified by:
newConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedContent,RelatedContentCB>
-
doReadEntity
protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb) - Specified by:
doReadEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedContent,RelatedContentCB>
-
selectEntityWithDeletedCheck
public RelatedContent selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) -
selectByPK
-
facadeSelectByPK
-
doSelectByPK
protected <ENTITY extends RelatedContent> ENTITY doSelectByPK(String id, Class<? extends ENTITY> tp) -
xprepareCBAsPK
-
doSelectOptionalByPK
protected <ENTITY extends RelatedContent> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) -
typeOfSelectedEntity
- Specified by:
typeOfSelectedEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedContent,RelatedContentCB>
-
typeOfHandlingEntity
- Specified by:
typeOfHandlingEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedContent,RelatedContentCB>
-
typeOfHandlingConditionBean
- Specified by:
typeOfHandlingConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedContent,RelatedContentCB>
-
selectList
public org.dbflute.cbean.result.ListResultBean<RelatedContent> selectList(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) -
selectPage
public org.dbflute.cbean.result.PagingResultBean<RelatedContent> selectPage(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda) -
selectCursor
public void selectCursor(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedContent> entityLambda) -
selectBulk
public void selectBulk(org.dbflute.bhv.readable.CBCall<RelatedContentCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedContent>> entityLambda) -
insert
-
insert
public void insert(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
update
-
update
public void update(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
insertOrUpdate
-
insertOrUpdate
public void insertOrUpdate(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
delete
-
delete
public void delete(RelatedContent entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda) -
queryDelete
-
batchInsert
-
batchInsert
public int[] batchInsert(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchInsert
public int[] batchInsert(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) -
batchUpdate
-
batchUpdate
public int[] batchUpdate(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchUpdate
public int[] batchUpdate(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) -
batchDelete
-
batchDelete
public int[] batchDelete(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchDelete
public int[] batchDelete(List<RelatedContent> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
-