public class WSAuditBean extends AbstractNuxeoWebService implements WSAudit
Constructor and Description |
---|
WSAuditBean() |
Modifier and Type | Method and Description |
---|---|
ModifiedDocumentDescriptorPage |
listDeletedDocumentsByPage(String sessionId,
String dateRangeQuery,
String path,
int page,
int pageSize)
Returns the list of deleted documents within a timestamp.
|
EventDescriptorPage |
listDocumentEventsByPage(String sessionId,
String dateRangeQuery,
String startDate,
String path,
int page,
int pageSize)
Gets a filtered list of document events.
|
EventDescriptorPage |
listEventsByPage(String sessionId,
String dateRangeQuery,
int page,
int pageSize) |
ModifiedDocumentDescriptor[] |
listModifiedDocuments(String sessionId,
String dateRangeQuery)
Returns the list of modified document within a timestamp.
|
ModifiedDocumentDescriptorPage |
listModifiedDocumentsByPage(String sessionId,
String dateRangeQuery,
String path,
int page,
int pageSize) |
EventDescriptorPage |
queryEventsByPage(String sessionId,
String whereClause,
int page,
int pageSize) |
connect, connectOnRepository, disconnect
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, disconnect
public ModifiedDocumentDescriptor[] listModifiedDocuments(String sessionId, String dateRangeQuery) throws AuditException
WSAudit
listModifiedDocuments
in interface WSAudit
sessionId
- the Nuxeo core session id.dateRangeQuery
- the date range query.AuditException
public ModifiedDocumentDescriptorPage listModifiedDocumentsByPage(String sessionId, String dateRangeQuery, String path, int page, int pageSize) throws AuditException
listModifiedDocumentsByPage
in interface WSAudit
AuditException
public ModifiedDocumentDescriptorPage listDeletedDocumentsByPage(String sessionId, String dateRangeQuery, String path, int page, int pageSize) throws AuditException
WSAudit
listDeletedDocumentsByPage
in interface WSAudit
AuditException
public EventDescriptorPage listEventsByPage(String sessionId, String dateRangeQuery, int page, int pageSize) throws AuditException
listEventsByPage
in interface WSAudit
AuditException
public EventDescriptorPage listDocumentEventsByPage(String sessionId, String dateRangeQuery, String startDate, String path, int page, int pageSize) throws AuditException
WSAudit
Expecting either a dateRangeQuery or a startDate.
listDocumentEventsByPage
in interface WSAudit
sessionId
- the Nuxeo core session id.dateRangeQuery
- the date range query like "24h" for the last 24 hours, may be null
if
startDate is set.startDate
- return events that occurs after startDate, expecting W3C date time format. May be
null
if dateRangeQuery is set. Will be ignored if dateRangeQuery is set.path
- filter events for documents starting with this path.page
- page number starting with page 1.pageSize
- number of items in a page.AuditException
public EventDescriptorPage queryEventsByPage(String sessionId, String whereClause, int page, int pageSize) throws AuditException
queryEventsByPage
in interface WSAudit
AuditException
Copyright © 2015 Nuxeo SA. All rights reserved.