public class ConfigurationPropertyQueryImpl extends AbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty> implements ConfigurationPropertyQuery, CacheAwareQuery<ConfigurationPropertyEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and 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 |
commandContext, commandExecutor
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
Constructor and Description |
---|
ConfigurationPropertyQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
ConfigurationPropertyQuery |
description(String description)
Query for configuration properties with the given description
|
ConfigurationPropertyQuery |
descriptions(Collection<String> descriptions)
Query for configuration properties with the given descriptions
|
long |
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 id
|
ConfigurationPropertyQuery |
lastUpdatedAfter(Date lastUpdatedTime)
Query for configuration properties updated after the given date
|
ConfigurationPropertyQuery |
lastUpdatedBefore(Date lastUpdatedTime)
Query for configuration properties updated before the given date
|
ConfigurationPropertyQuery |
name(String name)
Query for configuration properties with the given name
|
ConfigurationPropertyQuery |
names(Collection<String> names)
Query for configuration properties with the given names
|
ConfigurationPropertyQuery |
namespace(String namespace)
Query for configuration properties with the given namespace
|
ConfigurationPropertyQuery |
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
|
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected String id
protected String namespace
protected String name
protected Collection<String> names
protected String description
protected Collection<String> descriptions
protected Date lastUpdatedBefore
protected Date lastUpdatedAfter
protected String tenantId
protected String ownerUser
public ConfigurationPropertyQueryImpl(CommandExecutor commandExecutor)
public ConfigurationPropertyQuery id(String id)
ConfigurationPropertyQuery
id
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery namespace(String namespace)
ConfigurationPropertyQuery
namespace
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery name(String name)
ConfigurationPropertyQuery
name
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery names(Collection<String> names)
ConfigurationPropertyQuery
names
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery description(String description)
ConfigurationPropertyQuery
description
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery descriptions(Collection<String> descriptions)
ConfigurationPropertyQuery
descriptions
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery lastUpdatedBefore(Date lastUpdatedTime)
ConfigurationPropertyQuery
lastUpdatedBefore
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery lastUpdatedAfter(Date lastUpdatedTime)
ConfigurationPropertyQuery
lastUpdatedAfter
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery tenantId(String tenantId)
ConfigurationPropertyQuery
tenantId
in interface ConfigurationPropertyQuery
public ConfigurationPropertyQuery ownerUser(String userId)
ConfigurationPropertyQuery
ownerUser
in interface ConfigurationPropertyQuery
userId
- the id of the user that owns the configuration propertypublic long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
public List<ConfigurationProperty> executeList(CommandContext commandContext)
executeList
in class AbstractQuery<ConfigurationPropertyQuery,ConfigurationProperty>
public String getId()
getId
in interface CacheAwareQuery<ConfigurationPropertyEntity>
public String getNamespace()
public String getName()
public Collection<String> getNames()
public String getDescription()
public Collection<String> getDescriptions()
public Date getLastUpdatedBefore()
public Date getLastUpdatedAfter()
public String getTenantId()
public String getOwnerUser()