|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.clients.beans.explorer.WTBusinessObject
wt.clients.folderexplorer.FolderedBusinessObject
public class FolderedBusinessObject
Class FolderedBusinessObject provides a wrapper class for
objects that appear in the WindchillExplorer. This class
is used as a wrapper for all objects that live inside of a
Folder. This class is necessary because the
WTExplorer, which is the basis for the WindchillExplorer,
manipulates WTBusinessObjects.
Supported API: true
Extendable: false
WTBusinessObject,
Serialized Form| Constructor Summary | |
|---|---|
FolderedBusinessObject(String identity,
FolderEntry folder_entry)
Constructor for class FolderedBusinessObject. |
|
FolderedBusinessObject(String identity,
String name,
String numr,
String vid,
String lcs,
String type,
String modDate,
String teamTemplate,
wt.util.IconSelector icon,
ObjectReference ref)
Constructor for class FolderedBusinessObject. |
|
| Method Summary | |
|---|---|
static String |
getAttributeValue(Object aDetail,
String anAttributeName)
Method getAttributeValue is a convenience method for
attempting to get a String value of the given attribute
from the given object. |
WTBusinessObject[] |
getDetails()
Method getDetails is invoked by the WTExplorer
in response to a node in the WTTree being selected. |
FolderEntry |
getFolderEntry()
Returns the FolderEntry object being wrapped by this object. |
String |
getFolderPath()
Returns the String folder path of the FolderEntry
object wrapped by this object. |
String |
getIdentity()
Returns the identity of the FolderEntry object wrapped by
this object. |
String |
getLCState()
Returns a String representation of the current Life
Cycle State of the FolderEntry object being wrapped by
this object. |
String |
getLocation()
Gets the String location of the FolderEntry
wrapped by this object. |
String |
getModifyDate()
Returns a String representation of the date on which the
FolderEntry object wrapped by this object was last
modified. |
String |
getName()
Returns the String name of the FolderEntry object
wrapped by this object. |
String |
getNumber()
Returns a String representation of the number associated
with the FolderEntry object being wrapped by this object. |
String |
getOrganizationId()
Returns a String which identifies the current organizationUniqueIdentifier of the
FolderEntry object wrapped by this object. |
String |
getTeamName()
Returns a String representation of the current team name
of the FolderEntry object being wrapped by this object. |
String |
getType()
Returns the particular type of the FolderEntry object being
wrapped by this object. |
String |
getVersionIdentity()
Returns a String which identifies the current Version of the
FolderEntry object wrapped by this object. |
boolean |
isEqual(FolderEntry folder_entry)
Method isEqual is a convenience method to determine if
a given FolderEntry object is the same object as the
FolderEntry object being wrapped by this object. |
void |
setFolderEntry(FolderEntry folder_entry)
Sets the FolderEntry object to be wrapped by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FolderedBusinessObject(String identity,
FolderEntry folder_entry)
FolderedBusinessObject.
identity - the String used to identify this
FolderEntry objectfolder_entry - the FolderEntry object this object
is wrapping
public FolderedBusinessObject(String identity,
String name,
String numr,
String vid,
String lcs,
String type,
String modDate,
String teamTemplate,
wt.util.IconSelector icon,
ObjectReference ref)
FolderedBusinessObject.
identity - the String used to identify this
FolderEntry objectname - the object's namenumr - the object's numbervid - the object's VersionIdentifierlcs - the object's LifeCycle Statetype - the object's typemodDate - the object's Modification DateteamTemplate - the object's TeamTemplateicon - the object's IconSelectorref - the object's ObjectReference
| Method Detail |
|---|
public WTBusinessObject[] getDetails()
getDetails is invoked by the WTExplorer
in response to a node in the WTTree being selected. Since
FolderedBusinessObjects will never appear in the treeview
side of the explorer, and only in the details side of the explorer, this
method returns a zero-length array.
WTBusinessObject objects
public FolderEntry getFolderEntry()
FolderEntry object being wrapped by this object.
FolderEntry object wrapped by this objectsetFolderEntry(wt.folder.FolderEntry),
Supported API: truepublic void setFolderEntry(FolderEntry folder_entry)
FolderEntry object to be wrapped by this object.
folder_entry - the FolderEntry object wrapped by
this objectgetFolderEntry(),
Supported API: truepublic String getLocation()
String location of the FolderEntry
wrapped by this object. The location describes the path to the
Folder in which the FolderEntry of this
object lives.
String location of the FolderEntry
object wrapped by this object
Supported API: truepublic String getName()
String name of the FolderEntry object
wrapped by this object.
String name of the FolderEntry
object wrapped by this object
Supported API: truepublic String getIdentity()
FolderEntry object wrapped by
this object. If the folder entry object is a WTObject, then this
method returns the identity retrieved from 'getDisplayIdentity'. Otherwise,
the name of the FolderEntry is returned.
String which identifies the FolderEntry
object wrapped by this object
Supported API: truepublic String getFolderPath()
String folder path of the FolderEntry
object wrapped by this object.
String folder path of the FolderEntry
object wrapped by this object
Supported API: truepublic String getVersionIdentity()
String which identifies the current Version of the
FolderEntry object wrapped by this object. If the
given FolderEntry object is not Versioned, then
an empty String is returned.
FolderEntry wrapped by this object is
Versioned, a String identifying
the current version of that FolderEntry is returned;
Otherwise, an empty String is returnedFolderEntry,
Supported API: truepublic String getLCState()
String representation of the current Life
Cycle State of the FolderEntry object being wrapped by
this object. If the FolderEntry object is not
LifeCycleManaged, then an empty String is
returned.
FolderEntry wrapped by this object
is LifeCycleManaged, a String
representation of the current Life Cycle State of that
FolderEntry is returned; otherwise, an
empty String is returnedFolderEntry,
Supported API: truepublic String getTeamName()
String representation of the current team name
of the FolderEntry object being wrapped by this object. If
the FolderEntry object is not LifeCycleManaged,
an empty String is returned.
FolderEntry wrapped by this object
is LifeCycleManaged, a String
representation of the current team name of that
FolderEntry is returned; otherwise, an
empty String is returnedFolderEntry,
Supported API: truepublic String getType()
FolderEntry object being
wrapped by this object. If a "displayType" attribute is associated
with the FolderEntry object, the value of that type is
returned. If no explicit "displayType" attribute is found, and an explicit
"type" attribute exists, that value is returned. Otherwise,
an empty string is returned.
FolderEntry object contains an explicit
"displayType" attribute, the value of that attribute is returned;
otherwise, if the object contains an explicit "type"
attribute, the business type is returned; if no explicit type
is found, an empty string is returned
Supported API: truepublic String getModifyDate()
String representation of the date on which the
FolderEntry object wrapped by this object was last
modified.
String representation of the date on which
the FolderEntry object wrapped by this object
was last modified
Supported API: true
public static String getAttributeValue(Object aDetail,
String anAttributeName)
getAttributeValue is a convenience method for
attempting to get a String value of the given attribute
from the given object. If the given attribute is not found for the
given object, an empty String is returned.
aDetail - the Object from which the value of
the given attribute is retrievedanAttributeName - the String name of the attribute
whose value is attempted to be retrieved from
the given object
public String getNumber()
String representation of the number associated
with the FolderEntry object being wrapped by this object.
If no number attribute is found to be associated with the
FolderEntry object, an empty String is
returned.
String representation of the number associated
with the FolderEntry object; if the
FolderEntry object contains no number, an
empty String is returned
Supported API: truepublic boolean isEqual(FolderEntry folder_entry)
isEqual is a convenience method to determine if
a given FolderEntry object is the same object as the
FolderEntry object being wrapped by this object. Note
that this method is not checking if the two FolderEntry
objects have the same values, but rather that the two objects
are references to the same FolderEntry object.
folder_entry - the FolderEntry object to
be compared for equality with the FolderEntry
wrapped by this object
true, the given FolderEntry
and the FolderEntry wrapped by this object
reference the same FolderEntry object
public String getOrganizationId()
String which identifies the current organizationUniqueIdentifier of the
FolderEntry object wrapped by this object. If the
given FolderEntry object is not OrganizationOwned, then
an empty String is returned.
FolderEntry wrapped by this object is
Versioned, a String identifying
the current version of that FolderEntry is returned;
Otherwise, an empty String is returnedFolderEntry,
Supported API: true
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||