org.hippoecm.hst.content.beans.manager
Class ObjectBeanManagerImpl
java.lang.Object
org.hippoecm.hst.content.beans.manager.ObjectBeanManagerImpl
- All Implemented Interfaces:
- ObjectBeanManager
- Direct Known Subclasses:
- WorkflowPersistenceManagerImpl
public class ObjectBeanManagerImpl
- extends Object
- implements ObjectBeanManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected javax.jcr.Session session
objectConverter
protected ObjectConverter objectConverter
ObjectBeanManagerImpl
public ObjectBeanManagerImpl(javax.jcr.Session session,
ObjectConverter objectConverter)
getObject
public Object getObject(String path)
throws ObjectBeanManagerException
- Description copied from interface:
ObjectBeanManager
- Get an object from the JCR repository.
path
is the absolute object path and must start with a "/"
- Specified by:
getObject
in interface ObjectBeanManager
- Parameters:
path
- the absolute object path.
- Returns:
- the object found or null
- Throws:
ObjectBeanManagerException
- when it is not possible to retrieve the object
getObjectByUuid
public Object getObjectByUuid(String uuid)
throws ObjectBeanManagerException
- Description copied from interface:
ObjectBeanManager
- Get an object from the JCR repository
- Specified by:
getObjectByUuid
in interface ObjectBeanManager
- Returns:
- the object found or null
- Throws:
ObjectBeanManagerException
- when it is not possible to retrieve the object
getSession
public javax.jcr.Session getSession()
- Description copied from interface:
ObjectBeanManager
- This method returns the JCR session. The JCR session could be used to
make some JCR specific calls.
- Specified by:
getSession
in interface ObjectBeanManager
- Returns:
- the associated JCR session
Copyright © 2008-2012 Hippo. All Rights Reserved.