public class DeploymentQueryImpl extends AbstractQuery<DeploymentQuery,Deployment> implements DeploymentQuery, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
deploymentId |
protected String |
name |
protected String |
nameLike |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
DeploymentQueryImpl() |
DeploymentQueryImpl(CommandContext commandContext) |
DeploymentQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()). |
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected String deploymentId
protected String name
protected String nameLike
public DeploymentQueryImpl()
public DeploymentQueryImpl(CommandContext commandContext)
public DeploymentQueryImpl(CommandExecutor commandExecutor)
public DeploymentQueryImpl deploymentId(String deploymentId)
DeploymentQuerydeploymentId in interface DeploymentQuerypublic DeploymentQueryImpl deploymentName(String deploymentName)
DeploymentQuerydeploymentName in interface DeploymentQuerypublic DeploymentQueryImpl deploymentNameLike(String nameLike)
DeploymentQuerydeploymentNameLike in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentId()
DeploymentQueryQuery.asc() or Query.desc()).orderByDeploymentId in interface DeploymentQuerypublic DeploymentQuery orderByDeploymenTime()
DeploymentQueryQuery.asc() or Query.desc()).orderByDeploymenTime in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentName()
DeploymentQueryQuery.asc() or Query.desc()).orderByDeploymentName in interface DeploymentQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DeploymentQuery,Deployment>public List<Deployment> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList 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()
Copyright © 2015. All rights reserved.