|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.folder.cache.FolderCache
Obsoleted folder cache implementation.
Nested Class Summary | |
(package private) static class |
FolderCache.Singleton
Deprecated. |
Field Summary | |
(package private) FolderCache |
cache
Deprecated. |
Constructor Summary | |
private |
FolderCache()
Deprecated. |
Method Summary | |
Vector |
getAllCabinets(boolean copy,
WTContainerRef container)
Deprecated. Finds all Cabinets in the Windchill system. |
Cabinet |
getCabinet(String name,
boolean copy,
WTContainerRef container)
Deprecated. finds the Cabinet with the given name |
Cabinet |
getCabinet(WTUser user,
boolean copy)
Deprecated. finds the Cabinet that is the personal cabinet of the given user |
Folder |
getChildFolder(Folder parent,
String child)
Deprecated. navigates from a parent Folder to a child given the name of the child |
Folder |
getFolder(ObjectIdentifier oid,
boolean copy)
Deprecated. finds the Folder with the given ObjectIdentifier |
static FolderCache |
getFolderCache()
Deprecated. |
String |
getFolderName(ObjectIdentifier folder)
Deprecated. finds the name of the Folder with the given ObjectIdentifier |
ObjectIdentifier |
getParentFolder(ObjectIdentifier child)
Deprecated. navigates from a child Folder to its parent |
Vector |
getSubFolders(ObjectIdentifier parent_oid,
boolean copy)
Deprecated. navigates from a parent Folder to all of its children SubFolders |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
FolderCache cache
Constructor Detail |
private FolderCache()
Method Detail |
public static FolderCache getFolderCache() throws RemoteException, WTException
RemoteException
WTException
public ObjectIdentifier getParentFolder(ObjectIdentifier child) throws WTException
Folder
to its parent
child
- an ObjectIdentifier
for a child Folder
ObjectIdentifier
of the child's parent
Folder
, otherwise null
if the
child is a root Folder
and has no parent
WTException
- if a low level error occurspublic Folder getChildFolder(Folder parent, String child) throws WTException
Folder
to a child given the name of the child
parent
- the parent Folder
child
- the name of the child Folder
Folder
WTException
- if a low level error occurspublic Vector getSubFolders(ObjectIdentifier parent_oid, boolean copy) throws WTException
Folder
to all of its children SubFolders
parent_oid
- the parent folder ObjectIdentifier
copy
- controls whether or not copies of the cached SubFolders
are returned
Vector
of SubFolders
WTException
- if a low level error occurspublic Folder getFolder(ObjectIdentifier oid, boolean copy) throws WTException
Folder
with the given ObjectIdentifier
oid
- the ObjectIdentifier
of a Folder
copy
- controls whether or not copies of the cached Folders
are returned
Folder
object, else null
if the Folder
doesn't exist
WTException
- if a low level exception occurspublic String getFolderName(ObjectIdentifier folder) throws WTException, ObjectNoLongerExistsException
Folder
with the given ObjectIdentifier
folder
- the ObjectIdentifier
of a Folder
folder's
name
WTException
- if a low level exception occurs
ObjectNoLongerExistsException
- if folder
doesn't existpublic Cabinet getCabinet(String name, boolean copy, WTContainerRef container) throws WTException
Cabinet
with the given name
name
- a Cabinet's
namecopy
- controls whether or not copies of the cached Cabinets
are returnedcontainer
- a reference to the cabinet's container
Cabinet
object, else null
if the Cabinet
doesn't exist
WTException
- if a low level exception occurspublic Cabinet getCabinet(WTUser user, boolean copy) throws WTException
Cabinet
that is the personal cabinet of the given user
user
- the user to whom the cabinet is their personal cabinetcopy
- controls whether or not copies of the cached Cabinets
are returned
Cabinet
object, else null
if the Cabinet
doesn't exist
WTException
- if a low level exception occurspublic Vector getAllCabinets(boolean copy, WTContainerRef container) throws WTException
Cabinets
in the Windchill system. If the cache is
configured to only cache shared Cabinets
or no Cabinets
then Cabinets
not in the cache are retreived by querying the database.
copy
- controls whether or not copies of the cached Cabinets
are returnedcontainer
- a reference to the container to search in
Vector
of all Cabinets
in the system
WTException
- if a low level exception occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |