|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.bindings.impl.TypeDefinitionCache
public class TypeDefinitionCache
A cache for type definition objects.
Constructor Summary | |
---|---|
TypeDefinitionCache(BindingSession session)
Constructor. |
Method Summary | |
---|---|
TypeDefinition |
get(String repositoryId,
String typeId)
Retrieves a type definition object from the cache. |
void |
put(String repositoryId,
TypeDefinition typeDefinition)
Adds a type definition object to the cache. |
void |
remove(String repositoryId)
Removes all type definition objects of a repository from the cache. |
void |
remove(String repositoryId,
String typeId)
Removes a type definition object from the cache. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeDefinitionCache(BindingSession session)
session
- the session objectMethod Detail |
---|
public void put(String repositoryId, TypeDefinition typeDefinition)
repositoryId
- the repository idtypeDefinition
- the type definition objectpublic TypeDefinition get(String repositoryId, String typeId)
repositoryId
- the repository idtypeId
- the type id
null
if the object is
not in the cachepublic void remove(String repositoryId, String typeId)
repositoryId
- the repository idtypeId
- the type idpublic void remove(String repositoryId)
repositoryId
- the repository idpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |