public class OwCMISResourceCache extends Object
Helper class for resource cache handling.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwCMISResourceCache() |
Modifier and Type | Method and Description |
---|---|
void |
add(OwCMISResource resource_p)
Adds a resource to the cache.
|
void |
clear()
Clear current cache.
|
OwCMISResource |
getResource(String nameOrId_p)
Return CMIS resource for given name or id.
|
Iterator<String> |
getResourceIDs()
get a Iterator of available resource IDs
|
OwCMISSession |
getSession(String nameOrId_p) |
Collection<OwCMISSession> |
getSessions() |
public OwCMISResource getResource(String nameOrId_p)
nameOrId_p
- String representing name or idpublic OwCMISSession getSession(String nameOrId_p)
public void add(OwCMISResource resource_p) throws com.wewebu.ow.server.exceptions.OwException
resource_p
- OwCMISResourcecom.wewebu.ow.server.exceptions.OwException
public Iterator<String> getResourceIDs()
public Collection<OwCMISSession> getSessions()
public void clear()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.