|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.util.OwCMISResourceCache
public class OwCMISResourceCache
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 Summary | |
---|---|
OwCMISResourceCache()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISResourceCache()
Method Detail |
---|
public OwCMISResource getResource(String nameOrId_p)
nameOrId_p
- String representing name or id
public OwCMISSession getSession(String nameOrId_p)
public void add(OwCMISResource resource_p) throws com.wewebu.ow.server.exceptions.OwException
resource_p
- OwCMISResource
com.wewebu.ow.server.exceptions.OwException
public Iterator<String> getResourceIDs()
public Collection<OwCMISSession> getSessions()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |