public class IfsInvokeSelectorContext extends IfsCommandContext implements InvokeSelectorContext
Command specification IfsInvokeSelectorCommand
Inputs:
| Constructor and Description |
|---|
IfsInvokeSelectorContext()
Default Constructor.
|
IfsInvokeSelectorContext(LibrarySession session,
String classname,
String whereClause,
SortSpecification sortSpec)
Constructor which sets up all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the Context.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
LibraryObject[] |
getResult()
Gets the Results.
|
String |
getSearchClassname()
Gets the Search class name.
|
SortSpecification |
getSortSpecification()
Gets the sort specification.
|
String |
getWhereClause()
Gets the Search WHERE clause.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
void |
setResult(LibraryObject[] result)
Sets the result.
|
void |
setSearchClassname(String classname)
Sets the Search class name.
|
void |
setSortSpecification(SortSpecification sortSpec)
Sets the sort specification.
|
void |
setWhereClause(String whereClause)
Sets the Search WHERE clause.
|
public IfsInvokeSelectorContext()
throws IfsException
IfsException - if the operation failspublic IfsInvokeSelectorContext(LibrarySession session, String classname, String whereClause, SortSpecification sortSpec) throws IfsException
session - LibrarySession instance to execute the commandclassname - name of the search classwhereClause - WHERE clause for this contextsortSpec - sort spec for this contextIfsException - if the operation failspublic void clear()
clear in interface InvokeSelectorContextclear in interface CommandContextclear in class IfsCommandContextpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface InvokeSelectorContextIfsException - if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface InvokeSelectorContextsession - instance of LibrarySession to be used in this command contextIfsException - if the operation failspublic LibraryObject[] getResult() throws IfsException
getResult in interface InvokeSelectorContextIfsException - if the operation failspublic void setResult(LibraryObject[] result) throws IfsException
setResult in interface InvokeSelectorContextresult - results for this contextIfsException - if the operation failspublic String getSearchClassname() throws IfsException
getSearchClassname in interface InvokeSelectorContextIfsException - if the operation failspublic void setSearchClassname(String classname) throws IfsException
setSearchClassname in interface InvokeSelectorContextclassname - name of the class to be used for this contextIfsException - if the operation failspublic String getWhereClause() throws IfsException
getWhereClause in interface InvokeSelectorContextIfsException - if the operation failspublic void setWhereClause(String whereClause) throws IfsException
setWhereClause in interface InvokeSelectorContextwhereClause - WHERE clause for this contextIfsException - if the operation failspublic SortSpecification getSortSpecification() throws IfsException
getSortSpecification in interface InvokeSelectorContextIfsException - if the operation failspublic void setSortSpecification(SortSpecification sortSpec) throws IfsException
setSortSpecification in interface InvokeSelectorContextsortSpec - sets the SortSpecification for this contextIfsException - if the operation failsCopyright © 2025. All rights reserved.