org.ow2.orchestra.facade.criteria
Class PagedResult<T>
java.lang.Object
org.ow2.orchestra.facade.criteria.PagedResult<T>
- All Implemented Interfaces:
- Serializable
public class PagedResult<T>
- extends Object
- implements Serializable
This class represents a page of ProcessInstances corresponding to a
requested Criteria.
- Author:
- Loic Albertin
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedResult
public PagedResult()
PagedResult
public PagedResult(List<T> elements,
int totalElementsCount)
- Parameters:
elements - Returned set of ProcessInstances for this pagetotalElementsCount -
getElements
public final List<T> getElements()
- Returns:
- Returns the set of
ProcessInstances for this page
getTotalElementsCount
public final long getTotalElementsCount()
- Returns:
- Returns the total number of elements corresponding to requested
Criteria restrictions.
setTotalElementsCount
public final void setTotalElementsCount(long totalElementsCount)
- Parameters:
totalElementsCount - The totalElementsCount to set
Copyright © 2012 OW2 Consortium. All Rights Reserved.