| 
 | Esri Geoportal Server 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.search.SavedSearchCriteria
public class SavedSearchCriteria
The Class SearchSaveBean. Bean representing a saved search criteria.
| Constructor Summary | |
|---|---|
| SavedSearchCriteria(String name,
                    SearchCriteria criteria,
                    User user)Initiated by the class saving the criteria into the db. | |
| SavedSearchCriteria(String id,
                    String name,
                    ISearchSaveRepository repository)Initiated by a a method that know the repository object so that the searchCriteria can be fetched later on from the repository if (Lazy loading of search criteria from repository). | |
| Method Summary | |
|---|---|
|  String | getCriteria()Gets the criteria. | 
|  String | getId()Gets the id. | 
|  String | getName()Gets the name. | 
|  SearchCriteria | getSearchCriteria()Gets the search criteria. | 
|  User | getUser()Gets the user. | 
|  void | setCriteria(String criteria)Sets the criteria. | 
|  void | setUser(User user)Sets the user. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SavedSearchCriteria(String name,
                           SearchCriteria criteria,
                           User user)
name - the namecriteria - the criteria
public SavedSearchCriteria(String id,
                           String name,
                           ISearchSaveRepository repository)
id - The id that will be used to get the document from the repositoryname - The name associated with the recordrepository - to use for fetching the the criteria when getSearchCriteria is called| Method Detail | 
|---|
public String getCriteria()
public void setCriteria(String criteria)
criteria - the new criteriapublic User getUser()
public void setUser(User user)
user - the new userpublic String getId()
public String getName()
public SearchCriteria getSearchCriteria()
                                 throws SearchException
SearchException - the search exception| 
 | Esri Geoportal Server 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||