Package org.exoplatform.clouddrive.box
Class JCRLocalBoxDrive.Connect
- java.lang.Object
-
- org.exoplatform.clouddrive.box.JCRLocalBoxDrive.Connect
-
- All Implemented Interfaces:
org.exoplatform.services.cms.clouddrives.CloudDrive.Command
- Enclosing class:
- JCRLocalBoxDrive
protected class JCRLocalBoxDrive.Connect extends Object
Connect algorithm for Box 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 com.box.sdk.BoxFolder.InfofetchChilds(String fileId, javax.jcr.Node parent)Fetch childs.protected voidfetchFiles()
-
-
-
Field Detail
-
api
protected final BoxAPI 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 com.box.sdk.BoxFolder.Info 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 box folder. info
- Throws:
org.exoplatform.services.cms.clouddrives.CloudDriveException- the cloud drive exceptionjavax.jcr.RepositoryException- the repository exception
-
-