mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Audit validation using XSD and related tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -91,14 +91,14 @@ public interface AuditComponent
|
||||
*
|
||||
* @param application the name of the application to log against
|
||||
* @param rootPath a base path of {@link AuditPath} key entries concatenated with <b>.</b> (period)
|
||||
* @return Returns the unique session identifier
|
||||
* @return Returns the unique session
|
||||
*/
|
||||
public Long startAuditSession(String application, String rootPath);
|
||||
public AuditSession startAuditSession(String application, String rootPath);
|
||||
|
||||
/**
|
||||
* Record a set of values against the given session.
|
||||
*
|
||||
* @param sessionId a pre-existing audit session to continue with
|
||||
* @param session a pre-existing audit session to continue with
|
||||
* @param values the values to audit mapped by {@link AuditPath} key relative to the session
|
||||
* root path
|
||||
*
|
||||
@@ -106,5 +106,5 @@ public interface AuditComponent
|
||||
*
|
||||
* @since 3.2
|
||||
*/
|
||||
public void audit(Long sessionId, Map<String, Object> values);
|
||||
public void audit(AuditSession session, Map<String, Object> values);
|
||||
}
|
||||
|
Reference in New Issue
Block a user