org.pentaho.platform.repository2.unified.jcr.sejcr
Class PentahoJcrTemplate

java.lang.Object
  extended by org.springframework.extensions.jcr.JcrAccessor
      extended by org.springframework.extensions.jcr.JcrTemplate
          extended by org.pentaho.platform.repository2.unified.jcr.sejcr.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

Constructor Summary
PentahoJcrTemplate()
           
 
Method Summary
 Object execute(org.springframework.extensions.jcr.JcrCallback action, boolean exposeNativeSession)
          Copy of superclass' execute with pentahoConvertJcrAccessException substitutions.
 
Methods inherited from class org.springframework.extensions.jcr.JcrTemplate
addLockToken, dump, execute, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRootNode, getUserID, getValueFactory, hasPendingChanges, importXML, isAllowCreate, isExposeNativeSession, isLive, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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