Package com.saperion.ngc.resultset
Class ModelResultImpl
java.lang.Object
com.saperion.ngc.resultset.ModelResultImpl
- All Implemented Interfaces:
ModelResult
Event for ModelResultSet.
-
Constructor Summary
Constructors -
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 ddc) 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.
-
Constructor Details
-
ModelResultImpl
public ModelResultImpl()Constructor.
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceModelResult- Returns:
- result as list of ResultProperties
- See Also:
-
setPaging
Sets the paging.- Specified by:
setPagingin interfaceModelResult- Parameters:
paging- paging object- See Also:
-
getPaging
- Specified by:
getPagingin interfaceModelResult- Returns:
- the paging object
- See Also:
-
setQuery
public void setQuery(com.saperion.rmi.SaQueryInfo queryInfo) Sets the query string.- Specified by:
setQueryin interfaceModelResult- Parameters:
queryInfo- query info- See Also:
-
getQuery
public com.saperion.rmi.SaQueryInfo getQuery()- Specified by:
getQueryin interfaceModelResult- Returns:
- query string
- See Also:
-
setResult
Sets the result.- Specified by:
setResultin interfaceModelResult- Parameters:
resultList- query result- See Also:
-
isFolderSearch
public boolean isFolderSearch()- Specified by:
isFolderSearchin interfaceModelResult- Returns:
- true if the last search was a folder search
- See Also:
-
setFolderSearch
public void setFolderSearch(boolean folderSearch) Set to true if the last search was a folder search.- Specified by:
setFolderSearchin interfaceModelResult- Parameters:
folderSearch- folder search- See Also:
-
getFolderId
- Specified by:
getFolderIdin interfaceModelResult- Returns:
- folder id or null if the last search was no folder search
- See Also:
-
setFolderId
Sets the folder id.- Specified by:
setFolderIdin interfaceModelResult- Parameters:
folderId- folder id- See Also:
-
getFolderFilter
public com.saperion.rmi.SaQueryInfo getFolderFilter()- Specified by:
getFolderFilterin interfaceModelResult- Returns:
- folder filter or null if the last search was no folder search
- See Also:
-
setFolderFilter
public void setFolderFilter(com.saperion.rmi.SaQueryInfo folderFilter) Sets the folder filter.- Specified by:
setFolderFilterin interfaceModelResult- Parameters:
folderFilter- folder filter- See Also:
-
getFolderDDC
- Specified by:
getFolderDDCin interfaceModelResult- Returns:
- folder ddc or null if the last search was no folder search
- See Also:
-
setFolderDDC
Sets the folder ddc.- Specified by:
setFolderDDCin interfaceModelResult- Parameters:
ddc- folder ddc- See Also:
-
setCreatedByFiltering
public void setCreatedByFiltering(boolean createdByFiltering) Sets the created by filtering property. Indicates if a ModelResult was created by the client-side filter.- Specified by:
setCreatedByFilteringin interfaceModelResult- Parameters:
createdByFiltering- the new value- See Also:
-
isCreatedByFiltering
public boolean isCreatedByFiltering()Indicates if a ModelResult was created by the client-side filter.- Specified by:
isCreatedByFilteringin interfaceModelResult- Returns:
- true, if created by filtering
- See Also:
-