mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Further to MNT-16375: Updated API to reflect requirement to have a 'maxResults' parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,7 +28,7 @@ package org.alfresco.repo.audit;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.alfresco.repo.audit.model.AuditApplication;
|
import org.alfresco.repo.audit.model.AuditApplication;
|
||||||
import org.alfresco.repo.audit.model.AuditModelRegistry;
|
import org.alfresco.repo.audit.model.AuditModelRegistry;
|
||||||
import org.alfresco.repo.audit.model._3.AuditPath;
|
import org.alfresco.repo.audit.model._3.AuditPath;
|
||||||
@@ -232,7 +232,9 @@ public interface AuditComponent
|
|||||||
*
|
*
|
||||||
* @param callback the data callback per entry
|
* @param callback the data callback per entry
|
||||||
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
||||||
* @param maxResults the maximum number of results to retrieve (zero or negative to ignore)
|
* @param maxResults the maximum number of results to retrieve (must be greater than 0)
|
||||||
|
*
|
||||||
|
* @throws IllegalArgumentException if maxResults less or equal to zero
|
||||||
*
|
*
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
|
@@ -30,7 +30,7 @@ import java.net.URL;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.alfresco.service.cmr.audit.AuditService.AuditQueryCallback;
|
import org.alfresco.service.cmr.audit.AuditService.AuditQueryCallback;
|
||||||
import org.alfresco.service.cmr.repository.ContentData;
|
import org.alfresco.service.cmr.repository.ContentData;
|
||||||
import org.alfresco.util.Pair;
|
import org.alfresco.util.Pair;
|
||||||
@@ -203,8 +203,9 @@ public interface AuditDAO
|
|||||||
*
|
*
|
||||||
* @param callback the data callback per entry
|
* @param callback the data callback per entry
|
||||||
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
||||||
* @param maxResults the maximum number of results to retrieve. Must be greater than 0.
|
* @param maxResults the maximum number of results to retrieve (must be greater than 0)
|
||||||
* @throws IllegalArgumentException if maxResults < 1.
|
*
|
||||||
|
* @throws IllegalArgumentException if maxResults less or equal to zero
|
||||||
*/
|
*/
|
||||||
void findAuditEntries(
|
void findAuditEntries(
|
||||||
AuditQueryCallback callback,
|
AuditQueryCallback callback,
|
||||||
|
@@ -212,7 +212,9 @@ public interface AuditService
|
|||||||
*
|
*
|
||||||
* @param callback the callback that will handle results
|
* @param callback the callback that will handle results
|
||||||
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
* @param parameters the parameters for the query (may not be <tt>null</tt>)
|
||||||
* @param maxResults the maximum number of results to retrieve (zero or negative to ignore)
|
* @param maxResults the maximum number of results to retrieve (must be greater than 0)
|
||||||
|
*
|
||||||
|
* @throws IllegalArgumentException if maxResults less or equal to zero
|
||||||
*
|
*
|
||||||
* @since 3.3
|
* @since 3.3
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user