Class SavedSearch
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.searchengine.saved.SavedSearch
- All Implemented Interfaces:
- Serializable,- Comparable<SavedSearch>
@Entity
public class SavedSearch
extends PersistentObject
implements Serializable, Comparable<SavedSearch>
A search saved in the database
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Field SummaryFields inherited from class com.logicaldoc.core.PersistentObjectDELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(SavedSearch other) booleangetDate()getName()intgetType()longinthashCode()voidsaveOptions(SearchOptions opt) voidvoidsetDescription(String description) voidvoidsetOptions(String options) voidsetType(int type) voidsetUserId(long userId) Methods inherited from class com.logicaldoc.core.PersistentObjectgetCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
- 
Constructor Details- 
SavedSearchpublic SavedSearch()
- 
SavedSearch
 
- 
- 
Method Details- 
saveOptions- Throws:
- PersistenceException
 
- 
readOptions
- 
compareTo- Specified by:
- compareToin interface- Comparable<SavedSearch>
 
- 
getUserIdpublic long getUserId()
- 
setUserIdpublic void setUserId(long userId) 
- 
getName
- 
setName
- 
getDescription
- 
setDescription
- 
getDate
- 
setDate
- 
getOptions
- 
setOptions
- 
getTypepublic int getType()
- 
setTypepublic void setType(int type) 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- PersistentObject
 
- 
equals- Overrides:
- equalsin class- PersistentObject
 
 
-