org.springframework.extensions.jcr
Interface JcrOptionalOperations

All Superinterfaces:
JcrModel1Operations, JcrModel2Operations
All Known Subinterfaces:
JcrOperations
All Known Implementing Classes:
JcrTemplate

public interface JcrOptionalOperations
extends JcrModel2Operations

Interface used for delimiting Jcr operations based on what the underlying repository supports (in this case optional operations).. Normally not used but useful for casting to restrict access in some situations.

Author:
Costin Leau, Sergio Bossa, Salvatore Incandela

Method Summary
 void addLockToken(java.lang.String lock)
           
 java.lang.String[] getLockTokens()
           
 void removeLockToken(java.lang.String lt)
           
 
Methods inherited from interface org.springframework.extensions.jcr.JcrModel2Operations
hasPendingChanges, importXML, move, refresh, save, setNamespacePrefix
 
Methods inherited from interface org.springframework.extensions.jcr.JcrModel1Operations
getAttribute, getAttributeNames, getImportContentHandler, getItem, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRootNode, getUserID, getValueFactory, isLive, itemExists, query, query, query, query, query
 

Method Detail

addLockToken

void addLockToken(java.lang.String lock)
See Also:
Session.addLockToken(java.lang.String)

getLockTokens

java.lang.String[] getLockTokens()
See Also:
Session.getLockTokens()

removeLockToken

void removeLockToken(java.lang.String lt)
See Also:
Session.removeLockToken(java.lang.String)


Copyright © 2009. All Rights Reserved.