Class SavedSearch
- java.lang.Object
 - 
- com.logicaldoc.core.PersistentObject
 - 
- com.logicaldoc.core.searchengine.saved.SavedSearch
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Cloneable,Comparable<SavedSearch>
public class SavedSearch extends PersistentObject implements Serializable, Comparable<SavedSearch>, Cloneable
A search saved in the database- Since:
 - 8.6.1
 - Author:
 - Marco Meschieri - LogicalDOC
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SavedSearch() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SavedSearchclone()intcompareTo(SavedSearch other)DategetDate()StringgetDescription()StringgetName()StringgetOptions()intgetType()longgetUserId()SearchOptionsreadOptions()voidsaveOptions(SearchOptions opt)voidsetDate(Date date)voidsetDescription(String description)voidsetName(String name)voidsetOptions(String options)voidsetType(int type)voidsetUserId(long userId)- 
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
saveOptions
public void saveOptions(SearchOptions opt) throws IOException
- Throws:
 IOException
 
- 
readOptions
public SearchOptions readOptions() throws IOException
- Throws:
 IOException
 
- 
compareTo
public int compareTo(SavedSearch other)
- Specified by:
 compareToin interfaceComparable<SavedSearch>
 
- 
getUserId
public long getUserId()
 
- 
setUserId
public void setUserId(long userId)
 
- 
getName
public String getName()
 
- 
setName
public void setName(String name)
 
- 
getDescription
public String getDescription()
 
- 
setDescription
public void setDescription(String description)
 
- 
getDate
public Date getDate()
 
- 
setDate
public void setDate(Date date)
 
- 
getOptions
public String getOptions()
 
- 
setOptions
public void setOptions(String options)
 
- 
getType
public int getType()
 
- 
setType
public void setType(int type)
 
- 
clone
public SavedSearch clone()
 
 - 
 
 -