|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.framework.search.library.impl.SearchHelper
public class SearchHelper
| Field Summary | |
|---|---|
static DocumentBuilderFactory |
dfactory
Document factory instance |
| Constructor Summary | |
|---|---|
SearchHelper(org.gcube.application.framework.core.session.ASLSession session)
|
|
SearchHelper(String username,
String extSessionID)
|
|
| Method Summary | |
|---|---|
int |
addQuery(QueryGroup query)
|
int |
createQuery(int qid,
boolean... previous)
|
CollectionInfo |
findCollectionInfo(String collectionId)
|
QueryGroup |
getActiveQueryGroup()
|
int |
getActiveQueryGroupNo()
|
List<QueryGroup> |
getAllQueries()
|
HashMap<CollectionInfo,ArrayList<CollectionInfo>> |
getAvailableCollections()
|
ArrayList<CollectionInfo> |
getExternalCollectionInfos()
|
ArrayList<String> |
getExternalCollections()
|
int |
getNumberOfQueryGroups()
|
QueryGroup |
getQuery(int qid)
|
HashMap<CollectionInfo,ArrayList<CollectionInfo>> |
refreshAvailableCollections()
|
void |
removeQuery(int qid)
|
List<CollectionInfo> |
searchCollections(String term,
String whereToSearch)
|
void |
setActiveQueryGroup(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DocumentBuilderFactory dfactory
| Constructor Detail |
|---|
public SearchHelper(String username,
String extSessionID)
username - the username of the user that makes the requestextSessionID - the external session ID. In case of a web aplication using ASL, this is the http session IDpublic SearchHelper(org.gcube.application.framework.core.session.ASLSession session)
session - | Method Detail |
|---|
public List<QueryGroup> getAllQueries()
public HashMap<CollectionInfo,ArrayList<CollectionInfo>> getAvailableCollections()
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorException
public ArrayList<String> getExternalCollections()
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorException
public ArrayList<CollectionInfo> getExternalCollectionInfos()
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorExceptionpublic QueryGroup getQuery(int qid)
public int addQuery(QueryGroup query)
public void removeQuery(int qid)
public int createQuery(int qid,
boolean... previous)
public int getNumberOfQueryGroups()
public QueryGroup getActiveQueryGroup()
public int getActiveQueryGroupNo()
public void setActiveQueryGroup(int i)
public HashMap<CollectionInfo,ArrayList<CollectionInfo>> refreshAvailableCollections()
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorException
public CollectionInfo findCollectionInfo(String collectionId)
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorException
public List<CollectionInfo> searchCollections(String term,
String whereToSearch)
throws InitialBridgingNotCompleteException,
InternalErrorException
InitialBridgingNotCompleteException
InternalErrorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||