|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.folder.DefaultFolderCache.WindchillPDMCabinets
Preserve the behavior of the old folder cache, for Windchill PDM. This is to cache all shared cabinets, and optionally to cache personal cabinets. The cache is needed so that to improve the performance of the display of the Windchill Explorer.
Field Summary | |
(package private) DefaultFolderCache.WindchillPDMMessenger |
messenger
|
(package private) DirtyMap |
oidsToPersonalCabinets
|
(package private) DirtyMap |
oidsToSharedCabinets
|
Constructor Summary | |
(package private) |
DefaultFolderCache.WindchillPDMCabinets()
|
Method Summary | |
(package private) void |
addAll(WTSet target,
Collection cabinets,
boolean read_only)
Add the given collection of cabinets to the target set. |
(package private) WTSet |
get(boolean shared_only,
boolean read_only)
Get all the requested Windchill PDM cabinets |
(package private) Cabinet |
get(ObjectIdentifier oid)
Get the cabinet with the given oid, or null
if it isn't cached |
(package private) int |
getCacheType(Cabinet c)
Determines whether the given cabinet should be cached, and if so, what cache to put it in |
(package private) void |
initializeCaches()
Put all cacheable cabinets in the cache |
(package private) void |
insertOrUpdateCabinets(WTCollection cabinets)
Add the given cabinets to the cache, if necessary |
(package private) void |
removeCabinets(WTCollection cabinets)
Remove the given cabinets from the cache, if necessary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
final DirtyMap oidsToSharedCabinets
final DirtyMap oidsToPersonalCabinets
final DefaultFolderCache.WindchillPDMMessenger messenger
Constructor Detail |
DefaultFolderCache.WindchillPDMCabinets()
Method Detail |
void initializeCaches() throws WTException
ClassicContainerNotFoundException
- If the classic container hasn't been created yet.
This can happen during load
WTException
void insertOrUpdateCabinets(WTCollection cabinets) throws WTException
cabinets
-
WTException
void removeCabinets(WTCollection cabinets) throws WTException
cabinets
-
WTException
int getCacheType(Cabinet c) throws WTException
c
-
WTException
WTSet get(boolean shared_only, boolean read_only) throws WTException
shared_only
- Whether or not to return shared cabinetsread_only
- Whether or not to clone the cabinets
WTException
Cabinet get(ObjectIdentifier oid) throws WTException
null
if it isn't cached
oid
- The oid of the Cabinet
WTException
void addAll(WTSet target, Collection cabinets, boolean read_only)
target
- cabinets
- Contains cabinets and placeholder objectsread_only
- Whether or not to clone the cabinets
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |