Package com.openkm.sdk4j.impl
Class ActivityImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.ActivityImpl
-
- All Implemented Interfaces:
BaseActivity,Serializable
public class ActivityImpl extends ClientImpl implements BaseActivity, Serializable
ActivityImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityImpl(String host)ActivityImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityListfindActivityLog(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.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationToken-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
ActivityImpl
public ActivityImpl(String host)
ActivityImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
findActivityLog
public ActivityList findActivityLog(int page, int length, Calendar beginDate, Calendar endDate, String user, String action, String item) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
Description copied from interface:BaseActivityReturns a list of all activity log by date, user, action and item.- Specified by:
findActivityLogin interfaceBaseActivity- Parameters:
page- the pagelength- the lengthbeginDate- the begin dateendDate- the end dateuser- the useraction- the actionitem- Node uuid- Returns:
- ActivityList activity list
- Throws:
PathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getActivityActions
public List<String> getActivityActions() throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
Description copied from interface:BaseActivityReturns a list of all the activity log actions.- Specified by:
getActivityActionsin interfaceBaseActivity- Returns:
- List
activity actions - Throws:
PathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
-