Class SavedSearch
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.searchengine.saved.SavedSearch
-
- All Implemented Interfaces:
Serializable
,Comparable<SavedSearch>
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description SavedSearch()
SavedSearch(SavedSearch source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SavedSearch other)
Date
getDate()
String
getDescription()
String
getName()
String
getOptions()
int
getType()
long
getUserId()
SearchOptions
readOptions()
void
saveOptions(SearchOptions opt)
void
setDate(Date date)
void
setDescription(String description)
void
setName(String name)
void
setOptions(String options)
void
setType(int type)
void
setUserId(long userId)
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Constructor Detail
-
SavedSearch
public SavedSearch()
-
SavedSearch
public SavedSearch(SavedSearch source)
-
-
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:
compareTo
in 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)
-
-