Class InternalEntityLinkQueryImpl<E extends Entity & EntityLinkInfo>
java.lang.Object
org.flowable.entitylink.service.impl.InternalEntityLinkQueryImpl<E>
- All Implemented Interfaces:
SingleCachedEntityMatcher<E>,CachedEntityMatcher<E>,InternalEntityLinkQuery<E>
public class InternalEntityLinkQueryImpl<E extends Entity & EntityLinkInfo>
extends Object
implements InternalEntityLinkQuery<E>, CachedEntityMatcher<E>, SingleCachedEntityMatcher<E>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected final Function<InternalEntityLinkQueryImpl<E>,List<E>> protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected final Function<InternalEntityLinkQueryImpl<E>,E> -
Constructor Summary
ConstructorsConstructorDescriptionInternalEntityLinkQueryImpl(Function<InternalEntityLinkQueryImpl<E>, List<E>> listProvider, Function<InternalEntityLinkQueryImpl<E>, E> singleResultProvider) -
Method Summary
Modifier and TypeMethodDescriptionhierarchyType(String hierarchyType) Query entity links with the given hierarchy type.booleanisRetained(E entity, Object param) booleanisRetained(E entity, InternalEntityLinkQueryImpl<?> param) booleanisRetained(Collection<E> databaseEntities, Collection<CachedEntity> cachedEntities, E entity, Object param) Returns true if an entity from the cache should be retained (i.e.Query entity links with the given link type.list()referenceScopeDefinitionId(String referenceScopeDefinitionId) Query entity links with the given reference scope definition id.referenceScopeId(String referenceScopeId) Query entity links with the given reference scope id.referenceScopeType(String referenceScopeType) Query entity links with the given reference scope type.rootScopeId(String rootScopeId) Query entity links with the given root scope id.rootScopeType(String rootScopeType) Query entity links with the given root scope type.scopeDefinitionId(String scopeDefinitionId) Query entity links with the given scope definition id.Query entity links with the given scope id.scopeIds(Collection<String> scopeIds) Query entity links with the given scope ids.Query entity links with the given scope type.
-
Field Details
-
listProvider
protected final Function<InternalEntityLinkQueryImpl<E extends Entity & EntityLinkInfo>,List<E extends Entity & EntityLinkInfo>> listProvider -
singleResultProvider
protected final Function<InternalEntityLinkQueryImpl<E extends Entity & EntityLinkInfo>,E extends Entity & EntityLinkInfo> singleResultProvider -
scopeId
-
scopeIds
-
scopeDefinitionId
-
scopeType
-
referenceScopeId
-
referenceScopeDefinitionId
-
referenceScopeType
-
rootScopeId
-
rootScopeType
-
linkType
-
hierarchyType
-
-
Constructor Details
-
InternalEntityLinkQueryImpl
public InternalEntityLinkQueryImpl(Function<InternalEntityLinkQueryImpl<E>, List<E>> listProvider, Function<InternalEntityLinkQueryImpl<E>, E> singleResultProvider)
-
-
Method Details
-
scopeId
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given scope id.- Specified by:
scopeIdin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
scopeIds
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given scope ids.- Specified by:
scopeIdsin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
scopeDefinitionId
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given scope definition id.- Specified by:
scopeDefinitionIdin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
scopeType
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given scope type.- Specified by:
scopeTypein interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
referenceScopeId
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given reference scope id.- Specified by:
referenceScopeIdin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
referenceScopeDefinitionId
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given reference scope definition id.- Specified by:
referenceScopeDefinitionIdin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
referenceScopeType
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given reference scope type.- Specified by:
referenceScopeTypein interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
rootScopeId
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given root scope id.- Specified by:
rootScopeIdin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
rootScopeType
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given root scope type.- Specified by:
rootScopeTypein interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
linkType
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given link type.- Specified by:
linkTypein interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
hierarchyType
Description copied from interface:InternalEntityLinkQueryQuery entity links with the given hierarchy type.- Specified by:
hierarchyTypein interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
list
- Specified by:
listin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
singleResult
- Specified by:
singleResultin interfaceInternalEntityLinkQuery<E extends Entity & EntityLinkInfo>
-
getScopeIds
-
getScopeId
-
getScopeDefinitionId
-
getScopeType
-
getReferenceScopeId
-
getReferenceScopeDefinitionId
-
getReferenceScopeType
-
getRootScopeId
-
getRootScopeType
-
getLinkType
-
getHierarchyType
-
getParameter
-
isRetained
- Specified by:
isRetainedin interfaceSingleCachedEntityMatcher<E extends Entity & EntityLinkInfo>
-
isRetained
public boolean isRetained(Collection<E> databaseEntities, Collection<CachedEntity> cachedEntities, E entity, Object param) Description copied from interface:CachedEntityMatcherReturns true if an entity from the cache should be retained (i.e. used as return result for a query). Most implementations of this interface probably don't need this method, and should extend the simplerCachedEntityMatcherAdapter, which hides this method. Note that the databaseEntities collection can be null, in case only the cache is checked.- Specified by:
isRetainedin interfaceCachedEntityMatcher<E extends Entity & EntityLinkInfo>
-
isRetained
-