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 String
description
protected Collection<String>
descriptions
protected String
id
protected Date
lastUpdatedAfter
protected Date
lastUpdatedBefore
protected String
name
protected Collection<String>
names
protected String
namespace
protected String
ownerUser
protected String
tenantId
-
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 ConfigurationPropertyQuery
description(String description)
Query for configuration properties with the given descriptionConfigurationPropertyQuery
descriptions(Collection<String> descriptions)
Query for configuration properties with the given descriptionslong
executeCount(CommandContext commandContext)
List<ConfigurationProperty>
executeList(CommandContext commandContext)
String
getDescription()
Collection<String>
getDescriptions()
String
getId()
Date
getLastUpdatedAfter()
Date
getLastUpdatedBefore()
String
getName()
Collection<String>
getNames()
String
getNamespace()
String
getOwnerUser()
String
getTenantId()
ConfigurationPropertyQuery
id(String id)
Query for configuration properties with the given idConfigurationPropertyQuery
lastUpdatedAfter(Date lastUpdatedTime)
Query for configuration properties updated after the given dateConfigurationPropertyQuery
lastUpdatedBefore(Date lastUpdatedTime)
Query for configuration properties updated before the given dateConfigurationPropertyQuery
name(String name)
Query for configuration properties with the given nameConfigurationPropertyQuery
names(Collection<String> names)
Query for configuration properties with the given namesConfigurationPropertyQuery
namespace(String namespace)
Query for configuration properties with the given namespaceConfigurationPropertyQuery
ownerUser(String userId)
Query for configuration properties owned by the user with the given id.ConfigurationPropertyQuery
tenantId(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:ConfigurationPropertyQuery
Query for configuration properties with the given id- Specified by:
id
in interfaceConfigurationPropertyQuery
-
namespace
public ConfigurationPropertyQuery namespace(String namespace)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given namespace- Specified by:
namespace
in interfaceConfigurationPropertyQuery
-
name
public ConfigurationPropertyQuery name(String name)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given name- Specified by:
name
in interfaceConfigurationPropertyQuery
-
names
public ConfigurationPropertyQuery names(Collection<String> names)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given names- Specified by:
names
in interfaceConfigurationPropertyQuery
-
description
public ConfigurationPropertyQuery description(String description)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given description- Specified by:
description
in interfaceConfigurationPropertyQuery
-
descriptions
public ConfigurationPropertyQuery descriptions(Collection<String> descriptions)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given descriptions- Specified by:
descriptions
in interfaceConfigurationPropertyQuery
-
lastUpdatedBefore
public ConfigurationPropertyQuery lastUpdatedBefore(Date lastUpdatedTime)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties updated before the given date- Specified by:
lastUpdatedBefore
in interfaceConfigurationPropertyQuery
-
lastUpdatedAfter
public ConfigurationPropertyQuery lastUpdatedAfter(Date lastUpdatedTime)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties updated after the given date- Specified by:
lastUpdatedAfter
in interfaceConfigurationPropertyQuery
-
tenantId
public ConfigurationPropertyQuery tenantId(String tenantId)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties with the given tenant id- Specified by:
tenantId
in interfaceConfigurationPropertyQuery
-
ownerUser
public ConfigurationPropertyQuery ownerUser(String userId)
Description copied from interface:ConfigurationPropertyQuery
Query for configuration properties owned by the user with the given id.- Specified by:
ownerUser
in interfaceConfigurationPropertyQuery
- Parameters:
userId
- the id of the user that owns the configuration property
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
-
executeList
public List<ConfigurationProperty> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
-
getId
public String getId()
- Specified by:
getId
in 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()
-
-