Class SavedSearch
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.searchengine.saved.SavedSearch
- All Implemented Interfaces:
Serializable,Comparable<SavedSearch>
A search saved in the database
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SavedSearch other) booleangetDate()getName()intgetType()longvoidsaveOptions(SearchOptions opt) voidvoidsetDescription(String description) voidvoidsetOptions(String options) voidsetType(int type) voidsetUserId(long userId) Methods inherited from class com.logicaldoc.core.PersistentObject
getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
SavedSearch
public SavedSearch() -
SavedSearch
-
-
Method Details
-
saveOptions
- Throws:
IOException
-
readOptions
-
compareTo
- Specified by:
compareToin interfaceComparable<SavedSearch>
-
equals
- Overrides:
equalsin classPersistentObject
-
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getName
-
setName
-
getDescription
-
setDescription
-
getDate
-
setDate
-
getOptions
-
setOptions
-
getType
public int getType() -
setType
public void setType(int type)
-