Path: / API / queryDefinitionAPI / getLightProcessesByIndexAndPageSizeWithPagingCriterion

Returns a "page" (i.e. a set) of processes ordered by the given criterion.


Method Summary
ResourceDescription
POST /API/queryDefinitionAPI/getLightProcessesByIndexAndPageSizeWithPagingCriterion?fromIndex=&pageSize=&pagingCriterion=Returns a "page" (i.e. a set) of processes ordered by the given criterion.

Method Detail
HTTP Example:
POST /API/queryDefinitionAPI/getLightProcessesByIndexAndPageSizeWithPagingCriterion?fromIndex=&pageSize=&pagingCriterion=

options=
API Example:

RemoteQueryDefinitionAPI.getLightProcesses({'fromIndex': /* fromIndex from which index the page is built */,
  'pageSize': /* pageSize the number of page elements */,
  'pagingCriterion': /* pagingCriterion the criterion used to sort the retrieved process */,
  'options': /* options the options map (domain, queyList, user) */});

Returns a "page" (i.e. a set) of processes ordered by the given criterion.

Output:
java.util.List<org.ow2.bonita.light.LightProcessDefinition> - an ordered list of LightProcessDefinition
Query parameters:
fromIndex - from which index the page is built
pageSize - the number of page elements
pagingCriterion - the criterion used to sort the retrieved process
Form parameters:
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml