public class SearchHistory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
condition
TRPL condition expression used to identify search matches
|
private long |
searchId
Unique search ID
|
private java.util.List<java.lang.String> |
users
Names of users who have used this search
|
Constructor and Description |
---|
SearchHistory(long searchId,
java.lang.String condition)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addUser(java.lang.String user)
Add a name of a user who has used the search.
|
java.lang.String |
getCondition()
Get the TRPL condition expression used to identify search matches.
|
long |
getSearchId()
Get the search ID.
|
java.util.List<java.lang.String> |
getUsers()
Get the list of names of users who have used the search.
|
private final long searchId
private final java.lang.String condition
private final java.util.List<java.lang.String> users
public SearchHistory(long searchId, java.lang.String condition)
searchId
- Unique search ID.condition
- TRPL condition expression used to identify search matches.public long getSearchId()
public java.lang.String getCondition()
public void addUser(java.lang.String user)
user
- User name.public java.util.List<java.lang.String> getUsers()