public class IfsAttributeStringDisplayCommand extends IfsCommand
Command specification for IfsAttributeStringDisplayCommand
Inputs:
Constructor and Description |
---|
IfsAttributeStringDisplayCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected StringBuffer |
displayLongList(StringBuffer buffer,
LibraryObject lo,
LibrarySession session,
boolean obfuscate) |
protected StringBuffer |
displayName(StringBuffer buffer,
LibraryObject lo,
LibrarySession session) |
protected void |
execute(AttributeStringDisplayContext context)
Executes a AttributeStringDisplayContext.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected String |
getMeaningfulString(AttributeValue attr,
LibrarySession session,
boolean obfuscate)
Gets a meaningful string based on the type of AttributeValue.
|
protected String |
getMeaningfulString(boolean[] objs)
Gets a meaningful string for a boolean[].
|
protected String |
getMeaningfulString(Date[] objs,
boolean obfuscate)
Gets a meaningful string for a Date[].
|
protected String |
getMeaningfulString(double[] objs)
Gets a meaningful string for a double[].
|
protected String |
getMeaningfulString(int[] objs)
Gets a meaningful string for a int[].
|
protected String |
getMeaningfulString(LibraryObject[] objs,
boolean obfuscate)
Gets a meaningful string for a LibraryObject[].
|
protected String |
getMeaningfulString(LibraryObject obj,
boolean obfuscate)
Gets a meaningful string for a LibraryObject.
|
protected String |
getMeaningfulString(long[] objs)
Gets a meaningful string for a long[].
|
protected String |
getMeaningfulString(Map map) |
protected String |
getMeaningfulString(String[] objs)
Gets a meaningful string for a String[].
|
protected StringBuffer |
outputObjectVertical(StringBuffer buffer,
LibraryObject obj,
AttributeValue[] attrs,
LibrarySession session,
boolean obfuscate) |
populateNestedCommands, postExecute, preExecute, run
public IfsAttributeStringDisplayCommand()
protected void execute(CommandContext context) throws IfsException
execute
in class IfsCommand
context
- the command context.IfsException
- if execution failsprotected void execute(AttributeStringDisplayContext context) throws IfsException
IfsException
protected StringBuffer displayLongList(StringBuffer buffer, LibraryObject lo, LibrarySession session, boolean obfuscate) throws IfsException
IfsException
protected StringBuffer displayName(StringBuffer buffer, LibraryObject lo, LibrarySession session) throws IfsException
IfsException
protected StringBuffer outputObjectVertical(StringBuffer buffer, LibraryObject obj, AttributeValue[] attrs, LibrarySession session, boolean obfuscate) throws IfsException
IfsException
protected String getMeaningfulString(LibraryObject obj, boolean obfuscate) throws IfsException
IfsException
protected String getMeaningfulString(LibraryObject[] objs, boolean obfuscate) throws IfsException
IfsException
protected String getMeaningfulString(Date[] objs, boolean obfuscate)
protected String getMeaningfulString(String[] objs)
protected String getMeaningfulString(int[] objs)
protected String getMeaningfulString(double[] objs)
protected String getMeaningfulString(long[] objs)
protected String getMeaningfulString(boolean[] objs)
protected String getMeaningfulString(Map map) throws IfsException
IfsException
protected String getMeaningfulString(AttributeValue attr, LibrarySession session, boolean obfuscate) throws IfsException
IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
CommandContext
.IfsException
CommandContext
Copyright © 2023. All rights reserved.