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:
Derek Hulley
2009-08-24 20:10:49 +00:00
parent b8c93f89f3
commit 598ecfb27b
27 changed files with 1112 additions and 224 deletions

View File

@@ -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);
}