java.lang.Object
com.genologics.ri.process.ClarityProcesses
- All Implemented Interfaces:
Batch<ProcessLink>,PaginatedBatch<ProcessLink>,Serializable,Iterable<ProcessLink>
The representation of a list of process links.
The system enforces a maximum number of elements when generating the list of links. When the size of the request result set is larger than the system maximum, the list represents a paged view of the overall results, and the previous-page and next-page elements provide URIs linking to the previous or next page of links in the overall results.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PageThe link to the next page of results.protected PageThe link to the previous page of results.protected List<ProcessLink>The list of process links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of process links.Gets the next page link.Gets the previous page link.Gets the list of processes.intgetSize()Gets the size of the list.voidsetNextPage(Page nextPage) Sets the next page link.voidsetPreviousPage(Page previousPage) Sets the previous page link.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
processes
The list of process links. -
previousPage
The link to the previous page of results. -
nextPage
The link to the next page of results.
-
-
Constructor Details
-
ClarityProcesses
public ClarityProcesses()Default constructor.
-
-
Method Details
-
getProcesses
Gets the list of processes.- Returns:
- the list of process links.
-
getList
Gets the list of process links.- Specified by:
getListin interfaceBatch<ProcessLink>- Returns:
- the list of process links.
-
getSize
public int getSize()Gets the size of the list.- Specified by:
getSizein interfaceBatch<ProcessLink>- Returns:
- the number of process links in the list.
-
getPreviousPage
Gets the previous page link.- Specified by:
getPreviousPagein interfacePaginatedBatch<ProcessLink>- Returns:
- the previous page link.
-
setPreviousPage
Sets the previous page link.- Specified by:
setPreviousPagein interfacePaginatedBatch<ProcessLink>- Parameters:
previousPage- the previous page link to set.
-
getNextPage
Gets the next page link.- Specified by:
getNextPagein interfacePaginatedBatch<ProcessLink>- Returns:
- the next page link.
-
setNextPage
Sets the next page link.- Specified by:
setNextPagein interfacePaginatedBatch<ProcessLink>- Parameters:
nextPage- the next page link to set.
-