public class AnywhereActivityAPI
extends java.lang.Object
See the method AnywhereAPI.getActivityAPI() to obtain an instance of the
AnywhereActivityAPI.
| Modifier | Constructor and Description |
|---|---|
protected |
AnywhereActivityAPI(AnywhereConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
AccountActivity |
getAccountActivity(AuthToken authToken,
java.lang.String pageToken,
java.lang.Integer pageSize,
PageAction pageAction,
java.lang.String language)
Get account activity
|
CollaborationActivity |
getCollaborationActivity(AuthToken authToken,
CollaborationActivityRequest.CollaborationActivityType activityType,
java.lang.String pageToken,
java.lang.Integer pageSize,
PageAction pageAction,
java.lang.String language)
Get collaboration activity
|
FilesActivity |
getFilesActivity(AuthToken authToken,
FilesActivityRequest.FilesActivityType activityType,
java.lang.String fsId,
java.lang.String pageToken,
java.lang.Integer pageSize,
PageAction pageAction,
java.lang.String language)
Get files activity of a filesystem
|
protected AnywhereActivityAPI(AnywhereConnector connector)
public FilesActivity getFilesActivity(AuthToken authToken, FilesActivityRequest.FilesActivityType activityType, java.lang.String fsId, java.lang.String pageToken, java.lang.Integer pageSize, PageAction pageAction, java.lang.String language) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestactivityType - Type of file activity, must be either MODIFY, READ_LINK, or READfsId - Filesystem IDpageToken - Token returned in last call to this API, or nullpageSize - Maximum number of entries to returnpageAction - Action to perform for this request (FIRST, LAST, NEXT, PREV)language - Locale in which activity strings should be returnedAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereExceptionpublic CollaborationActivity getCollaborationActivity(AuthToken authToken, CollaborationActivityRequest.CollaborationActivityType activityType, java.lang.String pageToken, java.lang.Integer pageSize, PageAction pageAction, java.lang.String language) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestactivityType - Type of collaboration activity, must be either SHARE, LINK, or
TEAM_MANAGEMENTpageToken - Token returned in last call to this API, or nullpageSize - Maximum number of entries to returnpageAction - Action to perform for this request (FIRST, LAST, NEXT, PREV)language - Locale in which activity strings should be returnedAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereExceptionpublic AccountActivity getAccountActivity(AuthToken authToken, java.lang.String pageToken, java.lang.Integer pageSize, PageAction pageAction, java.lang.String language) throws AwUnsupportedApiVersionException, java.io.IOException, AnywhereException
authToken - authentication token for the user performing the requestpageToken - Token returned in last call to this API, or nullpageSize - Maximum number of entries to returnpageAction - Action to perform for this request (FIRST, LAST, NEXT, PREV)language - Locale in which activity strings should be returnedAwUnsupportedApiVersionExceptionjava.io.IOExceptionAnywhereException