public class AnywhereUserAPI
extends java.lang.Object
See the method AnywhereAPI.getUserAPI() to obtain an instance of the AnywhereUserAPI.
| Modifier | Constructor and Description |
|---|---|
protected |
AnywhereUserAPI(AnywhereConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
User |
getInfo(AuthToken authToken)
Returns the user that the specified authToken applies to (authenticates).
|
FilesystemListing |
listFilesystems(AuthToken authToken)
List the requesting user's filesystems.
|
RestorePointListing |
listRestorePoints(AuthToken authToken)
List the requesting user's restore points.
|
User |
updateSetting(AuthToken authToken,
java.lang.String email,
java.lang.Boolean emailQuota,
java.lang.Boolean emailDevices,
java.lang.Boolean emailAuth,
java.lang.Boolean emailShareFile,
java.lang.Boolean emailUpload,
java.lang.Boolean emailShareFolder,
java.lang.String language,
java.lang.Boolean openFilesOnClick,
java.lang.Boolean showSingleClickUserGuide)
Update user's account settings.
|
protected AnywhereUserAPI(AnywhereConnector connector)
public User getInfo(AuthToken authToken) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereExceptionpublic User updateSetting(AuthToken authToken, java.lang.String email, java.lang.Boolean emailQuota, java.lang.Boolean emailDevices, java.lang.Boolean emailAuth, java.lang.Boolean emailShareFile, java.lang.Boolean emailUpload, java.lang.Boolean emailShareFolder, java.lang.String language, java.lang.Boolean openFilesOnClick, java.lang.Boolean showSingleClickUserGuide) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestemail - Optional. Can be null. The new email address. Note if the user has an email
address specified by their auth provider, then change email is not allowed and
this field shall be null. If set to null then original setting will be remainedemailQuota - Optional. Can be null. Boolean indicates whether or not to send email when
quota is nearly used up. If set to null then original setting will be remainedemailDevices. - Optional. Can be null. Boolean indicates whether or not to send email
when another device has joined the account. If set to null then original setting
will be remainedemailAuth - Optional. Can be null. Boolean indicates whether or not to send email if
there are authentication failures. If set to null then original setting will be
remainedemailShareFile - Optional. Can be null. Boolean indicates whether or not to send email
if files and folders shared via links are accessed. If set to null then original
setting will be remainedemailUpload - Optional. Can be null. Boolean indicates whether or not to send email if
there are files uploaded to folders shared via links. If set to null then original
setting will be remainedemailShareFolder - Optional. Can be null. Boolean indicates whether or not to send email
if is invited to a shared folder. If set to null then original setting will be
remainedlanguage - Optional. Can be null. Language used by the user. If set to null then
original setting will be remainedopenFilesOnClick - Optional. Boolean indicates whether or not to open the Office file on
clickshowSingleClickUserGuide - Optional. Boolean indicates whether user has accessed singe click functionality
previousy or notAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereExceptionpublic FilesystemListing listFilesystems(AuthToken authToken) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereExceptionpublic RestorePointListing listRestorePoints(AuthToken authToken) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereException