Class ConfigurationPropertyQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
-
- com.flowable.platform.engine.impl.configuration.ConfigurationPropertyQueryImpl
-
- All Implemented Interfaces:
ConfigurationPropertyQuery,Serializable,CacheAwareQuery<ConfigurationPropertyEntity>,Query<ConfigurationPropertyQuery,ConfigurationProperty>,Command<Object>
public class ConfigurationPropertyQueryImpl extends AbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty> implements ConfigurationPropertyQuery, CacheAwareQuery<ConfigurationPropertyEntity>
- Author:
- Filip Hrisafov
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Collection<String>descriptionsprotected Stringidprotected DatelastUpdatedAfterprotected DatelastUpdatedBeforeprotected Stringnameprotected Collection<String>namesprotected Stringnamespaceprotected StringownerUserprotected StringtenantId-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertyQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPropertyQuerydescription(String description)Query for configuration properties with the given descriptionConfigurationPropertyQuerydescriptions(Collection<String> descriptions)Query for configuration properties with the given descriptionslongexecuteCount(CommandContext commandContext)List<ConfigurationProperty>executeList(CommandContext commandContext)StringgetDescription()Collection<String>getDescriptions()StringgetId()DategetLastUpdatedAfter()DategetLastUpdatedBefore()StringgetName()Collection<String>getNames()StringgetNamespace()StringgetOwnerUser()StringgetTenantId()ConfigurationPropertyQueryid(String id)Query for configuration properties with the given idConfigurationPropertyQuerylastUpdatedAfter(Date lastUpdatedTime)Query for configuration properties updated after the given dateConfigurationPropertyQuerylastUpdatedBefore(Date lastUpdatedTime)Query for configuration properties updated before the given dateConfigurationPropertyQueryname(String name)Query for configuration properties with the given nameConfigurationPropertyQuerynames(Collection<String> names)Query for configuration properties with the given namesConfigurationPropertyQuerynamespace(String namespace)Query for configuration properties with the given namespaceConfigurationPropertyQueryownerUser(String userId)Query for configuration properties owned by the user with the given id.ConfigurationPropertyQuerytenantId(String tenantId)Query for configuration properties with the given tenant id-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
-
-
-
Field Detail
-
id
protected String id
-
namespace
protected String namespace
-
name
protected String name
-
names
protected Collection<String> names
-
description
protected String description
-
descriptions
protected Collection<String> descriptions
-
lastUpdatedBefore
protected Date lastUpdatedBefore
-
lastUpdatedAfter
protected Date lastUpdatedAfter
-
tenantId
protected String tenantId
-
ownerUser
protected String ownerUser
-
-
Constructor Detail
-
ConfigurationPropertyQueryImpl
public ConfigurationPropertyQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public ConfigurationPropertyQuery id(String id)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given id- Specified by:
idin interfaceConfigurationPropertyQuery
-
namespace
public ConfigurationPropertyQuery namespace(String namespace)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given namespace- Specified by:
namespacein interfaceConfigurationPropertyQuery
-
name
public ConfigurationPropertyQuery name(String name)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given name- Specified by:
namein interfaceConfigurationPropertyQuery
-
names
public ConfigurationPropertyQuery names(Collection<String> names)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given names- Specified by:
namesin interfaceConfigurationPropertyQuery
-
description
public ConfigurationPropertyQuery description(String description)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given description- Specified by:
descriptionin interfaceConfigurationPropertyQuery
-
descriptions
public ConfigurationPropertyQuery descriptions(Collection<String> descriptions)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given descriptions- Specified by:
descriptionsin interfaceConfigurationPropertyQuery
-
lastUpdatedBefore
public ConfigurationPropertyQuery lastUpdatedBefore(Date lastUpdatedTime)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties updated before the given date- Specified by:
lastUpdatedBeforein interfaceConfigurationPropertyQuery
-
lastUpdatedAfter
public ConfigurationPropertyQuery lastUpdatedAfter(Date lastUpdatedTime)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties updated after the given date- Specified by:
lastUpdatedAfterin interfaceConfigurationPropertyQuery
-
tenantId
public ConfigurationPropertyQuery tenantId(String tenantId)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties with the given tenant id- Specified by:
tenantIdin interfaceConfigurationPropertyQuery
-
ownerUser
public ConfigurationPropertyQuery ownerUser(String userId)
Description copied from interface:ConfigurationPropertyQueryQuery for configuration properties owned by the user with the given id.- Specified by:
ownerUserin interfaceConfigurationPropertyQuery- Parameters:
userId- the id of the user that owns the configuration property
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
-
executeList
public List<ConfigurationProperty> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<ConfigurationPropertyEntity>
-
getNamespace
public String getNamespace()
-
getName
public String getName()
-
getNames
public Collection<String> getNames()
-
getDescription
public String getDescription()
-
getDescriptions
public Collection<String> getDescriptions()
-
getLastUpdatedBefore
public Date getLastUpdatedBefore()
-
getLastUpdatedAfter
public Date getLastUpdatedAfter()
-
getTenantId
public String getTenantId()
-
getOwnerUser
public String getOwnerUser()
-
-