|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows for alternate implementations of folder caching.
The two OOTB implementations are DefaultFolderCache
and PassThruFolderCache.
Supported API: false
Extendable: false
Nested Class Summary | |
static class |
FolderCache.NamesToFoldersKey
|
Method Summary | |
WTList |
getCabinetsByName(WTList ordered_containers,
List ordered_cabinet_names,
boolean read_only)
Get the cabinets in the given parent containers with the given names. |
WTValuedMap |
getChildToParentMap(WTCollection children,
boolean read_only)
Get the parents of the given child folders |
WTKeyedMap |
getContainerToCabinetMap(WTCollection containers,
boolean shared_only,
boolean read_only)
Get all of the cabinets that are in the given containers |
WTKeyedMap |
getParentToSubFoldersMap(WTCollection parents,
boolean read_only)
Get all the subfolders of the given parent folders |
WTList |
getSubFoldersByName(WTList ordered_parents,
List ordered_child_names,
boolean read_only)
Get the children of the given parents with the given names. |
WTValuedMap |
getUserToCabinetMap(WTCollection users,
boolean read_only)
Get the personal cabinets for the given |
Method Detail |
public WTValuedMap getChildToParentMap(WTCollection children, boolean read_only) throws WTException
children
- A collection of child folders. The implementation will not
inflate the childrenread_only
- Whether or not the cached instances of the parents
should be returned, if applicable
WTException
public WTList getSubFoldersByName(WTList ordered_parents, List ordered_child_names, boolean read_only) throws WTException
ordered_parents
- A list of the parent folders to query in. This may either have
as many elements as names
, or
have a single element used with each nameordered_child_names
- A list of child names to find subfolders for within
the corresponding parent folderread_only
- Whether or not the cached instances of the subfolders
should be returned, if applicable
FolderNotFoundException
- If any of the subfolders couldn't be found
WTException
public WTList getCabinetsByName(WTList ordered_containers, List ordered_cabinet_names, boolean read_only) throws WTException
ordered_containers
- A list of the containers to query in. This may either have
as many elements as names
, or
have a single element used with each nameordered_cabinet_names
- A list of cabinet names to find cabinets for within
the corresponding containerread_only
- Whether or not the cached instances of the cabinets
should be returned, if applicable
FolderNotFoundException
- If any of the cabinets couldn't be found
WTException
public WTValuedMap getUserToCabinetMap(WTCollection users, boolean read_only) throws WTException
users
- The users to find personal cabinets forread_only
- Whether or not the cached instances of the cabinets
should be returned, if applicable
WTException
public WTKeyedMap getContainerToCabinetMap(WTCollection containers, boolean shared_only, boolean read_only) throws WTException
containers
- The containers to search inshared_only
- Whether or not to only return shared cabinetsread_only
- Whether or not the cached instances of the cabinets
should be returned, if applicable
WTException
public WTKeyedMap getParentToSubFoldersMap(WTCollection parents, boolean read_only) throws WTException
parents
- The parent folders to find children forread_only
- Whether or not the cached instances of the subfolders
should be returned, if applicable
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |