java.lang.Object
com.genologics.ri.savedquery.SavedQueries
- All Implemented Interfaces:
Batch<SavedQueryLink>,PaginatedBatch<SavedQueryLink>,Serializable,Iterable<SavedQueryLink>
Represents a paginated list of saved queries.
- Since:
- 2.34
- 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<SavedQueryLink>The list of saved query links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of saved query links.Gets the next page of results.Gets the previous page of results.Gets the list of saved query links.intgetSize()Gets the size of the saved query list.voidsetNextPage(Page nextPage) Sets the next page of results.voidsetPreviousPage(Page previousPage) Sets the previous page of results.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
-
savedQueries
The list of saved query links. -
previousPage
The link to the previous page of results. -
nextPage
The link to the next page of results.
-
-
Constructor Details
-
SavedQueries
public SavedQueries()Default constructor.
-
-
Method Details
-
getSavedQueries
Gets the list of saved query links.- Returns:
- The list of saved query links.
-
getList
Gets the list of saved query links.- Specified by:
getListin interfaceBatch<SavedQueryLink>- Returns:
- The list of saved query links.
-
getSize
public int getSize()Gets the size of the saved query list.- Specified by:
getSizein interfaceBatch<SavedQueryLink>- Returns:
- The number of saved queries in the list.
-
getPreviousPage
Gets the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<SavedQueryLink>- Returns:
- The previous page.
-
setPreviousPage
Sets the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<SavedQueryLink>- Parameters:
previousPage- The previous page.
-
getNextPage
Gets the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<SavedQueryLink>- Returns:
- The next page.
-
setNextPage
Sets the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<SavedQueryLink>- Parameters:
nextPage- The next page.
-