Package org.alfresco.rest.v0
Class RMAuditAPI
java.lang.Object
org.alfresco.rest.core.v0.BaseAPI
org.alfresco.rest.v0.RMAuditAPI
The v0 REST API for rm audit logs
- Since:
- 2.7
- Author:
- Rodica Sutu
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.rest.core.v0.BaseAPI
BaseAPI.PermissionType, BaseAPI.RETENTION_SCHEDULE, BaseAPI.RM_ACTIONS, BaseAPI.RMProperty -
Field Summary
Fields inherited from class org.alfresco.rest.core.v0.BaseAPI
ACTIONS_API, contentService, NODE_PREFIX, NODE_REF_WORKSPACE_SPACES_STORE, RM_ACTIONS_API, RM_SITE_ID, SHARE_ACTION_API, UPDATE_METADATA_API -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAuditLog(String username, String password) Clear the list of audit entries.getRMAuditLog(String user, String password, int size, String event) Returns a list of rm audit entries .Methods inherited from class org.alfresco.rest.core.v0.BaseAPI
addPropertyToRequest, deleteItem, doDeleteRequest, doGetRequest, doPostJsonRequest, doPostRequest, doPutJsonRequest, doPutRequest, doSlingshotPostJsonRequest, facetedRequest, getFilePlanPath, getItemNodeRef, getNodeRefSpacesStore, getObjectByPath, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesByUniquePropertyValue
-
Constructor Details
-
RMAuditAPI
public RMAuditAPI()
-
-
Method Details
-
getRMAuditLog
Returns a list of rm audit entries .- Parameters:
user- The username of the user to use.password- The password of the user.size- Maximum number of log entries to returnevent- The name of audit event to be retrieved- Returns:
- return Only return log entries matching this event
-
clearAuditLog
Clear the list of audit entries.- Parameters:
username- The username of the user to use.password- The password of the user.- Throws:
AssertionError- If the API call didn't clear the audit log.
-