public class IfsAttributeStringDisplayContext extends IfsCommandContext implements AttributeStringDisplayContext
Constructor and Description |
---|
IfsAttributeStringDisplayContext()
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context. does not throw.
|
AttributeValue[] |
getAttributes()
Gets the AttributeValues for the LibraryObject
|
StringBuffer |
getDisplayBuffer()
Gets the displayable string.
|
boolean |
getIsObfuscated()
Gets a boolean flag as to wether the output of the command
should contain id and date strings.
|
LibraryObject |
getLibraryObject()
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 |
setAttributes(AttributeValue[] attrs)
Sets the AttributeValues for the LibraryObject
|
void |
setDisplayBuffer(StringBuffer displayString)
Sets the displayable string.
|
void |
setIsObfuscated(boolean obfuscate)
Sets a boolean flag as to wether the output of the command
should contain id and date strings.
|
void |
setLibraryObject(LibraryObject obj)
Sets the the LibraryObject
|
void |
setLibrarySession(LibrarySession session)
Sets 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 IfsAttributeStringDisplayContext() throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public boolean getNamesOnly() throws IfsException
getNamesOnly
in interface AttributeStringDisplayContext
IfsException
public void setNamesOnly(boolean namesOnly) throws IfsException
setNamesOnly
in interface AttributeStringDisplayContext
IfsException
public LibraryObject getLibraryObject() throws IfsException
getLibraryObject
in interface AttributeStringDisplayContext
IfsException
public void setLibraryObject(LibraryObject obj) throws IfsException
setLibraryObject
in interface AttributeStringDisplayContext
IfsException
public AttributeValue[] getAttributes() throws IfsException
getAttributes
in interface AttributeStringDisplayContext
IfsException
public void setAttributes(AttributeValue[] attrs) throws IfsException
setAttributes
in interface AttributeStringDisplayContext
IfsException
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface AttributeStringDisplayContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface AttributeStringDisplayContext
IfsException
public StringBuffer getDisplayBuffer() throws IfsException
getDisplayBuffer
in interface AttributeStringDisplayContext
IfsException
public void setDisplayBuffer(StringBuffer displayString) throws IfsException
setDisplayBuffer
in interface AttributeStringDisplayContext
IfsException
public boolean getIsObfuscated() throws IfsException
getIsObfuscated
in interface AttributeStringDisplayContext
IfsException
public void setIsObfuscated(boolean obfuscate) throws IfsException
setIsObfuscated
in interface AttributeStringDisplayContext
IfsException
Copyright © 2023. All rights reserved.