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 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
      • 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