|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.search.network.NetworkSearchResultsView
public class NetworkSearchResultsView
Field Summary | |
---|---|
static java.lang.String |
SEPARATOR
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Constructor Summary | |
---|---|
NetworkSearchResultsView()
|
Method Summary | |
---|---|
protected void |
addCollatedTopRow(HTMLTable table)
|
protected void |
addHeaderRow(HTMLTable resultsTable,
boolean collated)
|
protected void |
addMoreFromEachLink(HTMLTable resultTable,
IXPList sources,
boolean inCollatedMode)
|
protected void |
addMoreFromHereLink(HTMLTableCell cell,
int sourceId)
in parallel mode, user can click here and is then shown the results only from this source |
protected void |
AddOtherViewModeOption(HTMLSelect select,
java.lang.String viewMode,
java.lang.String uiString,
IXPList sources,
boolean selected)
users can toggle between "parallel" presentation (results from each source are separated out) and "collated" view (results alternate). |
protected void |
addSearchBox(HTMLTableCell outerCell,
IXPList sources)
|
protected void |
addSearchResults(HTMLElement container,
IXPList sources,
boolean inCollatedMode)
|
protected void |
addSearchResultsBar(HTMLElement container,
java.lang.String text)
|
protected void |
addSearchStringAndLocations(HTMLTableCell overallCell,
IXPList sources)
|
protected void |
addSummaryInfo(HTMLTableCell outerCell,
IXPList sources)
|
protected void |
addTogglingParallelandCollated(HTMLTable table,
IXPList sources,
boolean inCollatedMode)
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected HTMLForm |
createReorgForm(IXPList sources)
|
HTMLElement |
Display()
This method returns the HTMLElement that encompasses the output of the View. |
HTMLScript |
DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(IModelRO model,
AActivitySpace parent)
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS). |
protected HTMLTable |
makeSkeletonResultsTable()
|
protected void |
showCollatedResults(IXPList sources,
boolean popup,
HTMLTable table)
present the results interleaved (e.g., if there are three sources, then we show first result from source 1, first result from source 2, first result from source 3, second result from source 1, second result from source 2, and so on. |
protected void |
showResult(HTMLTable table,
int sourceId,
int withinSourceResultNum,
int overallResultNum,
int startIndex,
boolean collated,
boolean popup)
|
protected void |
showResultsInParallel(IXPList sources,
boolean popup,
HTMLTable table)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SEPARATOR
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public NetworkSearchResultsView()
Method Detail |
---|
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public HTMLElement Display()
IView
Display
in interface IView
com.plumtree.portaluiinfrastructure.activityspace.IView#Display()
protected void addSearchResults(HTMLElement container, IXPList sources, boolean inCollatedMode)
protected void addSearchResultsBar(HTMLElement container, java.lang.String text)
protected HTMLTable makeSkeletonResultsTable()
protected void addHeaderRow(HTMLTable resultsTable, boolean collated)
protected HTMLForm createReorgForm(IXPList sources)
protected void addSummaryInfo(HTMLTableCell outerCell, IXPList sources)
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
IView.DisplayJavascript()
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
com.plumtree.portaluiinfrastructure.activityspace.IView#GetName()
public void Init(IModelRO model, AActivitySpace parent)
IView
Init
in interface IView
com.plumtree.portaluiinfrastructure.activityspace.IView#Init(IModelRO, AActivitySpace)
protected void AddOtherViewModeOption(HTMLSelect select, java.lang.String viewMode, java.lang.String uiString, IXPList sources, boolean selected)
protected void addMoreFromEachLink(HTMLTable resultTable, IXPList sources, boolean inCollatedMode)
result
- sources
- inCollatedMode
-
HTMLException
protected void addMoreFromHereLink(HTMLTableCell cell, int sourceId)
protected void addSearchStringAndLocations(HTMLTableCell overallCell, IXPList sources)
protected void addSearchBox(HTMLTableCell outerCell, IXPList sources)
protected void addTogglingParallelandCollated(HTMLTable table, IXPList sources, boolean inCollatedMode)
result
- The HTMLElementCollection that generates the
overall pagesources
- Integer list of fed portals being searchedinCollatedMode
- If true, results are intermingled. Otherwise,
they are kept in separate groups.
HTMLException
protected void addCollatedTopRow(HTMLTable table)
protected void showCollatedResults(IXPList sources, boolean popup, HTMLTable table)
protected void showResult(HTMLTable table, int sourceId, int withinSourceResultNum, int overallResultNum, int startIndex, boolean collated, boolean popup)
table
- sourceId
- withinSourceResultNum
- overallResultNum
- collated
-
HTMLException
protected void showResultsInParallel(IXPList sources, boolean popup, HTMLTable table)
sources
- table
-
HTMLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |