java.lang.Object
com.genologics.ri.processtemplate.ProcessTemplates
- All Implemented Interfaces:
Batch<ProcessTemplateLink>
,PaginatedBatch<ProcessTemplateLink>
,Serializable
,Iterable<ProcessTemplateLink>
public class ProcessTemplates
extends Object
implements PaginatedBatch<ProcessTemplateLink>, Serializable
The representation of a list of Process Template 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
Modifier and TypeFieldDescriptionprotected Page
protected Page
protected List<ProcessTemplateLink>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetList()
int
getSize()
iterator()
void
setNextPage
(Page nextPage) void
setPreviousPage
(Page previousPage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
processTemplates
-
previousPage
-
nextPage
-
-
Constructor Details
-
ProcessTemplates
public ProcessTemplates()
-
-
Method Details
-
getProcessTemplates
-
iterator
- Specified by:
iterator
in interfaceIterable<ProcessTemplateLink>
-
getList
- Specified by:
getList
in interfaceBatch<ProcessTemplateLink>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceBatch<ProcessTemplateLink>
-
getPreviousPage
- Specified by:
getPreviousPage
in interfacePaginatedBatch<ProcessTemplateLink>
-
setPreviousPage
- Specified by:
setPreviousPage
in interfacePaginatedBatch<ProcessTemplateLink>
-
getNextPage
- Specified by:
getNextPage
in interfacePaginatedBatch<ProcessTemplateLink>
-
setNextPage
- Specified by:
setNextPage
in interfacePaginatedBatch<ProcessTemplateLink>
-