congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ListQueryParameterObject.getMaxResults
Code IndexAdd Tabnine to your IDE (free)

How to use
getMaxResults
method
in
org.camunda.bpm.engine.impl.db.ListQueryParameterObject

Best Java code snippets using org.camunda.bpm.engine.impl.db.ListQueryParameterObject.getMaxResults (Showing top 9 results out of 315)

origin: camunda/camunda-bpm-platform

@Override
public int getMaxResults() {
 if (maxResults > DEFAULT_LIMIT_SELECT_INTERVAL) {
  return DEFAULT_LIMIT_SELECT_INTERVAL;
 }
 return super.getMaxResults();
}
origin: camunda/camunda-bpm-platform

@Override
public int getMaxResults() {
 if (maxResults > DEFAULT_LIMIT_SELECT_INTERVAL) {
  return DEFAULT_LIMIT_SELECT_INTERVAL;
 }
 return super.getMaxResults();
}
origin: camunda/camunda-bpm-platform

public List selectList(String statement, ListQueryParameterObject parameter) {
 return selectListWithRawParameter(statement, parameter, parameter.getFirstResult(), parameter.getMaxResults());
}
origin: camunda/camunda-bpm-platform

public List selectList(String statement, ListQueryParameterObject parameter) {
 return selectListWithRawParameter(statement, parameter, parameter.getFirstResult(), parameter.getMaxResults());
}
origin: org.camunda.bpm/camunda-engine

@Override
public int getMaxResults() {
 if (maxResults > DEFAULT_LIMIT_SELECT_INTERVAL) {
  return DEFAULT_LIMIT_SELECT_INTERVAL;
 }
 return super.getMaxResults();
}
origin: org.camunda.bpm/camunda-engine

public List selectList(String statement, ListQueryParameterObject parameter) {
 return selectListWithRawParameter(statement, parameter, parameter.getFirstResult(), parameter.getMaxResults());
}
origin: OrienteerBAP/Orienteer

@Statement
public List<ExternalTaskEntity> selectExternalTasksForTopics(OPersistenceSession session, ListQueryParameterObject query) {
  Map<String, Object> map = (Map<String, Object>)query.getParameter();
  String sql = "select from "+getSchemaClass()+" where "
        +"(lockExpirationTime is null or lockExpirationTime <= ?) and "
        +"(suspensionState is null or suspensionState = 1) and "
        +"topicName in ? limit ?";
  return queryList(session, sql, map.get("now"), map.get("topics"), query.getMaxResults());
}
origin: OrienteerBAP/Orienteer

@Statement
public List<JobEntity> selectExclusiveJobsToExecute(OPersistenceSession session, ListQueryParameterObject query) {
  Map<String, Object> params = (Map<String, Object>) query.getParameter();
  Date now=(Date) params.get("now");
  int maxResults=query.getMaxResults();
  return queryList(session, "select from "+getSchemaClass()+
            " where retries > 0"
            + " and (duedate is null or duedate <= ?)"
            + " and (lockOwner is null or lockExpirationTime < ?)"
            + " and exclusive = true"
            + " and suspensionState = 1"
            + " LIMIT ?", now, now, maxResults);
}

origin: OrienteerBAP/Orienteer

@Statement
public List<JobEntity> selectNextJobsToExecute(OPersistenceSession session, ListQueryParameterObject query) {
  Map<String, Object> params = (Map<String, Object>) query.getParameter();
  Date now=(Date) params.get("now");
  int maxResults=query.getMaxResults();
  String orderBy = query.getOrderBy();
  return queryList(session, "select from "+getSchemaClass()+
            " where retries > 0"
            + " and (duedate is null or duedate <= ?)"
            + " and (lockOwner is null or lockExpirationTime < ?)"
            + " and suspensionState = 1"
            + (Strings.isEmpty(orderBy)?" order by "+orderBy:"")
            + " LIMIT ?", now, now, maxResults);
}

org.camunda.bpm.engine.impl.dbListQueryParameterObjectgetMaxResults

Popular methods of ListQueryParameterObject

  • <init>
  • getAuthCheck
  • getFirstResult
  • getOrderingProperties
  • getTenantCheck
  • setParameter
  • getOrderBy
  • getParameter

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • getSystemService (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JCheckBox (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now