Class ClarityProcesses

java.lang.Object
com.genologics.ri.process.ClarityProcesses
All Implemented Interfaces:
Batch<ProcessLink>, PaginatedBatch<ProcessLink>, Serializable, Iterable<ProcessLink>

public class ClarityProcesses extends Object implements PaginatedBatch<ProcessLink>, Serializable
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 Details

    • processes

      protected List<ProcessLink> processes
      The list of process links.
    • previousPage

      protected Page previousPage
      The link to the previous page of results.
    • nextPage

      protected Page nextPage
      The link to the next page of results.
  • Constructor Details

    • ClarityProcesses

      public ClarityProcesses()
      Default constructor.
  • Method Details

    • getProcesses

      public List<ProcessLink> getProcesses()
      Gets the list of processes.
      Returns:
      the list of process links.
    • getList

      public List<ProcessLink> getList()
      Gets the list of process links.
      Specified by:
      getList in interface Batch<ProcessLink>
      Returns:
      the list of process links.
    • getSize

      public int getSize()
      Gets the size of the list.
      Specified by:
      getSize in interface Batch<ProcessLink>
      Returns:
      the number of process links in the list.
    • getPreviousPage

      public Page getPreviousPage()
      Gets the previous page link.
      Specified by:
      getPreviousPage in interface PaginatedBatch<ProcessLink>
      Returns:
      the previous page link.
    • setPreviousPage

      public void setPreviousPage(Page previousPage)
      Sets the previous page link.
      Specified by:
      setPreviousPage in interface PaginatedBatch<ProcessLink>
      Parameters:
      previousPage - the previous page link to set.
    • getNextPage

      public Page getNextPage()
      Gets the next page link.
      Specified by:
      getNextPage in interface PaginatedBatch<ProcessLink>
      Returns:
      the next page link.
    • setNextPage

      public void setNextPage(Page nextPage)
      Sets the next page link.
      Specified by:
      setNextPage in interface PaginatedBatch<ProcessLink>
      Parameters:
      nextPage - the next page link to set.