Class RecordsManagementAuditQueryParameters
- java.lang.Object
-
- org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditQueryParameters
-
@AlfrescoPublicApi public final class RecordsManagementAuditQueryParameters extends Object
Class to represent the parameters for a Records Management audit log query.- Author:
- Gavin Cornwell
-
-
Constructor Summary
Constructors Constructor Description RecordsManagementAuditQueryParameters()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getDateFrom()
Date
getDateTo()
String
getEvent()
int
getMaxEntries()
NodeRef
getNodeRef()
QName
getProperty()
String
getUser()
void
setDateFrom(Date dateFrom)
Restricts the retrieved audit trail to only those entries that occurred after the given date.void
setDateTo(Date dateTo)
Restricts the retrieved audit trail to only those entries that occurred before the given date.void
setEvent(String event)
Restricts the retrieved audit trail to only those entries that match the given event string.void
setMaxEntries(int maxEntries)
Restricts the retrieved audit trail to the lastmaxEntries
entries.void
setNodeRef(NodeRef nodeRef)
Restricts the retrieved audit trail to only those entries created by the give node.void
setProperty(QName property)
Restricts the audit trail to only those entries that involve the given property.void
setUser(String user)
Restricts the retrieved audit trail to entries made by the provided user.String
toString()
-
-
-
Method Detail
-
getUser
public String getUser()
- Returns:
- The username to filter by
-
setUser
public void setUser(String user)
Restricts the retrieved audit trail to entries made by the provided user.- Parameters:
user
- The username to filter by
-
getMaxEntries
public int getMaxEntries()
- Returns:
- The maximum number of audit log entries to retrieve
-
setMaxEntries
public void setMaxEntries(int maxEntries)
Restricts the retrieved audit trail to the lastmaxEntries
entries.- Parameters:
maxEntries
- Maximum number of entries
-
getNodeRef
public NodeRef getNodeRef()
- Returns:
- The node to get entries for
-
setNodeRef
public void setNodeRef(NodeRef nodeRef)
Restricts the retrieved audit trail to only those entries created by the give node.- Parameters:
nodeRef
- The node to get entries for
-
getDateFrom
public Date getDateFrom()
- Returns:
- The date to retrieve entries from
-
setDateFrom
public void setDateFrom(Date dateFrom)
Restricts the retrieved audit trail to only those entries that occurred after the given date.- Parameters:
dateFrom
- Date to retrieve entries after
-
getDateTo
public Date getDateTo()
- Returns:
- The date to retrive entries to
-
setDateTo
public void setDateTo(Date dateTo)
Restricts the retrieved audit trail to only those entries that occurred before the given date.- Parameters:
dateTo
- Date to retrieve entries before
-
getEvent
public String getEvent()
- Returns:
- The event to retrive entries for
-
setEvent
public void setEvent(String event)
Restricts the retrieved audit trail to only those entries that match the given event string.- Parameters:
event
- Event to retrieve entries for
-
getProperty
public QName getProperty()
- Returns:
- The property to retrieve entries for
-
setProperty
public void setProperty(QName property)
Restricts the audit trail to only those entries that involve the given property.- Parameters:
property
- The property to retrieve entries for
-
-