|
||||||||||
| 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 |
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
Object logger. |
| 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 |
|---|
protected final org.gcube.common.core.utils.logging.GCUBELog logger
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()
public ArrayList<String> getExternalCollections()
public 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 HashMap<CollectionInfo,ArrayList<CollectionInfo>> refreshAvailableCollections()
public CollectionInfo findCollectionInfo(String collectionId)
public List<CollectionInfo> searchCollections(String term,
String whereToSearch)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||