|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.ServiceImpl
org.camunda.bpm.engine.impl.FilterServiceImpl
public class FilterServiceImpl
| Field Summary |
|---|
| Fields inherited from class org.camunda.bpm.engine.impl.ServiceImpl |
|---|
commandExecutor |
| Constructor Summary | |
|---|---|
FilterServiceImpl()
|
|
| Method Summary | ||
|---|---|---|
Long |
count(String filterId)
Executes the query of the filter and returns the result count. |
|
Long |
count(String filterId,
Query<?,?> extendingQuery)
Executes the extended query of the filter and returns the result count. |
|
FilterQuery |
createFilterQuery()
Creates a new filter query |
|
FilterQuery |
createTaskFilterQuery()
Creates a new task filter query. |
|
void |
deleteFilter(String filterId)
Deletes a filter by its id. |
|
Filter |
getFilter(String filterId)
Returns the filter for the given filter id. |
|
|
list(String filterId)
Executes the query of the filter and returns the result as list. |
|
|
list(String filterId,
Q extendingQuery)
Executes the extended query of a filter and returns the result as list. |
|
|
listPage(String filterId,
int firstResult,
int maxResults)
Executes the query of the filter and returns the result in the given boundaries as list. |
|
|
listPage(String filterId,
Q extendingQuery,
int firstResult,
int maxResults)
Executes the extended query of a filter and returns the result in the given boundaries as list. |
|
Filter |
newTaskFilter()
Creates a new task filter. |
|
Filter |
newTaskFilter(String filterName)
Creates a new task filter with a given name. |
|
Filter |
saveFilter(Filter filter)
Saves the filter in the database. |
|
|
singleResult(String filterId)
Executes the query of the filter and returns the a single result. |
|
|
singleResult(String filterId,
Q extendingQuery)
Executes the extended query of the filter and returns the a single result. |
|
| Methods inherited from class org.camunda.bpm.engine.impl.ServiceImpl |
|---|
getCommandExecutor, setCommandExecutor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterServiceImpl()
| Method Detail |
|---|
public Filter newTaskFilter()
FilterService
newTaskFilter in interface FilterServicepublic Filter newTaskFilter(String filterName)
FilterService
newTaskFilter in interface FilterServicepublic FilterQuery createFilterQuery()
FilterService
createFilterQuery in interface FilterServicepublic FilterQuery createTaskFilterQuery()
FilterService
createTaskFilterQuery in interface FilterServicepublic Filter saveFilter(Filter filter)
FilterService
saveFilter in interface FilterServicefilter - the filter to save
public Filter getFilter(String filterId)
FilterService
getFilter in interface FilterServicefilterId - the id of the filter
public void deleteFilter(String filterId)
FilterService
deleteFilter in interface FilterServicefilterId - the id of the filterpublic <T> List<T> list(String filterId)
FilterService
list in interface FilterServicefilterId - the the id of the filter
public <T,Q extends Query<?,T>> List<T> list(String filterId,
Q extendingQuery)
FilterService
list in interface FilterServicefilterId - the id of the filterextendingQuery - additional query to extend the filter query
public <T> List<T> listPage(String filterId,
int firstResult,
int maxResults)
FilterService
listPage in interface FilterServicefilterId - the the id of the filterfirstResult - first result to selectmaxResults - maximal number of results
public <T,Q extends Query<?,T>> List<T> listPage(String filterId,
Q extendingQuery,
int firstResult,
int maxResults)
FilterService
listPage in interface FilterServicefilterId - the id of the filterextendingQuery - additional query to extend the filter queryfirstResult - first result to selectmaxResults - maximal number of results
public <T> T singleResult(String filterId)
FilterService
singleResult in interface FilterServicefilterId - the the id of the filter
public <T,Q extends Query<?,T>> T singleResult(String filterId,
Q extendingQuery)
FilterService
singleResult in interface FilterServicefilterId - the the id of the filterextendingQuery - additional query to extend the filter query
public Long count(String filterId)
FilterService
count in interface FilterServicefilterId - the the id of the filter
public Long count(String filterId,
Query<?,?> extendingQuery)
FilterService
count in interface FilterServicefilterId - the the id of the filterextendingQuery - additional query to extend the filter query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||