public class AuditQueryParameters extends Object
| Constructor and Description |
|---|
AuditQueryParameters()
Defaults:
forward = true;searchKeyValues = emptylistothers = null |
| Modifier and Type | Method and Description |
|---|---|
void |
addSearchKey(String searchKey,
Serializable searchValue)
Add a search key pair.
|
String |
getApplicationName() |
Long |
getFromId() |
Long |
getFromTime() |
List<org.alfresco.util.Pair<String,Serializable>> |
getSearchKeyValues() |
Long |
getToId() |
Long |
getToTime() |
String |
getUser() |
boolean |
isForward() |
boolean |
isZeroResultQuery() |
void |
setApplicationName(String applicationName) |
void |
setForward(boolean forward) |
void |
setFromId(Long fromId) |
void |
setFromTime(Long fromTime) |
void |
setToId(Long toId) |
void |
setToTime(Long toTime) |
void |
setUser(String user) |
public AuditQueryParameters()
forward = true;searchKeyValues = emptylistothers = nullpublic boolean isZeroResultQuery()
public boolean isForward()
public void setForward(boolean forward)
forward - true for results to ordered from first to last,
or false to order from last to firstpublic String getApplicationName()
public void setApplicationName(String applicationName)
applicationName - if not null, find entries logged against this applicationpublic String getUser()
public void setUser(String user)
user - if not null, find entries logged against this userpublic Long getFromId()
public void setFromId(Long fromId)
fromId - the ID to search from (null to start at the beginning)public Long getToId()
public void setToId(Long toId)
toId - the start ID to search to (null for no limit)public Long getFromTime()
public void setFromTime(Long fromTime)
fromTime - the start search time (null to start at the beginning)public Long getToTime()
public void setToTime(Long toTime)
toTime - the end search time (null for no limit)public List<org.alfresco.util.Pair<String,Serializable>> getSearchKeyValues()
public void addSearchKey(String searchKey, Serializable searchValue)
searchKey - the path-value pair. Either the path (first value)
or the search value (second value) may be null,
but not both.Copyright © 2005–2018 Alfresco Software. All rights reserved.