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
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(SavedSearch other) boolean
getDate()
getName()
int
getType()
long
void
saveOptions
(SearchOptions opt) void
void
setDescription
(String description) void
void
setOptions
(String options) void
setType
(int type) void
setUserId
(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:
compareTo
in interfaceComparable<SavedSearch>
-
equals
- Overrides:
equals
in 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)
-