Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)

137949 anechifor: REPO-2555 validate auditAppId


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2017-07-12 12:11:51 +00:00
parent 03ec9fbbcf
commit 0e86382a6b
2 changed files with 18 additions and 7 deletions

View File

@@ -54,6 +54,9 @@ public class AuditApplicationsAuditEntriesRelation implements RelationshipResour
ParameterCheck.mandatory("audit", this.audit);
}
/**
* If auditAppId does not exist, EntityNotFoundException (status 404).
*/
@WebApiDescription(title = "Returns audit entries for audit app id")
@Override
public CollectionWithPagingInfo<AuditEntry> readAll(String auditAppId, Parameters parameters)