java.lang.Object
com.genologics.ri.project.Projects
- All Implemented Interfaces:
Batch<ProjectLink>,PaginatedBatch<ProjectLink>,Serializable,Iterable<ProjectLink>
The representation of a list of project 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 next page of results.protected PageThe previous page of results.protected List<ProjectLink>The list of project links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Get the list of project links.Get the next page of results.Get the previous page of results.Get the list of project links.intgetSize()Get the number of project links.voidsetNextPage(Page nextPage) Set the next page of results.voidsetPreviousPage(Page previousPage) Set 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
-
projects
The list of project links. -
previousPage
The previous page of results. -
nextPage
The next page of results.
-
-
Constructor Details
-
Projects
public Projects()Constructor for Projects.
-
-
Method Details
-
getProjects
Get the list of project links.- Returns:
- The list of project links.
-
getList
Get the list of project links.- Specified by:
getListin interfaceBatch<ProjectLink>- Returns:
- The list of project links.
-
getSize
public int getSize()Get the number of project links.- Specified by:
getSizein interfaceBatch<ProjectLink>- Returns:
- The size of the list.
-
getPreviousPage
Get the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<ProjectLink>- Returns:
- The previous page.
-
setPreviousPage
Set the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<ProjectLink>- Parameters:
previousPage- The previous page.
-
getNextPage
Get the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<ProjectLink>- Returns:
- The next page.
-
setNextPage
Set the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<ProjectLink>- Parameters:
nextPage- The next page.
-