public class AuditInstanceQueryImpl extends AbstractQuery<AuditInstanceQuery,AuditInstance> implements AuditInstanceQuery, CacheAwareQuery<AuditInstanceEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected String |
auditDefinitionId |
protected String |
auditDefinitionIdLike |
protected Date |
createdAfter |
protected Date |
createdBefore |
protected String |
creatorId |
protected String |
externalId |
protected String |
id |
protected Set<String> |
ids |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
subType |
protected String |
tenantId |
protected String |
tenantIdLike |
protected String |
type |
protected boolean |
withoutTenantId |
commandContext, commandExecutor
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
Constructor and Description |
---|
AuditInstanceQueryImpl() |
AuditInstanceQueryImpl(CommandContext commandContext) |
AuditInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
AuditInstanceQueryImpl |
auditDefinitionId(String auditDefinitionId)
Only select audit instances with the given audit definition id.
|
AuditInstanceQueryImpl |
auditDefinitionIdLike(String auditDefinitionIdLike)
Only select audit instances with an audit definition id like the given string.
|
AuditInstanceQuery |
createdAfter(Date createdAfter) |
AuditInstanceQuery |
createdBefore(Date createdBefore) |
AuditInstanceQuery |
creatorId(String creatorId)
Select audit instances using a given creatorId.
|
long |
executeCount(CommandContext commandContext) |
List<AuditInstance> |
executeList(CommandContext commandContext) |
AuditInstanceQueryImpl |
externalId(String externalId)
Only select audit instances with the given external id.
|
String |
getAuditDefinitionId() |
String |
getAuditDefinitionIdLike() |
String |
getCreatorId() |
String |
getExternalId() |
String |
getId() |
Set<String> |
getIds() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubType() |
String |
getTenantId() |
String |
getTenantIdLike() |
String |
getType() |
AuditInstanceQueryImpl |
id(String id)
Only select audit instances with the given id.
|
AuditInstanceQueryImpl |
ids(Set<String> ids)
Only select audit instances with the given ids.
|
boolean |
isWithoutTenantId() |
AuditInstanceQuery |
orderByCreationTime()
Order by start date (needs to be followed by
Query.asc() or Query.desc() ). |
AuditInstanceQueryImpl |
scopeDefinitionId(String scopeDefinitionId)
Only select audit instances with the given scope definition id.
|
AuditInstanceQueryImpl |
scopeId(String scopeId)
Only select audit instances with the given scope id.
|
AuditInstanceQueryImpl |
scopeType(String scopeType)
Only select audit instances with the given scope type.
|
AuditInstanceQueryImpl |
subScopeId(String subScopeId)
Only select audit instances with the given sub scope id.
|
AuditInstanceQueryImpl |
subType(String subType)
Only select audit instances with the given sub type.
|
AuditInstanceQueryImpl |
tenantId(String tenantId)
Only select audit instances that have the given tenant id.
|
AuditInstanceQueryImpl |
tenantIdLike(String tenantIdLike)
Only select audit instances with a tenant id like the given one.
|
AuditInstanceQueryImpl |
type(String type)
Only select audit instances with the given type.
|
AuditInstanceQueryImpl |
withoutTenantId()
Only select audit instances that do not have a 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 auditDefinitionId
protected String auditDefinitionIdLike
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String externalId
protected String type
protected String subType
protected Date createdBefore
protected Date createdAfter
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String creatorId
public AuditInstanceQueryImpl()
public AuditInstanceQueryImpl(CommandContext commandContext)
public AuditInstanceQueryImpl(CommandExecutor commandExecutor)
public AuditInstanceQueryImpl id(String id)
AuditInstanceQuery
id
in interface AuditInstanceQuery
public AuditInstanceQueryImpl ids(Set<String> ids)
AuditInstanceQuery
ids
in interface AuditInstanceQuery
public AuditInstanceQueryImpl auditDefinitionId(String auditDefinitionId)
AuditInstanceQuery
auditDefinitionId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl auditDefinitionIdLike(String auditDefinitionIdLike)
AuditInstanceQuery
auditDefinitionIdLike
in interface AuditInstanceQuery
public AuditInstanceQueryImpl scopeId(String scopeId)
AuditInstanceQuery
scopeId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl subScopeId(String subScopeId)
AuditInstanceQuery
subScopeId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl scopeType(String scopeType)
AuditInstanceQuery
scopeType
in interface AuditInstanceQuery
public AuditInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
AuditInstanceQuery
scopeDefinitionId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl externalId(String externalId)
AuditInstanceQuery
externalId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl type(String type)
AuditInstanceQuery
type
in interface AuditInstanceQuery
public AuditInstanceQueryImpl subType(String subType)
AuditInstanceQuery
subType
in interface AuditInstanceQuery
public AuditInstanceQuery createdBefore(Date createdBefore)
createdBefore
in interface AuditInstanceQuery
public AuditInstanceQuery createdAfter(Date createdAfter)
createdAfter
in interface AuditInstanceQuery
public AuditInstanceQueryImpl tenantId(String tenantId)
AuditInstanceQuery
tenantId
in interface AuditInstanceQuery
public AuditInstanceQueryImpl tenantIdLike(String tenantIdLike)
AuditInstanceQuery
tenantIdLike
in interface AuditInstanceQuery
public AuditInstanceQueryImpl withoutTenantId()
AuditInstanceQuery
withoutTenantId
in interface AuditInstanceQuery
public AuditInstanceQuery creatorId(String creatorId)
AuditInstanceQuery
creatorId
in interface AuditInstanceQuery
public AuditInstanceQuery orderByCreationTime()
AuditInstanceQuery
Query.asc()
or Query.desc()
).orderByCreationTime
in interface AuditInstanceQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<AuditInstanceQuery,AuditInstance>
public List<AuditInstance> executeList(CommandContext commandContext)
executeList
in class AbstractQuery<AuditInstanceQuery,AuditInstance>
public String getId()
getId
in interface CacheAwareQuery<AuditInstanceEntity>
public String getAuditDefinitionId()
public String getAuditDefinitionIdLike()
public String getScopeId()
public String getScopeType()
public String getScopeDefinitionId()
public String getExternalId()
public String getType()
public String getSubType()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getCreatorId()