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
int
hashCode()
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
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
SavedSearch
public SavedSearch() -
SavedSearch
-
-
Method Details
-
saveOptions
- Throws:
PersistenceException
-
readOptions
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SavedSearch>
-
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) -
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-