public class DeploymentQueryImpl extends AbstractQuery<DeploymentQuery,Deployment> implements DeploymentQuery, Serializable
Modifier and Type | Field and Description |
---|---|
protected Date |
deploymentAfter |
protected Date |
deploymentBefore |
protected String |
deploymentId |
protected String |
name |
protected String |
nameLike |
commandExecutor, expressions, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
DeploymentQueryImpl() |
DeploymentQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
DeploymentQuery |
deploymentAfter(Date after)
Only select deployments deployed after the given date
|
DeploymentQuery |
deploymentBefore(Date before)
Only select deployments deployed before the given date
|
DeploymentQueryImpl |
deploymentId(String deploymentId)
Only select deployments with the given deployment id.
|
DeploymentQueryImpl |
deploymentName(String deploymentName)
Only select deployments with the given name.
|
DeploymentQueryImpl |
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.
|
long |
executeCount(CommandContext commandContext) |
List<Deployment> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
Date |
getDeploymentAfter() |
Date |
getDeploymentBefore() |
String |
getDeploymentId() |
String |
getName() |
String |
getNameLike() |
DeploymentQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc() or Query.desc() ). |
DeploymentQuery |
orderByDeploymenTime()
Order by deployment time (needs to be followed by
Query.asc() or Query.desc() ). |
DeploymentQuery |
orderByDeploymentName()
Order by deployment name (needs to be followed by
Query.asc() or Query.desc() ). |
addExpression, addOrder, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
protected String deploymentId
protected String name
protected String nameLike
protected Date deploymentBefore
protected Date deploymentAfter
public DeploymentQueryImpl()
public DeploymentQueryImpl(CommandExecutor commandExecutor)
public DeploymentQueryImpl deploymentId(String deploymentId)
DeploymentQuery
deploymentId
in interface DeploymentQuery
public DeploymentQueryImpl deploymentName(String deploymentName)
DeploymentQuery
deploymentName
in interface DeploymentQuery
public DeploymentQueryImpl deploymentNameLike(String nameLike)
DeploymentQuery
deploymentNameLike
in interface DeploymentQuery
public DeploymentQuery deploymentBefore(Date before)
DeploymentQuery
deploymentBefore
in interface DeploymentQuery
public DeploymentQuery deploymentAfter(Date after)
DeploymentQuery
deploymentAfter
in interface DeploymentQuery
public DeploymentQuery orderByDeploymentId()
DeploymentQuery
Query.asc()
or Query.desc()
).orderByDeploymentId
in interface DeploymentQuery
public DeploymentQuery orderByDeploymenTime()
DeploymentQuery
Query.asc()
or Query.desc()
).orderByDeploymenTime
in interface DeploymentQuery
public DeploymentQuery orderByDeploymentName()
DeploymentQuery
Query.asc()
or Query.desc()
).orderByDeploymentName
in interface DeploymentQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<DeploymentQuery,Deployment>
public List<Deployment> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<DeploymentQuery,Deployment>
page
- used if the results must be paged. If null, no paging will be applied.public String getDeploymentId()
public String getName()
public String getNameLike()
public Date getDeploymentBefore()
public Date getDeploymentAfter()
Copyright © 2018. All rights reserved.