Package org.exoplatform.clouddrive.cmis
Class JCRLocalCMISDrive.Connect
- java.lang.Object
-
- org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.Connect
-
- All Implemented Interfaces:
org.exoplatform.services.cms.clouddrives.CloudDrive.Command
- Enclosing class:
- JCRLocalCMISDrive
protected class JCRLocalCMISDrive.Connect extends Object
Connect algorithm for Template drive.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnect()Instantiates a new connect.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.chemistry.opencmis.client.api.FolderfetchChilds(String fileId, javax.jcr.Node parent)Fetch childs.protected voidfetchFiles()
-
-
-
Field Detail
-
api
protected final CMISAPI api
The api.
-
-
Constructor Detail
-
Connect
protected Connect() throws javax.jcr.RepositoryException, org.exoplatform.services.cms.clouddrives.DriveRemovedExceptionInstantiates a new connect.- Throws:
javax.jcr.RepositoryException- the repository exceptionorg.exoplatform.services.cms.clouddrives.DriveRemovedException- the drive removed exception
-
-
Method Detail
-
fetchFiles
protected void fetchFiles() throws org.exoplatform.services.cms.clouddrives.CloudDriveException, javax.jcr.RepositoryException- Throws:
org.exoplatform.services.cms.clouddrives.CloudDriveExceptionjavax.jcr.RepositoryException
-
fetchChilds
protected org.apache.chemistry.opencmis.client.api.Folder fetchChilds(String fileId, javax.jcr.Node parent) throws org.exoplatform.services.cms.clouddrives.CloudDriveException, javax.jcr.RepositoryException
Fetch childs.- Parameters:
fileId- the file idparent- the parent- Returns:
- the folder
- Throws:
org.exoplatform.services.cms.clouddrives.CloudDriveException- the cloud drive exceptionjavax.jcr.RepositoryException- the repository exception
-
-