|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.portlets.user.collectionexplorer.client.controller.Controller
public class Controller
Controller
is the entry point class
Field Summary | |
---|---|
String |
collectionID
|
Constructor Summary | |
---|---|
Controller(CollectionsExplorer collectionsExplorer)
|
Method Summary | |
---|---|
void |
cleanResults()
|
void |
displayQuery(String toDisplay)
|
void |
displayResults(Vector<ResultObj> results,
int from,
int to,
String currTotal,
boolean normalResults,
HashMap<String,String> externalLinks)
adds a record to the recordpanel |
void |
displaySingleResult(ResultObj result,
int i,
int from,
boolean isLastOne)
single result |
void |
enableNextButton(boolean enable)
|
void |
enablePrevButton(boolean enable)
|
void |
fillCollections(List<CollectionBean> colls)
|
void |
firstPageButtonClicked()
|
CollectionsExplorer |
getCollExplorer()
|
void |
hideLoading()
This method closes the loading gif |
void |
hideNoResultsPopup()
|
boolean |
isAskTreeManager()
|
void |
nextPageButtonClicked()
|
void |
prevPageButtonClicked()
|
void |
retrieveCollectionObjects(String collectionId,
int mode)
|
void |
retrieveCollectionTrees(String collectionId,
int mode)
|
void |
setAskTreeManager(boolean askTreeManager)
|
void |
setPageDisplayer(String html)
|
void |
showLoading()
This method show the loading gif during ajax server calls |
void |
showNoResultsPopup(String msg,
boolean showMsg)
This method show the popup for error or no results after a search |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String collectionID
Constructor Detail |
---|
public Controller(CollectionsExplorer collectionsExplorer)
collExplorer
- Method Detail |
---|
public void retrieveCollectionObjects(String collectionId, int mode)
collectionID
- mode
- public void retrieveCollectionTrees(String collectionId, int mode)
collectionID
- mode
- public void cleanResults()
public void displayResults(Vector<ResultObj> results, int from, int to, String currTotal, boolean normalResults, HashMap<String,String> externalLinks)
toadd
- the RusultItem to addpublic void displaySingleResult(ResultObj result, int i, int from, boolean isLastOne)
result
- i
- public void displayQuery(String toDisplay)
toDisplay
- the query to displaypublic void setPageDisplayer(String html)
html
- public void fillCollections(List<CollectionBean> colls)
public void showLoading()
public void hideLoading()
public void enableNextButton(boolean enable)
enable
- public void enablePrevButton(boolean enable)
enable
- public void prevPageButtonClicked()
public void firstPageButtonClicked()
public void nextPageButtonClicked()
public void showNoResultsPopup(String msg, boolean showMsg)
showMsg
- true if you got an error during search, false otherwisepublic void hideNoResultsPopup()
public CollectionsExplorer getCollExplorer()
public boolean isAskTreeManager()
public void setAskTreeManager(boolean askTreeManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |