cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods
Class RegisterNewUserMethod

java.lang.Object
  extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
      extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.RegisterNewUserMethod

public class RegisterNewUserMethod
extends BaseBoxMethod

Author:
Jimmy

Field Summary
 
Fields inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
apiRequestFormat, apiUploadUrlPrefix, apiUrlPrefix, apiVersion, config, httpManager, soapApiUrl, xmlApiUrl
 
Constructor Summary
RegisterNewUserMethod()
           
 
Method Summary
 RegisterNewUserResponse registerNewUser(RegisterNewUserRequest registerNewUserRequest)
          This method is used to register a user.
 
Methods inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
getBaseSoapDocument, getElementByActionName, getRestUrl, getSoapElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterNewUserMethod

public RegisterNewUserMethod()
Method Detail

registerNewUser

public RegisterNewUserResponse registerNewUser(RegisterNewUserRequest registerNewUserRequest)
                                        throws java.io.IOException,
                                               BoxException
This method is used to register a user. Upon a successful registration, the status param will be 'successful_register'. If registration wasn't successful, status field can be: 'e_register', 'email_invalid', 'email_already_registered', 'application_restricted'.

Parameters:
registerNewUserRequest - request
Returns:
response
Throws:
java.io.IOException - io exception
BoxException - box exception