|
|||||||||||
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.FolderBusinessObject
Class FolderBusinessObject
provides a wrapper class for
objects that appear in the WindchillExplorer
. This class
is used as a wrapper for all objects that are Folders
.
This class is necessary because the WTExplorer
, which is
the basis for the WindchillExplorer
, manipulates
WTBusinessObjects
.
Supported API: true
Extendable: false
WTBusinessObject
,
Folder
,
Serialized FormNested Class Summary | |
class |
FolderBusinessObject.LiteObjectProvider
|
Field Summary | |
private static String |
CHECKOUT_FOLDER
|
private static String |
FC_RESOURCE
|
private static boolean |
LITE
|
Fields inherited from class wt.clients.beans.explorer.WTBusinessObject |
|
Constructor Summary | |
FolderBusinessObject(String identity,
Folder folder)
Constructor for class FolderBusinessObject . |
Method Summary | |
static boolean |
displayFolderObject(WTContainer container,
FolderEntry obj)
|
Explorable[] |
getContents()
Method getContents is invoked by the WTExplorer in
response to a Folder being selected in the treeview. |
WTBusinessObject[] |
getDetails()
Method getDetails retrieves all of the folder contents of
the Folder wrapped by this object. |
Folder |
getFolder()
Returns the Folder object that is being wrapped by this
object. |
protected String |
getFolderIdentity(Folder folder)
|
protected String |
getFolderIdentity(FolderEntry folder_entry)
|
protected WTBusinessObject[] |
getObjectsFromException(PartialResultException pre)
|
Explorable[] |
getUses()
Method getUses is invoked by the WTExplorer when
a node in the treeview is expanded. |
boolean |
isEqual(Folder folder)
Method isEqual is a convenience method to determine if
a given Folder object is the same object as the
Folder object being wrapped by this object. |
void |
setFolder(Folder folder)
Sets the Folder object that is being wrapped by this
object. |
Methods inherited from class wt.clients.beans.explorer.WTBusinessObject |
getAttributeValue, getAttributeValue, getIdentity, getObject, getOpenIcon, getStandardIcon, getUniqueIdentity, setIdentity, setObject, setObject, setStandardIcon, setStandardIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean LITE
private static final String FC_RESOURCE
private static final String CHECKOUT_FOLDER
Constructor Detail |
public FolderBusinessObject(String identity, Folder folder)
FolderBusinessObject
.
identity
- the String
used to identify
this objectfolder
- the Folder
object that is being
wrapped by this objectwt.clients.beans.WTBusinessObject
,
Supported API: true
Method Detail |
public Folder getFolder()
Folder
object that is being wrapped by this
object.
Folder
object wrapped by this objectsetFolder(wt.folder.Folder)
,
Supported API: true
public void setFolder(Folder folder)
Folder
object that is being wrapped by this
object.
folder
- the Folder
object wrapped by this objectgetFolder()
,
Supported API: true
public Explorable[] getContents() throws WTException
getContents
is invoked by the WTExplorer
in
response to a Folder
being selected in the treeview. This method
retrieves all of the contents of the Folder
object wrapped by this
object to be displayed in the detail view of the Windchill Explorer.
getContents
in interface Explorable
getContents
in class WTBusinessObject
Explorable
objects which represent the
contents of the Folder
object wrapped by this object
WTException
Explorable
,
Supported API: true
public Explorable[] getUses()
getUses
is invoked by the WTExplorer
when
a node in the treeview is expanded. This method retrieves all of the
Folders
which are subfolders of the Folder
object
wrapped by this object. The subfolders are wrapped as
FolderBusinessObjects
.
getUses
in interface Explorable
getUses
in class WTBusinessObject
Explorable
objects which contain
the Folders
that are subfolders of the
Folder
wrapped by this objectExplorable
,
Supported API: true
public WTBusinessObject[] getDetails() throws WTException
getDetails
retrieves all of the folder contents of
the Folder
wrapped by this object. The folder contents
are wrapped as FolderedBusinessObjects
. Both SubFolders
and FolderEntry
objects that are contained in this
Folder
are returned.
WTBusinessObjects
which contain the
folder contents of the Folder
wrapped by this
object
WTException
WTBusinessObject
,
FolderedBusinessObject
,
Folder
,
Supported API: true
public boolean isEqual(Folder folder)
isEqual
is a convenience method to determine if
a given Folder
object is the same object as the
Folder
object being wrapped by this object. Note
that this method is not checking if the two Folder
objects have the same values, but rather that the two objects
are references to the same Folder
object.
folder
- the Folder
object to be compared
for equality with the Folder
wrapped by this
object
true
, the given Folder
and the Folder
wrapped by this object
reference the same Folder
object
protected String getFolderIdentity(Folder folder)
protected String getFolderIdentity(FolderEntry folder_entry)
protected WTBusinessObject[] getObjectsFromException(PartialResultException pre)
public static boolean displayFolderObject(WTContainer container, FolderEntry obj) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |