Package com.saperion.ngc.resultset
Interface ModelResult
- All Known Implementing Classes:
ModelResultImpl
public interface ModelResult
Interface for query results.
-
Method Summary
Modifier and TypeMethodDescriptioncom.saperion.rmi.SaQueryInfocom.saperion.rmi.SaQueryInfogetQuery()booleanIndicates if a ModelResult was created by the client-side filter.booleanvoidsetCreatedByFiltering(boolean createdByFiltering) Sets the created by filtering property.voidsetFolderDDC(String folderDDC) Sets the folder ddc.voidsetFolderFilter(com.saperion.rmi.SaQueryInfo folderFilter) Sets the folder filter.voidsetFolderId(String folderId) Sets the folder id.voidsetFolderSearch(boolean folderSearch) Set to true if the last search was a folder search.voidsetPaging(ResultPaging paging) Sets the paging.voidsetQuery(com.saperion.rmi.SaQueryInfo queryInfo) Sets the query string.voidsetResult(List<ResultProperties> resultList) Sets the result.
-
Method Details
-
getResult
List<ResultProperties> getResult()- Returns:
- result as list of ResultProperties
-
setPaging
Sets the paging.- Parameters:
paging- paging object
-
getPaging
ResultPaging getPaging()- Returns:
- the paging object
-
setQuery
void setQuery(com.saperion.rmi.SaQueryInfo queryInfo) Sets the query string.- Parameters:
queryInfo- query info
-
getQuery
com.saperion.rmi.SaQueryInfo getQuery()- Returns:
- query string
-
setResult
Sets the result.- Parameters:
resultList- query result
-
isFolderSearch
boolean isFolderSearch()- Returns:
- true if the last search was a folder search
-
setFolderSearch
void setFolderSearch(boolean folderSearch) Set to true if the last search was a folder search.- Parameters:
folderSearch- folder search
-
getFolderId
String getFolderId()- Returns:
- folder id or null if the last search was no folder search
-
setFolderId
Sets the folder id.- Parameters:
folderId- folder id
-
getFolderDDC
String getFolderDDC()- Returns:
- folder ddc or null if the last search was no folder search
-
setFolderDDC
Sets the folder ddc.- Parameters:
folderDDC- folder ddc
-
getFolderFilter
com.saperion.rmi.SaQueryInfo getFolderFilter()- Returns:
- folder filter or null if the last search was no folder search
-
setFolderFilter
void setFolderFilter(com.saperion.rmi.SaQueryInfo folderFilter) Sets the folder filter.- Parameters:
folderFilter- folder filter
-
setCreatedByFiltering
void setCreatedByFiltering(boolean createdByFiltering) Sets the created by filtering property. Indicates if a ModelResult was created by the client-side filter.- Parameters:
createdByFiltering- the new value
-
isCreatedByFiltering
boolean isCreatedByFiltering()Indicates if a ModelResult was created by the client-side filter.- Returns:
- true, if created by filtering
-