|
||||||||||
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 javax.xml.parsers.DocumentBuilderFactory |
dfactory
Document factory instance |
Constructor Summary | |
---|---|
SearchHelper(ASLSession session)
|
|
SearchHelper(java.lang.String username,
java.lang.String extSessionID)
|
Method Summary | |
---|---|
int |
addQuery(QueryGroup query)
|
int |
createQuery(int qid,
boolean... previous)
|
CollectionInfo |
findCollectionInfo(java.lang.String collectionId)
|
QueryGroup |
getActiveQueryGroup()
|
int |
getActiveQueryGroupNo()
|
java.util.List<QueryGroup> |
getAllQueries()
|
java.util.HashMap<CollectionInfo,java.util.ArrayList<CollectionInfo>> |
getAvailableCollections()
|
java.util.ArrayList<CollectionInfo> |
getExternalCollectionInfos()
|
java.util.ArrayList<java.lang.String> |
getExternalCollections()
|
int |
getNumberOfQueryGroups()
|
QueryGroup |
getQuery(int qid)
|
java.util.HashMap<CollectionInfo,java.util.ArrayList<CollectionInfo>> |
refreshAvailableCollections()
|
void |
removeQuery(int qid)
|
java.util.List<CollectionInfo> |
searchCollections(java.lang.String term,
java.lang.String whereToSearch)
|
void |
setActiveQueryGroup(int i)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.parsers.DocumentBuilderFactory dfactory
Constructor Detail |
---|
public SearchHelper(java.lang.String username, java.lang.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(ASLSession session)
session
- Method Detail |
---|
public java.util.List<QueryGroup> getAllQueries()
public java.util.HashMap<CollectionInfo,java.util.ArrayList<CollectionInfo>> getAvailableCollections()
public java.util.ArrayList<java.lang.String> getExternalCollections()
public java.util.ArrayList<CollectionInfo> getExternalCollectionInfos()
public 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 java.util.HashMap<CollectionInfo,java.util.ArrayList<CollectionInfo>> refreshAvailableCollections()
public CollectionInfo findCollectionInfo(java.lang.String collectionId)
public java.util.List<CollectionInfo> searchCollections(java.lang.String term, java.lang.String whereToSearch)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |