org.xcmis.sp.jcr.exo
Class JcrConnection

java.lang.Object
  extended by org.xcmis.spi.Connection
      extended by org.xcmis.sp.jcr.exo.JcrConnection

public class JcrConnection
extends Connection

Version:
$Id: JcrConnection.java 652 2010-04-09 16:19:08Z andrew00x $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.xcmis.spi.Connection
CREATE, storage, UPDATE, VERSION
 
Constructor Summary
JcrConnection(Storage storage)
           
 
Method Summary
protected  void checkConnection()
          
 void close()
          
protected  void validateChangeToken(ObjectData object, String changeToken)
          
 
Methods inherited from class org.xcmis.spi.Connection
addObjectToFolder, addType, applyACL, applyPolicy, cancelCheckout, checkin, checkout, createDocument, createDocumentFromSource, createFolder, createPolicy, createRelationship, deleteContentStream, deleteObject, deleteTree, getACL, getAllowableActions, getAllVersions, getAppliedPolicies, getCheckedOutDocs, getChildren, getCmisObject, getContentChanges, getContentStream, getDescendants, getFolderParent, getFolderTree, getObject, getObjectByPath, getObjectOfLatestVersion, getObjectParents, getObjectRelationships, getProperties, getPropertiesOfLatestVersion, getRenditions, getStorage, getTypeChildren, getTypeDefinition, getTypeDefinition, getTypeDescendants, moveObject, query, removeObjectFromFolder, removePolicy, removeType, setContentStream, updateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrConnection

public JcrConnection(Storage storage)
Method Detail

close

public void close()

Specified by:
close in class Connection

validateChangeToken

protected void validateChangeToken(ObjectData object,
                                   String changeToken)
                            throws UpdateConflictException

Specified by:
validateChangeToken in class Connection
Throws:
UpdateConflictException

checkConnection

protected void checkConnection()
                        throws IllegalStateException

Specified by:
checkConnection in class Connection
Throws:
IllegalStateException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.