public class AuditQueryParameters
extends java.lang.Object
| Constructor and Description |
|---|
AuditQueryParameters()
Defaults:
forward = true;searchKeyValues = emptylist : others = null |
| Modifier and Type | Method and Description |
|---|---|
void |
addSearchKey(java.lang.String searchKey,
java.io.Serializable searchValue)
Add a search key pair.
|
java.lang.String |
getApplicationName() |
java.lang.Long |
getFromId() |
java.lang.Long |
getFromTime() |
java.util.List |
getSearchKeyValues() |
java.lang.Long |
getToId() |
java.lang.Long |
getToTime() |
java.lang.String |
getUser() |
boolean |
isForward() |
boolean |
isZeroResultQuery() |
void |
setApplicationName(java.lang.String applicationName) |
void |
setForward(boolean forward) |
void |
setFromId(java.lang.Long fromId) |
void |
setFromTime(java.lang.Long fromTime) |
void |
setToId(java.lang.Long toId) |
void |
setToTime(java.lang.Long toTime) |
void |
setUser(java.lang.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 java.lang.String getApplicationName()
public void setApplicationName(java.lang.String applicationName)
applicationName - if not null, find entries logged against this applicationpublic java.lang.String getUser()
public void setUser(java.lang.String user)
user - if not null, find entries logged against this userpublic java.lang.Long getFromId()
public void setFromId(java.lang.Long fromId)
fromId - the ID to search from (null to start at the beginning)public java.lang.Long getToId()
public void setToId(java.lang.Long toId)
toId - the start ID to search to (null for no limit)public java.lang.Long getFromTime()
public void setFromTime(java.lang.Long fromTime)
fromTime - the start search time (null to start at the beginning)public java.lang.Long getToTime()
public void setToTime(java.lang.Long toTime)
toTime - the end search time (null for no limit)public java.util.List getSearchKeyValues()
public void addSearchKey(java.lang.String searchKey,
java.io.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 - 2010 Alfresco Software, Inc. All Rights Reserved.