Package com.eduix.genexp.storage
Class StorageSearchResultDTO<T>
- java.lang.Object
-
- com.eduix.genexp.storage.StorageQueryDTO
-
- com.eduix.genexp.storage.StorageSearchResultDTO<T>
-
- All Implemented Interfaces:
StorageQuery,StorageSearchResult<T>
public class StorageSearchResultDTO<T> extends StorageQueryDTO implements StorageSearchResult<T>
-
-
Constructor Summary
Constructors Constructor Description StorageSearchResultDTO()StorageSearchResultDTO(StorageQuery query)StorageSearchResultDTO(StorageSearchResult query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>getRows()longgetTotal()voidsetRows(List<T> rows)voidsetTotal(long total)-
Methods inherited from class com.eduix.genexp.storage.StorageQueryDTO
getCreatedAfter, getModifiedAfter, getNext, getOrganisation, getPageSize, getType, getValidDate, setCreatedAfter, setModifiedAfter, setNext, setOrganisation, setPageSize, setType, setValidDate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.eduix.genexp.storage.StorageQuery
getCreatedAfter, getModifiedAfter, getNext, getOrganisation, getPageSize, getType, getValidDate
-
-
-
-
Constructor Detail
-
StorageSearchResultDTO
public StorageSearchResultDTO()
-
StorageSearchResultDTO
public StorageSearchResultDTO(StorageQuery query)
-
StorageSearchResultDTO
public StorageSearchResultDTO(StorageSearchResult query)
-
-
Method Detail
-
getTotal
public long getTotal()
- Specified by:
getTotalin interfaceStorageSearchResult<T>- Returns:
- the total number of study elements
-
setTotal
public void setTotal(long total)
-
getRows
public List<T> getRows()
- Specified by:
getRowsin interfaceStorageSearchResult<T>- Returns:
- a list of study elements in a result page
-
-