mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Added audit entry ID (from and to) as search parameters (requ. for CMIS)
- This change will be needed when fixing ETHREEOH-3487: Searching on Events does not restrict the audit result. - Moved parameters from method arguments into AuditQueryParameters - Deprecated old auditQuery APIs and fixed up Alfresco usage git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -207,34 +207,11 @@ public interface AuditDAO
|
||||
* Find audit entries using the given parameters, any of which may be null
|
||||
*
|
||||
* @param callback the data callback per entry
|
||||
* @param forward <tt>true</tt> for results to ordered from first to last,
|
||||
* or <tt>false</tt> to order from last to first
|
||||
* @param applicationName the name of the application to search against (optional)
|
||||
* @param user the user to search for (optional)
|
||||
* @param from the minimum entry time (optional)
|
||||
* @param to the maximum entry time (optional)
|
||||
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
||||
* @param maxResults the maximum number of results to retrieve
|
||||
*/
|
||||
void findAuditEntries(
|
||||
AuditQueryCallback callback,
|
||||
boolean forward,
|
||||
String applicationName, String user, Long from, Long to, int maxResults);
|
||||
|
||||
/**
|
||||
* Find audit entries using the given parameters, any of which may be null.
|
||||
*
|
||||
* @param searchKey the audit path key to search for (optional)
|
||||
* @param searchValue the audit value to search for (optional). This can be
|
||||
* of any type that is supported by the <b>alf_prop_xxx</b> tables.
|
||||
*
|
||||
* @see #findAuditEntries(AuditQueryCallback, String, String, Long, Long, int)
|
||||
*
|
||||
* @since 3.2
|
||||
*/
|
||||
void findAuditEntries(
|
||||
AuditQueryCallback callback,
|
||||
boolean forward,
|
||||
String applicationName, String user, Long from, Long to,
|
||||
String searchKey, Serializable searchValue,
|
||||
org.alfresco.service.cmr.audit.AuditQueryParameters parameters,
|
||||
int maxResults);
|
||||
}
|
Reference in New Issue
Block a user