Class PentahoJcrTemplate
- java.lang.Object
-
- org.springframework.extensions.jcr.JcrAccessor
-
- org.springframework.extensions.jcr.JcrTemplate
-
- 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
Constructors Constructor Description PentahoJcrTemplate()
-
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
-
-
-
-
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 interfaceorg.springframework.extensions.jcr.JcrOperations
- Overrides:
execute
in classorg.springframework.extensions.jcr.JcrTemplate
- Throws:
org.springframework.dao.DataAccessException
-
getSession
protected javax.jcr.Session getSession()
- Overrides:
getSession
in classorg.springframework.extensions.jcr.JcrTemplate
-
-