org.camunda.bpm.engine.impl
Class DeploymentQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.AuthorizationCheck
      extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
          extended by org.camunda.bpm.engine.impl.AbstractQuery<DeploymentQuery,Deployment>
              extended by org.camunda.bpm.engine.impl.DeploymentQueryImpl
All Implemented Interfaces:
Serializable, Command<Object>, Query<DeploymentQuery,Deployment>, DeploymentQuery

public class DeploymentQueryImpl
extends AbstractQuery<DeploymentQuery,Deployment>
implements DeploymentQuery, Serializable

Author:
Tom Baeyens, Joram Barrez, Ingo Richtsmeier
See Also:
Serialized Form

Field Summary
protected  Date deploymentAfter
           
protected  Date deploymentBefore
           
protected  String deploymentId
           
protected  String name
           
protected  String nameLike
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandContext, commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
 
Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
 
Constructor Summary
DeploymentQueryImpl()
           
DeploymentQueryImpl(CommandContext commandContext)
           
DeploymentQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 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()).
 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, setCommandExecutor, setExpressions, setOrderingProperties, singleResult
 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
 
Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
addPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

deploymentId

protected String deploymentId

name

protected String name

nameLike

protected String nameLike

deploymentBefore

protected Date deploymentBefore

deploymentAfter

protected Date deploymentAfter
Constructor Detail

DeploymentQueryImpl

public DeploymentQueryImpl()

DeploymentQueryImpl

public DeploymentQueryImpl(CommandContext commandContext)

DeploymentQueryImpl

public DeploymentQueryImpl(CommandExecutor commandExecutor)
Method Detail

deploymentId

public DeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface: DeploymentQuery
Only select deployments with the given deployment id.

Specified by:
deploymentId in interface DeploymentQuery

deploymentName

public DeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface: DeploymentQuery
Only select deployments with the given name.

Specified by:
deploymentName in interface DeploymentQuery

deploymentNameLike

public DeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface: DeploymentQuery
Only select deployments with a name like the given string.

Specified by:
deploymentNameLike in interface DeploymentQuery

deploymentBefore

public DeploymentQuery deploymentBefore(Date before)
Description copied from interface: DeploymentQuery
Only select deployments deployed before the given date

Specified by:
deploymentBefore in interface DeploymentQuery

deploymentAfter

public DeploymentQuery deploymentAfter(Date after)
Description copied from interface: DeploymentQuery
Only select deployments deployed after the given date

Specified by:
deploymentAfter in interface DeploymentQuery

orderByDeploymentId

public DeploymentQuery orderByDeploymentId()
Description copied from interface: DeploymentQuery
Order by deployment id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByDeploymentId in interface DeploymentQuery

orderByDeploymenTime

public DeploymentQuery orderByDeploymenTime()
Description copied from interface: DeploymentQuery
Order by deployment time (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByDeploymenTime in interface DeploymentQuery

orderByDeploymentName

public DeploymentQuery orderByDeploymentName()
Description copied from interface: DeploymentQuery
Order by deployment name (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByDeploymentName in interface DeploymentQuery

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<DeploymentQuery,Deployment>

executeList

public List<Deployment> executeList(CommandContext commandContext,
                                    Page page)
Description copied from class: AbstractQuery
Executes the actual query to retrieve the list of results.

Specified by:
executeList in class AbstractQuery<DeploymentQuery,Deployment>
page - used if the results must be paged. If null, no paging will be applied.

getDeploymentId

public String getDeploymentId()

getName

public String getName()

getNameLike

public String getNameLike()

getDeploymentBefore

public Date getDeploymentBefore()

getDeploymentAfter

public Date getDeploymentAfter()


Copyright © 2015 camunda services GmbH. All rights reserved.