|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.sql.BaseDao com.esri.gpt.catalog.search.GptRepository
public class GptRepository
The Class GptRepository. Object that communicates with the Gpt repository for the search classes .
Constructor Summary | |
---|---|
GptRepository()
|
Method Summary | |
---|---|
void |
delete(Object id,
User user)
Delete a search |
protected Connection |
getConnection()
Gets the connection. |
RequestContext |
getRequestContext()
Gets the request context |
SavedSearchCriterias |
getSavedList(User user)
Gets the saved list. |
SearchCriteria |
getSearchCriteria(Object id,
User user)
Gets search criteria object |
HrRecord |
readHarvestRecord(String rid,
RequestContext context)
Read harvest record. |
Map<String,HrRecord> |
readHarvestRecords(StringSet rids,
RequestContext context)
Read harvest records. |
void |
save(SavedSearchCriteria savedCriteria)
Saves the criteria |
void |
save(String name,
String restCriteria,
User user)
Saves the criteria |
Methods inherited from class com.esri.gpt.framework.sql.BaseDao |
---|
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, logExpression, returnConnection, setRequestContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GptRepository()
Method Detail |
---|
public void delete(Object id, User user) throws SearchException
delete
in interface ISearchSaveRepository
id
- associated with the saved searchuser
- associated with the saved search
SearchException
public SavedSearchCriterias getSavedList(User user) throws SearchException
ISearchSaveRepository
getSavedList
in interface ISearchSaveRepository
user
- associated with the saved search
SearchException
public SearchCriteria getSearchCriteria(Object id, User user) throws SearchException
getSearchCriteria
in interface ISearchSaveRepository
id
- of the search criteriauser
- associated with the saved search
SearchException
public void save(SavedSearchCriteria savedCriteria) throws SearchException
save
in interface ISearchSaveRepository
savedCriteria
- Object with the search to be saved
SearchException
public void save(String name, String restCriteria, User user) throws SearchException
save
in interface ISearchSaveRepository
savedCriteria
- Object with the search to be saved
SearchException
protected Connection getConnection() throws SearchException, SQLException
SearchException
- the search exception
SQLException
- the SQL exceptionpublic RequestContext getRequestContext()
getRequestContext
in class BaseDao
public HrRecord readHarvestRecord(String rid, RequestContext context) throws SearchException
rid
- repository idcontext
- the request context
SearchException
- the search exceptionpublic Map<String,HrRecord> readHarvestRecords(StringSet rids, RequestContext context) throws SearchException
rids
- the ridscontext
- the context
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 |