mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Audit session and bootstrap support
- Sessions are created using an application name (shared prop) and a persisted model ID - Added a bootstrap bean for audit that unmarshalls the models - Added hook points for repo-loading models, but won't implement yet git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,11 +38,13 @@ import org.alfresco.util.Pair;
|
||||
public interface AuditDAO
|
||||
{
|
||||
/**
|
||||
* Creates a new audit config entry or finds an existing one
|
||||
* Creates a new audit model entry or finds an existing one
|
||||
*
|
||||
* @param the URL of the configuration
|
||||
* @return Returns the ID of the config matching the input stream and the
|
||||
* content storage details
|
||||
*/
|
||||
Pair<Long, ContentData> getOrCreateAuditConfig(URL url);
|
||||
Pair<Long, ContentData> getOrCreateAuditModel(URL url);
|
||||
|
||||
Long createAuditSession(Long modelId, String application);
|
||||
}
|
||||
|
Reference in New Issue
Block a user