public class ActivityImpl extends ClientImpl implements BaseActivity, Serializable
Constructor and Description |
---|
ActivityImpl(String host)
ActivityImpl
|
Modifier and Type | Method and Description |
---|---|
ActivityList |
findActivityLog(int page,
int length,
Calendar beginDate,
Calendar endDate,
String user,
String action,
String item)
Returns a list of all activity log by date, user, action and item.
|
List<String> |
getActivityActions()
Returns a list of all the activity log actions.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, resource, resource
public ActivityImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public ActivityList findActivityLog(int page, int length, Calendar beginDate, Calendar endDate, String user, String action, String item) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
BaseActivity
findActivityLog
in interface BaseActivity
page
- the pagelength
- the lengthbeginDate
- the begin dateendDate
- the end dateuser
- the useraction
- the actionitem
- Node uuidPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionpublic List<String> getActivityActions() throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
BaseActivity
getActivityActions
in interface BaseActivity
PathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.