public interface InvokeSelectorAndListOutputContext extends CommandContext
Modifier and Type | Field and Description |
---|---|
static int |
LISTING_OPTION_ALL
Indicates the list all attributes option.
|
static int |
LISTING_OPTION_LONG
Indicates the long format listing option.
|
static int |
LISTING_OPTION_NAME
Indicates the list only name option.
|
static int |
LISTING_OPTION_SUPPLIED_ATTRIBUTES
Indicates the list attributes that are suuplied option.
|
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.
|
static final int LISTING_OPTION_ALL
static final int LISTING_OPTION_SUPPLIED_ATTRIBUTES
static final int LISTING_OPTION_NAME
static final int LISTING_OPTION_LONG
void clear()
clear
in interface CommandContext
StringBuffer getResult() throws IfsException
IfsException
- if the operation failsvoid setResult(StringBuffer result) throws IfsException
result
- results for this contextIfsException
- if the operation failsString getSearchClassname() throws IfsException
IfsException
- if the operation failsvoid setSearchClassname(String classname) throws IfsException
classname
- name of the class to be used for this contextIfsException
- if the operation failsString getWhereClause() throws IfsException
IfsException
- if the operation failsvoid setWhereClause(String whereClause) throws IfsException
whereClause
- WHERE clause for this contextIfsException
- if the operation failsSortSpecification getSortSpecification() throws IfsException
IfsException
- if the operation failsvoid setSortSpecification(SortSpecification sortSpec) throws IfsException
sortSpec
- sets the SortSpecification for this contextIfsException
- if the operation failsString[] getAttributeNames() throws IfsException
IfsException
- if the operation failsvoid setAttributeNames(String[] attributeNames) throws IfsException
attributeNames
- names of attribute in the result list.IfsException
- if the operation failsLibrarySession getLibrarySession() throws IfsException
IfsException
- if the operation failsvoid setLibrarySession(LibrarySession session) throws IfsException
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failsint getListingOption() throws IfsException
IfsException
- if the operation failsvoid setListingOption(int value) throws IfsException
value
- value to be set for show all attributes flagIfsException
- if the operation failsboolean getIsObfuscated() throws IfsException
IfsException
void setIsObfuscated(boolean obfuscate) throws IfsException
IfsException
Copyright © 2023. All rights reserved.