public class JCRLocalSharepointDrive
extends org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive
org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.Connect, org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.FileAPI, org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.LocalFile, org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.Syncorg.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.AbstractCommand, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.AbstractFileAPI, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.CommandCallable, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.ConnectCommand, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.ExoJCREnvironment, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.ExoJCRSettings, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.FileChange, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.JCRListener, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.NoConnectCommand, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.NoSyncCommand, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.SyncCommand, org.exoplatform.clouddrive.jcr.JCRLocalCloudDrive.SyncFilesCommandchangeIdSequencer, EMPTY_TOKEN, FULL_SYNC_PERIOD, mimeTypesaccentsConverter, actionDrive, ALREADY_DONE, commandEnv, commandExecutor, CURRENT_LOCALFORMAT, currentChangeId, currentConnect, currentSync, DUMMY_DATA, ECD_CLOUDDRIVE, ECD_CLOUDFILE, ECD_CLOUDFILERESOURCE, ECD_CLOUDFOLDER, ECD_IGNORED, ECD_LOCALFORMAT, EXO_DATETIME, EXO_MODIFY, EXO_THUMBNAIL, EXO_THUMBNAILS, EXO_TRASHFOLDER, fileAPI, fileChanges, fileChangeSequencer, fileCopies, fileHistory, fileRemovals, fileSynchronizers, fileTrash, finder, HISTORY_EXPIRATION, HISTORY_MAX_LENGTH, jcrListener, MIX_REFERENCEABLE, noConnect, noSyncCommand, NT_FILE, NT_FOLDER, NT_RESOURCE, NT_UNSTRUCTURED, repository, rootNodeHolder, rootUUID, rootWorkspace, sessionProviders, syncLock, user, USER_NODEPATH, USER_SESSIONPROVIDER, USER_WORKSPACE, workerExecutor| Modifier | Constructor and Description |
|---|---|
protected |
JCRLocalSharepointDrive(SharepointConnector.API apiBuilder,
javax.jcr.Node driveNode,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.clouddrive.jcr.NodeFinder finder) |
protected |
JCRLocalSharepointDrive(SharepointUser user,
javax.jcr.Node driveNode,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.clouddrive.jcr.NodeFinder finder) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
editLink(String link) |
SharepointUser |
getUser() |
protected void |
initCMISItem(javax.jcr.Node localNode,
org.apache.chemistry.opencmis.client.api.CmisObject item)
Initialize CMIS specifics of files and folders.
|
protected void |
initDrive(javax.jcr.Node driveNode) |
protected static SharepointUser |
loadUser(SharepointConnector.API apiBuilder,
javax.jcr.Node driveNode)
Load user from the drive Node.
|
protected String |
previewLink(String link) |
protected void |
readNodes(javax.jcr.Node parent,
Map<String,List<javax.jcr.Node>> nodes,
boolean deep) |
createFileAPI, getChangeToken, getConnectCommand, getState, getSyncCommand, loadUser, readChangeId, refreshAccess, saveAccess, saveChangeId, setChangeToken, updateAccess, updateItemaddJCRListener, checkTrashed, cleanName, cleanNode, cleanRemoved, cleanup, cleanUpdated, commitChanges, configure, connect, copyNode, createIfNotCloudFile, disconnect, fileNode, findNode, findNodes, getChangeId, getConnectDate, getFile, getId, getInitDate, getLink, getLocalUser, getOrCleanFileNode, getPath, getTitle, hasFile, hasRemoved, hasUpdated, initCommon, initCopy, initFile, initFolder, initRemove, isConnected, isDrive, isDrive, isDrive, isSameDrive, listFiles, listFiles, listFiles, loadHistory, migrateName, moveFile, nextChangeId, openFile, openFolder, readFile, readNode, removeJCRListener, rollback, rootNode, saveChanges, savedChanges, session, setChangeId, synchronize, systemSession, title, tryCreateCloudFileprotected JCRLocalSharepointDrive(SharepointUser user, javax.jcr.Node driveNode, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders, org.exoplatform.clouddrive.jcr.NodeFinder finder) throws org.exoplatform.clouddrive.CloudDriveException, javax.jcr.RepositoryException
user - driveNode - sessionProviders - org.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionprotected JCRLocalSharepointDrive(SharepointConnector.API apiBuilder, javax.jcr.Node driveNode, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders, org.exoplatform.clouddrive.jcr.NodeFinder finder) throws javax.jcr.RepositoryException, org.exoplatform.clouddrive.CloudDriveException
javax.jcr.RepositoryExceptionorg.exoplatform.clouddrive.CloudDriveExceptionprotected void initDrive(javax.jcr.Node driveNode)
throws org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
initDrive in class org.exoplatform.clouddrive.cmis.JCRLocalCMISDriveorg.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionprotected static SharepointUser loadUser(SharepointConnector.API apiBuilder, javax.jcr.Node driveNode) throws javax.jcr.RepositoryException, SharepointException, org.exoplatform.clouddrive.CloudDriveException
apiBuilder - SharepointConnector.API API builderprovider - SharepointProviderdriveNode - Node root of the driveCMISUserjavax.jcr.RepositoryExceptionSharepointExceptionorg.exoplatform.clouddrive.CloudDriveExceptionpublic SharepointUser getUser()
getUser in class org.exoplatform.clouddrive.cmis.JCRLocalCMISDriveprotected void initCMISItem(javax.jcr.Node localNode,
org.apache.chemistry.opencmis.client.api.CmisObject item)
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.cmis.CMISException
initCMISItem in class org.exoplatform.clouddrive.cmis.JCRLocalCMISDrivelocalNode - Nodeitem - CmisObjectjavax.jcr.RepositoryExceptionorg.exoplatform.clouddrive.cmis.CMISExceptionprotected String previewLink(String link)
previewLink in class org.exoplatform.clouddrive.cmis.JCRLocalCMISDriveprotected String editLink(String link)
editLink in class org.exoplatform.clouddrive.cmis.JCRLocalCMISDriveCopyright © 2003–2014 eXo Platform SAS. All rights reserved.