org.exoplatform.clouddrive.sharepoint
Class SharepointConnector.API

java.lang.Object
  extended by org.exoplatform.clouddrive.sharepoint.SharepointConnector.API
Enclosing class:
SharepointConnector

protected class SharepointConnector.API
extends Object

Internal API builder.


Constructor Summary
protected SharepointConnector.API()
           
 
Method Summary
protected  SharepointConnector.API auth(String user, String password)
          
protected  SharepointAPI build()
          Build API.
protected  SharepointUser createUser(String userId, String userName, String email, org.exoplatform.clouddrive.cmis.CMISAPI api)
          
protected  SharepointConnector.API serviceUrl(String serviceUrl)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharepointConnector.API

protected SharepointConnector.API()
Method Detail

auth

protected SharepointConnector.API auth(String user,
                                       String password)


serviceUrl

protected SharepointConnector.API serviceUrl(String serviceUrl)


build

protected SharepointAPI build()
                       throws org.exoplatform.clouddrive.cmis.CMISException,
                              org.exoplatform.clouddrive.CloudDriveException
Build API.

Returns:
SharepointAPI
Throws:
org.exoplatform.clouddrive.cmis.CMISException - if error happen during communication with SharePoint services
org.exoplatform.clouddrive.CloudDriveException - if cannot load local tokens

createUser

protected SharepointUser createUser(String userId,
                                    String userName,
                                    String email,
                                    org.exoplatform.clouddrive.cmis.CMISAPI api)



Copyright © 2003–2015 eXo Platform SAS. All rights reserved.