Class JCRLocalGoogleDrive.Connect

java.lang.Object
org.exoplatform.services.cms.clouddrives.gdrive.JCRLocalGoogleDrive.Connect
All Implemented Interfaces:
org.exoplatform.services.cms.clouddrives.CloudDrive.Command
Enclosing class:
JCRLocalGoogleDrive

protected class JCRLocalGoogleDrive.Connect extends Object
Connect algorithm for Google Drive.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.exoplatform.services.cms.clouddrives.gdrive.GoogleDriveAPI
    Google Drive service API.

    Fields inherited from interface org.exoplatform.services.cms.clouddrives.CloudDrive.Command

    COMPLETE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Create connect to Google Drive command.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    fetchChilds(String fileId, javax.jcr.Node localFile)
    Fetch childs.
    protected void

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • api

      protected final org.exoplatform.services.cms.clouddrives.gdrive.GoogleDriveAPI api
      Google Drive service API.
  • Constructor Details

    • Connect

      protected Connect() throws javax.jcr.RepositoryException, org.exoplatform.services.cms.clouddrives.DriveRemovedException
      Create connect to Google Drive command.
      Throws:
      javax.jcr.RepositoryException - the repository exception
      org.exoplatform.services.cms.clouddrives.DriveRemovedException - the drive removed exception
  • Method Details

    • fetchFiles

      protected void fetchFiles() throws org.exoplatform.services.cms.clouddrives.CloudDriveException, javax.jcr.RepositoryException
      Throws:
      org.exoplatform.services.cms.clouddrives.CloudDriveException
      javax.jcr.RepositoryException
    • fetchChilds

      protected void fetchChilds(String fileId, javax.jcr.Node localFile) throws org.exoplatform.services.cms.clouddrives.CloudDriveException, javax.jcr.RepositoryException
      Fetch childs.
      Parameters:
      fileId - the file id
      localFile - the local file
      Throws:
      org.exoplatform.services.cms.clouddrives.CloudDriveException - the cloud drive exception
      javax.jcr.RepositoryException - the repository exception