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:
  • Constructor Details

    • SavedSearch

      public SavedSearch()
    • SavedSearch

      public SavedSearch(SavedSearch source)
  • Method Details

    • saveOptions

      public void saveOptions(SearchOptions opt) throws IOException
      Throws:
      IOException
    • readOptions

      public SearchOptions readOptions()
    • compareTo

      public int compareTo(SavedSearch other)
      Specified by:
      compareTo in interface Comparable<SavedSearch>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject
    • 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)