public class DropboxConnector
extends org.exoplatform.clouddrive.CloudDriveConnector
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.clouddrive.dropbox.DropboxConnector.API |
apiBuilder
The api builder.
|
protected org.exoplatform.services.organization.OrganizationService |
organization
The organization.
|
config, CONFIG_CONNECTOR_HOST, CONFIG_CONNECTOR_SCHEMA, CONFIG_DISABLE, CONFIG_LOGIN_SSO, CONFIG_PREDEFINED_SERVICES, CONFIG_PROVIDER_CLIENT_ID, CONFIG_PROVIDER_CLIENT_SECRET, CONFIG_PROVIDER_ID, CONFIG_PROVIDER_NAME, connectorHost, connectorSchema, jcrFinder, jcrService, LOG, loginSSO, mimeTypes, OAUTH2_CODE, OAUTH2_ERROR, OAUTH2_ERROR_DESCRIPTION, OAUTH2_STATE, predefinedServices, provider, PROVIDER_REQUEST_ATTEMPT_TIMEOUT, PROVIDER_REQUEST_ATTEMPTS, sessionProviders| Constructor and Description |
|---|
DropboxConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.clouddrive.jcr.NodeFinder finder,
org.exoplatform.clouddrive.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params)
Instantiates a new dropbox connector.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudUser |
authenticate(Map<String,String> params) |
protected org.exoplatform.clouddrive.CloudDrive |
createDrive(org.exoplatform.clouddrive.CloudUser user,
javax.jcr.Node driveNode) |
protected org.exoplatform.clouddrive.CloudProvider |
createProvider() |
protected DropboxProvider |
getProvider() |
protected org.exoplatform.clouddrive.CloudDrive |
loadDrive(javax.jcr.Node driveNode) |
currentUser, getClientId, getClientSecret, getConnectorHost, getConnectorSchema, getProviderId, getProviderName, isDisabled, redirectLink, sessionProviderprotected final org.exoplatform.services.organization.OrganizationService organization
protected org.exoplatform.clouddrive.dropbox.DropboxConnector.API apiBuilder
public DropboxConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.clouddrive.jcr.NodeFinder finder,
org.exoplatform.clouddrive.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params)
throws org.exoplatform.clouddrive.ConfigurationException
jcrService - the jcr servicesessionProviders - the session providersorganization - the organizationfinder - the findermimeTypes - the mime typesparams - the paramsorg.exoplatform.clouddrive.ConfigurationException - the configuration exceptionprotected DropboxProvider getProvider()
getProvider in class org.exoplatform.clouddrive.CloudDriveConnectorprotected org.exoplatform.clouddrive.CloudProvider createProvider()
throws org.exoplatform.clouddrive.ConfigurationException
createProvider in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.ConfigurationExceptionprotected org.exoplatform.clouddrive.CloudUser authenticate(Map<String,String> params) throws org.exoplatform.clouddrive.CloudDriveException
authenticate in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.CloudDriveExceptionprotected org.exoplatform.clouddrive.CloudDrive createDrive(org.exoplatform.clouddrive.CloudUser user,
javax.jcr.Node driveNode)
throws org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
createDrive in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionprotected org.exoplatform.clouddrive.CloudDrive loadDrive(javax.jcr.Node driveNode)
throws org.exoplatform.clouddrive.DriveRemovedException,
org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
loadDrive in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.DriveRemovedExceptionorg.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.