public class IfsStringListCommand extends IfsCommand
Inputs:
| Modifier and Type | Field and Description |
|---|---|
protected CommandContextPool |
m_AttrDisplayPool |
protected CommandContextPool |
m_GetAttrNamesPool |
protected CommandContextPool |
m_GetAttrsPool |
| Constructor and Description |
|---|
IfsStringListCommand()
Defualt Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected void |
execute(StringListContext context)
Executes a StringListContext.
|
protected void |
executeAttributeStringDisplay(LibraryObject obj,
AttributeValue[] attrs,
boolean namesOnly,
LibrarySession session,
StringBuffer buffer,
boolean obfuscate) |
protected String[] |
executeGetAttributeNames(LibraryObject obj) |
protected AttributeValue[] |
executeGetAttributes(LibraryObject obj,
String[] attrNames) |
protected IfsAttributeStringDisplayCommand |
getAttributeStringDisplayCommand() |
protected IfsGetAttributeNamesCommand |
getGetAttributeNamesCommand() |
protected IfsGetAttributesCommand |
getGetAttributesCommand() |
void |
populateNestedCommands(CommandInvoker commandInvoker)
Populate all the needed nested commands.
|
postExecute, preExecute, runprotected CommandContextPool m_GetAttrNamesPool
protected CommandContextPool m_GetAttrsPool
protected CommandContextPool m_AttrDisplayPool
public IfsStringListCommand()
public void populateNestedCommands(CommandInvoker commandInvoker) throws IfsException
IfsCommand
CommandInvoker is not guaranteed to exist for the lifetime of
the command. Therefore, the command should not keep a reference to the
command invoker and it should acquire all the references to the needed
commands in this call-back method.
populateNestedCommands in interface CommandpopulateNestedCommands in class IfsCommandcommandInvoker - The CommandInvoker object that can be
used to acquire references to the needed
sub-commands.IfsException - If there is any exception thrown.CommandInvokerprotected IfsAttributeStringDisplayCommand getAttributeStringDisplayCommand() throws IfsException
IfsExceptionprotected IfsGetAttributesCommand getGetAttributesCommand() throws IfsException
IfsExceptionprotected IfsGetAttributeNamesCommand getGetAttributeNamesCommand() throws IfsException
IfsExceptionprotected void execute(CommandContext context) throws IfsException
execute in class IfsCommandcontext - the command context.IfsException - if execution failsprotected String[] executeGetAttributeNames(LibraryObject obj) throws IfsException
IfsExceptionprotected AttributeValue[] executeGetAttributes(LibraryObject obj, String[] attrNames) throws IfsException
IfsExceptionprotected void executeAttributeStringDisplay(LibraryObject obj, AttributeValue[] attrs, boolean namesOnly, LibrarySession session, StringBuffer buffer, boolean obfuscate) throws IfsException
IfsExceptionprotected void execute(StringListContext context) throws IfsException
IfsExceptionpublic CommandContext createCommandContext() throws IfsException
createCommandContext in interface CommandcreateCommandContext in class IfsCommandCommandContext.IfsExceptionCommandContextCopyright © 2025. All rights reserved.