public class IfsInvokeSelectorAndListOutputContext extends IfsCommandContext implements InvokeSelectorAndListOutputContext
Command specification for IfsInvokeSelectorAndListOutputCommand
Inputs:
LISTING_OPTION_ALL, LISTING_OPTION_LONG, LISTING_OPTION_NAME, LISTING_OPTION_SUPPLIED_ATTRIBUTES| Constructor and Description |
|---|
IfsInvokeSelectorAndListOutputContext()
Default Constructor.
|
IfsInvokeSelectorAndListOutputContext(LibrarySession session,
String classname,
String whereClause,
SortSpecification sortSpec,
int listingOption,
String[] attributeNames)
Constructor which sets up all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the Context.
|
String[] |
getAttributeNames()
Gets the names of the attributes in result attribute list.
|
boolean |
getIsObfuscated()
Gets a boolean flag as to wether the output of the command
should contain id and date strings.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
int |
getListingOption()
Gets the listing option.
|
StringBuffer |
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 |
setAttributeNames(String[] attributeNames)
Sets the names of attribute names to be preset in the output.
|
void |
setIsObfuscated(boolean obfuscate)
Sets a boolean flag as to wether the output of the command
should contain id and date strings.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
void |
setListingOption(int value)
Sets the listing option.
|
void |
setResult(StringBuffer 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 IfsInvokeSelectorAndListOutputContext()
throws IfsException
IfsException - if the operation failspublic IfsInvokeSelectorAndListOutputContext(LibrarySession session, String classname, String whereClause, SortSpecification sortSpec, int listingOption, String[] attributeNames) throws IfsException
session - LibrarySession instance to execute the commandclassname - name of the search classwhereClause - WHERE clause for this contextsortSpec - sort spec for this contextlistingOption - indicates what type of attribute listing to be usedattributeNames - list of attribute names to be displayed if that option is chosenIfsException - if the operation failspublic void clear()
clear in interface InvokeSelectorAndListOutputContextclear in interface CommandContextclear in class IfsCommandContextpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface InvokeSelectorAndListOutputContextsession - instance of LibrarySession to be used in this command contextIfsException - if the operation failspublic StringBuffer getResult() throws IfsException
getResult in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setResult(StringBuffer result) throws IfsException
setResult in interface InvokeSelectorAndListOutputContextresult - results for this contextIfsException - if the operation failspublic String getSearchClassname() throws IfsException
getSearchClassname in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setSearchClassname(String classname) throws IfsException
setSearchClassname in interface InvokeSelectorAndListOutputContextclassname - name of the class to be used for this contextIfsException - if the operation failspublic String getWhereClause() throws IfsException
getWhereClause in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setWhereClause(String whereClause) throws IfsException
setWhereClause in interface InvokeSelectorAndListOutputContextwhereClause - WHERE clause for this contextIfsException - if the operation failspublic SortSpecification getSortSpecification() throws IfsException
getSortSpecification in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setSortSpecification(SortSpecification sortSpec) throws IfsException
setSortSpecification in interface InvokeSelectorAndListOutputContextsortSpec - sets the SortSpecification for this contextIfsException - if the operation failspublic String[] getAttributeNames() throws IfsException
getAttributeNames in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setAttributeNames(String[] attributeNames) throws IfsException
setAttributeNames in interface InvokeSelectorAndListOutputContextattributeNames - names of attribute in the result list.IfsException - if the operation failspublic int getListingOption()
throws IfsException
getListingOption in interface InvokeSelectorAndListOutputContextIfsException - if the operation failspublic void setListingOption(int value)
throws IfsException
setListingOption in interface InvokeSelectorAndListOutputContextvalue - value to be set for show all attributes flagIfsException - if the operation failspublic boolean getIsObfuscated()
throws IfsException
getIsObfuscated in interface InvokeSelectorAndListOutputContextIfsExceptionpublic void setIsObfuscated(boolean obfuscate)
throws IfsException
setIsObfuscated in interface InvokeSelectorAndListOutputContextIfsExceptionCopyright © 2025. All rights reserved.