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.SaQueryInfo
com.saperion.rmi.SaQueryInfo
getQuery()
boolean
Indicates if a ModelResult was created by the client-side filter.boolean
void
setCreatedByFiltering
(boolean createdByFiltering) Sets the created by filtering property.void
setFolderDDC
(String ddc) Sets the folder ddc.void
setFolderFilter
(com.saperion.rmi.SaQueryInfo folderFilter) Sets the folder filter.void
setFolderId
(String folderId) Sets the folder id.void
setFolderSearch
(boolean folderSearch) Set to true if the last search was a folder search.void
setPaging
(ResultPaging paging) Sets the paging.void
setQuery
(com.saperion.rmi.SaQueryInfo queryInfo) Sets the query string.void
setResult
(List<ResultProperties> resultList) Sets the result.
-
Constructor Details
-
ModelResultImpl
public ModelResultImpl()Constructor.
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceModelResult
- Returns:
- result as list of ResultProperties
- See Also:
-
setPaging
Sets the paging.- Specified by:
setPaging
in interfaceModelResult
- Parameters:
paging
- paging object- See Also:
-
getPaging
- Specified by:
getPaging
in interfaceModelResult
- Returns:
- the paging object
- See Also:
-
setQuery
public void setQuery(com.saperion.rmi.SaQueryInfo queryInfo) Sets the query string.- Specified by:
setQuery
in interfaceModelResult
- Parameters:
queryInfo
- query info- See Also:
-
getQuery
public com.saperion.rmi.SaQueryInfo getQuery()- Specified by:
getQuery
in interfaceModelResult
- Returns:
- query string
- See Also:
-
setResult
Sets the result.- Specified by:
setResult
in interfaceModelResult
- Parameters:
resultList
- query result- See Also:
-
isFolderSearch
public boolean isFolderSearch()- Specified by:
isFolderSearch
in 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:
setFolderSearch
in interfaceModelResult
- Parameters:
folderSearch
- folder search- See Also:
-
getFolderId
- Specified by:
getFolderId
in interfaceModelResult
- Returns:
- folder id or null if the last search was no folder search
- See Also:
-
setFolderId
Sets the folder id.- Specified by:
setFolderId
in interfaceModelResult
- Parameters:
folderId
- folder id- See Also:
-
getFolderFilter
public com.saperion.rmi.SaQueryInfo getFolderFilter()- Specified by:
getFolderFilter
in 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:
setFolderFilter
in interfaceModelResult
- Parameters:
folderFilter
- folder filter- See Also:
-
getFolderDDC
- Specified by:
getFolderDDC
in interfaceModelResult
- Returns:
- folder ddc or null if the last search was no folder search
- See Also:
-
setFolderDDC
Sets the folder ddc.- Specified by:
setFolderDDC
in 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:
setCreatedByFiltering
in 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:
isCreatedByFiltering
in interfaceModelResult
- Returns:
- true, if created by filtering
- See Also:
-