Class PentahoJcrTemplate

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.extensions.jcr.JcrModel1Operations, org.springframework.extensions.jcr.JcrModel2Operations, org.springframework.extensions.jcr.JcrOperations, org.springframework.extensions.jcr.JcrOptionalOperations

    public class PentahoJcrTemplate
    extends org.springframework.extensions.jcr.JcrTemplate
    Copy of superclass' execute with better exception conversions.
    Author:
    mlowery
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object execute​(org.springframework.extensions.jcr.JcrCallback action, boolean exposeNativeSession)
      Copy of superclass' execute with pentahoConvertJcrAccessException substitutions.
      protected javax.jcr.Session getSession()  
      • Methods inherited from class org.springframework.extensions.jcr.JcrTemplate

        addLockToken, createSessionProxy, dump, dumpNode, execute, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRootNode, getUserID, getValueFactory, hasPendingChanges, importXML, isAllowCreate, isExposeNativeSession, isLive, isVersionable, itemExists, move, query, query, query, query, query, refresh, removeLockToken, rename, save, setAllowCreate, setExposeNativeSession, setNamespacePrefix
      • Methods inherited from class org.springframework.extensions.jcr.JcrAccessor

        afterPropertiesSet, convertJcrAccessException, convertJcrAccessException, convertJcrAccessException, getSessionFactory, setSessionFactory
    • Constructor Detail

      • PentahoJcrTemplate

        public PentahoJcrTemplate()
    • Method Detail

      • execute

        public Object execute​(org.springframework.extensions.jcr.JcrCallback action,
                              boolean exposeNativeSession)
                       throws org.springframework.dao.DataAccessException
        Copy of superclass' execute with pentahoConvertJcrAccessException substitutions.
        Specified by:
        execute in interface org.springframework.extensions.jcr.JcrOperations
        Overrides:
        execute in class org.springframework.extensions.jcr.JcrTemplate
        Throws:
        org.springframework.dao.DataAccessException
      • getSession

        protected javax.jcr.Session getSession()
        Overrides:
        getSession in class org.springframework.extensions.jcr.JcrTemplate