public class IfsStringListContext extends IfsCommandContext implements StringListContext
Constructor and Description |
---|
IfsStringListContext()
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the CommandState. does not throw.
|
String[][] |
getAttributeNames()
Gets the Attribute names to obtain for the LibraryObject
|
String[] |
getAttributeNames(int index)
Gets the Attribute names to obtain for the LibraryObject
|
boolean |
getDisplayAllAttributes()
Gets wether or not to display all the attributes for the
LibraryObjects passed in.
|
StringBuffer |
getDisplayBuffer()
Gets the display buffer.
|
boolean |
getIsObfuscated()
Gets a boolean flag as to wether the output of the command
should contain id and date strings.
|
LibraryObject[] |
getLibraryObjects()
Gets the LibraryObject
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession
|
boolean |
getNamesOnly()
Gets a boolean falg as to wether the output of the command
should be names only or long form (as in ls -l)
this flag is only checked if the attribute names are null
|
void |
setAttributeNames(String[] attrNames)
Sets the Attribute names to get for all LibraryObjects
|
void |
setAttributeNames(String[][] attrNames)
Sets the Attribute names to get for the LibraryObject
|
void |
setDisplayAllAttributes(boolean displayAll)
Sets wether or not to display all the attributes for the
LibraryObjects passed in.
|
void |
setDisplayBuffer(StringBuffer buffer)
Sets the display buffer.
|
void |
setIsObfuscated(boolean obfuscate)
Sets a boolean flag as to wether the output of the command
should contain id and date strings.
|
void |
setLibraryObjects(LibraryObject[] objs)
Sets the the LibraryObject
|
void |
setLibrarySession(LibrarySession session)
Sets the the LibrarySession
|
void |
setNamesOnly(boolean namesOnly)
Sets a boolean falg as to wether the output of the command
should be names only or long form (as in ls -l)
this flag is only checked if the attribute names are null
|
public IfsStringListContext() throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibraryObject[] getLibraryObjects() throws IfsException
getLibraryObjects
in interface StringListContext
IfsException
public void setLibraryObjects(LibraryObject[] objs) throws IfsException
setLibraryObjects
in interface StringListContext
IfsException
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface StringListContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface StringListContext
IfsException
public String[][] getAttributeNames() throws IfsException
getAttributeNames
in interface StringListContext
IfsException
public String[] getAttributeNames(int index) throws IfsException
getAttributeNames
in interface StringListContext
IfsException
public void setAttributeNames(String[][] attrNames) throws IfsException
setAttributeNames
in interface StringListContext
IfsException
public void setAttributeNames(String[] attrNames) throws IfsException
setAttributeNames
in interface StringListContext
IfsException
public boolean getNamesOnly() throws IfsException
getNamesOnly
in interface StringListContext
IfsException
public void setNamesOnly(boolean namesOnly) throws IfsException
setNamesOnly
in interface StringListContext
IfsException
public boolean getDisplayAllAttributes() throws IfsException
getDisplayAllAttributes
in interface StringListContext
IfsException
public void setDisplayAllAttributes(boolean displayAll) throws IfsException
setDisplayAllAttributes
in interface StringListContext
IfsException
public StringBuffer getDisplayBuffer() throws IfsException
getDisplayBuffer
in interface StringListContext
IfsException
public void setDisplayBuffer(StringBuffer buffer) throws IfsException
setDisplayBuffer
in interface StringListContext
IfsException
public boolean getIsObfuscated() throws IfsException
getIsObfuscated
in interface StringListContext
IfsException
public void setIsObfuscated(boolean obfuscate) throws IfsException
setIsObfuscated
in interface StringListContext
IfsException
Copyright © 2023. All rights reserved.