java.lang.Object
com.genologics.ri.automation.Automations
- All Implemented Interfaces:
Batch<AutomationLink>,PaginatedBatch<AutomationLink>,Serializable,Iterable<AutomationLink>
A list of automation links returned from a query.
This class supports pagination through previous-page and next-page links.
- Since:
- 2.26
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AutomationLink>The list of automation links.protected PageThe link to the next page of results.protected PageThe link to the previous page of results.protected URIThe URI of this automations resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of automations.getList()Gets the list of automation links.Gets the next page of results.Gets the previous page of results.intgetSize()Gets the size of the automation list.getUri()Gets the URI of this automations resource.voidsetNextPage(Page value) Sets the next page of results.voidsetPreviousPage(Page value) Sets the previous page of results.voidSets the URI of this automations resource.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
-
automations
The list of automation links. -
previousPage
The link to the previous page of results. -
nextPage
The link to the next page of results. -
uri
The URI of this automations resource.
-
-
Constructor Details
-
Automations
public Automations()Default constructor.
-
-
Method Details
-
getList
Gets the list of automation links.- Specified by:
getListin interfaceBatch<AutomationLink>- Returns:
- The list of automation links.
-
getSize
public int getSize()Gets the size of the automation list.- Specified by:
getSizein interfaceBatch<AutomationLink>- Returns:
- The number of automations.
-
getAutomations
Gets the list of automations.- Returns:
- The list of automation links.
-
getPreviousPage
Gets the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<AutomationLink>- Returns:
- The previous page, or null if there is no previous page.
-
setPreviousPage
Sets the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<AutomationLink>- Parameters:
value- The previous page.
-
getNextPage
Gets the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<AutomationLink>- Returns:
- The next page, or null if there is no next page.
-
setNextPage
Sets the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<AutomationLink>- Parameters:
value- The next page.
-
getUri
Gets the URI of this automations resource.- Returns:
- The URI.
-
setUri
Sets the URI of this automations resource.- Parameters:
value- The URI.
-