Interface ObjectBeanManager
-
- All Known Subinterfaces:
ObjectBeanPersistenceManager
,WorkflowPersistenceManager
public interface ObjectBeanManager
The object content manager encapsulates a JCR session. This is the main component used to manage objects into the JCR repository.This interface mimics Jackrabbit's one, but this is provided to support more lightweight beans in HST.
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getObject(String path)
Get an object from the JCR repository.Object
getObjectByUuid(String uuid)
Get an object from the JCR repositorySession
getSession()
This method returns the JCR session.
-
-
-
Method Detail
-
getObject
Object getObject(String path) throws ObjectBeanManagerException
Get an object from the JCR repository.path
is the absolute object path and must start with a "/"- Parameters:
path
- the absolute object path.- Returns:
- the object found or null
- Throws:
ObjectBeanManagerException
- when it is not possible to retrieve the object
-
getObjectByUuid
Object getObjectByUuid(String uuid) throws ObjectBeanManagerException
Get an object from the JCR repository- Parameters:
uuid
- the object uuid- Returns:
- the object found or null
- Throws:
ObjectBeanManagerException
- when it is not possible to retrieve the object
-
getSession
Session getSession()
This method returns the JCR session. The JCR session could be used to make some JCR specific calls.- Returns:
- the associated JCR session
-
-