org.xcmis.sp.inmemory
Class InmemConnection

java.lang.Object
  extended by org.xcmis.spi.Connection
      extended by org.xcmis.sp.inmemory.InmemConnection

public class InmemConnection
extends org.xcmis.spi.Connection

Version:
$Id: $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.xcmis.spi.Connection
CREATE, storage, UPDATE, VERSION
 
Constructor Summary
InmemConnection(org.xcmis.spi.Storage storage)
           
 
Method Summary
protected  void checkConnection()
           
 void close()
           
protected  void validateChangeToken(org.xcmis.spi.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

InmemConnection

public InmemConnection(org.xcmis.spi.Storage storage)
Method Detail

checkConnection

protected void checkConnection()
                        throws IllegalStateException
Specified by:
checkConnection in class org.xcmis.spi.Connection
Throws:
IllegalStateException

validateChangeToken

protected void validateChangeToken(org.xcmis.spi.ObjectData object,
                                   String changeToken)
                            throws org.xcmis.spi.UpdateConflictException
Specified by:
validateChangeToken in class org.xcmis.spi.Connection
Throws:
org.xcmis.spi.UpdateConflictException

close

public void close()
Specified by:
close in class org.xcmis.spi.Connection


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.