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 InvokeSelectorContext
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface InvokeSelectorContext
IfsException
- if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface InvokeSelectorContext
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failspublic LibraryObject[] getResult() throws IfsException
getResult
in interface InvokeSelectorContext
IfsException
- if the operation failspublic void setResult(LibraryObject[] result) throws IfsException
setResult
in interface InvokeSelectorContext
result
- results for this contextIfsException
- if the operation failspublic String getSearchClassname() throws IfsException
getSearchClassname
in interface InvokeSelectorContext
IfsException
- if the operation failspublic void setSearchClassname(String classname) throws IfsException
setSearchClassname
in interface InvokeSelectorContext
classname
- name of the class to be used for this contextIfsException
- if the operation failspublic String getWhereClause() throws IfsException
getWhereClause
in interface InvokeSelectorContext
IfsException
- if the operation failspublic void setWhereClause(String whereClause) throws IfsException
setWhereClause
in interface InvokeSelectorContext
whereClause
- WHERE clause for this contextIfsException
- if the operation failspublic SortSpecification getSortSpecification() throws IfsException
getSortSpecification
in interface InvokeSelectorContext
IfsException
- if the operation failspublic void setSortSpecification(SortSpecification sortSpec) throws IfsException
setSortSpecification
in interface InvokeSelectorContext
sortSpec
- sets the SortSpecification for this contextIfsException
- if the operation failsCopyright © 2023. All rights reserved.