Codota Logo
DeploymentQuery.listPage
Code IndexAdd Codota to your IDE (free)

How to use
listPage
method
in
org.camunda.bpm.engine.repository.DeploymentQuery

Best Java code snippets using org.camunda.bpm.engine.repository.DeploymentQuery.listPage (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: camunda/camunda-bpm-platform

private List<Deployment> executePaginatedQuery(DeploymentQuery query, Integer firstResult, Integer maxResults) {
 if (firstResult == null) {
  firstResult = 0;
 }
 if (maxResults == null) {
  maxResults = Integer.MAX_VALUE;
 }
 return query.listPage(firstResult, maxResults);
}
origin: camunda/camunda-bpm-platform

private List<Deployment> executePaginatedQuery(DeploymentQuery query, Integer firstResult, Integer maxResults) {
 if (firstResult == null) {
  firstResult = 0;
 }
 if (maxResults == null) {
  maxResults = Integer.MAX_VALUE;
 }
 return query.listPage(firstResult, maxResults);
}
origin: org.camunda.bpm/camunda-engine-rest-jaxrs2

private List<Deployment> executePaginatedQuery(DeploymentQuery query, Integer firstResult, Integer maxResults) {
 if (firstResult == null) {
  firstResult = 0;
 }
 if (maxResults == null) {
  maxResults = Integer.MAX_VALUE;
 }
 return query.listPage(firstResult, maxResults);
}
origin: camunda/camunda-bpm-platform

/**
 * If parameter "firstResult" is missing, we expect 0 as default.
 */
@Test
public void testMissingFirstResultParameter() {
 int maxResults = 10;
 given().queryParam("maxResults", maxResults)
  .then().expect().statusCode(Status.OK.getStatusCode())
  .when().get(DEPLOYMENT_QUERY_URL);
 verify(mockedQuery).listPage(0, maxResults);
}
origin: camunda/camunda-bpm-platform

/**
 * If parameter "maxResults" is missing, we expect Integer.MAX_VALUE as default.
 */
@Test
public void testMissingMaxResultsParameter() {
 int firstResult = 10;
 given().queryParam("firstResult", firstResult)
  .then().expect().statusCode(Status.OK.getStatusCode())
  .when().get(DEPLOYMENT_QUERY_URL);
 verify(mockedQuery).listPage(firstResult, Integer.MAX_VALUE);
}
origin: camunda/camunda-bpm-platform

@Test
public void testSuccessfulPagination() {
 int firstResult = 0;
 int maxResults = 10;
 given().queryParam("firstResult", firstResult).queryParam("maxResults", maxResults)
  .then().expect().statusCode(Status.OK.getStatusCode())
  .when().get(DEPLOYMENT_QUERY_URL);
 verify(mockedQuery).listPage(firstResult, maxResults);
}
org.camunda.bpm.engine.repositoryDeploymentQuerylistPage

Popular methods of DeploymentQuery

  • list
  • singleResult
  • count
  • deploymentId
    Only select deployments with the given deployment id.
  • deploymentName
    Only select deployments with the given name.
  • deploymentAfter
    Only select deployments deployed after the given date
  • deploymentBefore
    Only select deployments deployed before the given date
  • deploymentNameLike
    Only select deployments with a name like the given string.
  • deploymentSource
    If the given source is null, then deployments are returned where source is equal to null. Otherwise
  • includeDeploymentsWithoutTenantId
    Select deployments which have no tenant id. Can be used in combination with #tenantIdIn(String...).
  • orderByDeploymentId
    Order by deployment id (needs to be followed by #asc() or #desc()).
  • orderByDeploymentName
    Order by deployment name (needs to be followed by #asc() or #desc()).
  • orderByDeploymentId,
  • orderByDeploymentName,
  • orderByDeploymentTime,
  • orderByTenantId,
  • tenantIdIn,
  • withoutTenantId,
  • asc,
  • desc,
  • orderByDeploymenTime

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • putExtra (Intent)
  • setContentView (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now