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
Modifier and TypeMethodDescriptionGet an object from the JCR repository.getObjectByUuid
(String uuid) Get an object from the JCR repositoryThis method returns the JCR session.
-
Method Details
-
getObject
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
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
-