|
|||||||||
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_D
public class NetworkSearchResultsView_D
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Constructor Summary | |
---|---|
NetworkSearchResultsView_D()
|
Method Summary | |
---|---|
protected void |
addMoreFromHereLink(HTMLTableRow row,
int sourceId)
in parallel mode, user can click here and is then shown the results only from this source |
protected void |
AddOtherViewModeLink(HTMLTableCell cell,
java.lang.String viewMode,
java.lang.String uiString,
IXPList sources)
users can toggle between "parallel" presentation (results from each source are separated out) and "collated" view (results alternate). |
protected void |
addReturnToLaunchAndMoreFromEachLink(HTMLElementCollection result,
IXPList sources,
boolean inCollatedMode,
int numDisplayedSoFar)
|
protected void |
addSearchBox(HTMLTableCell overallCell,
IXPList sources)
|
protected void |
addSearchStringAndLocations(HTMLTableCell overallCell,
IXPList sources)
|
protected void |
addTogglingParallelandCollated(HTMLElementCollection result,
IXPList sources,
boolean inCollatedMode)
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
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 void |
showCollatedResults(IXPList sources,
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,
boolean collated)
|
protected void |
showResultsInParallel(IXPList sources,
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 STR_MVC_CLASS_NAME
Constructor Detail |
---|
public NetworkSearchResultsView_D()
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()
public HTMLScript DisplayJavascript()
IView
DisplayJavascript
in interface IView
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 AddOtherViewModeLink(HTMLTableCell cell, java.lang.String viewMode, java.lang.String uiString, IXPList sources)
protected void addReturnToLaunchAndMoreFromEachLink(HTMLElementCollection result, IXPList sources, boolean inCollatedMode, int numDisplayedSoFar)
result
- sources
- inCollatedMode
-
HTMLException
protected void addMoreFromHereLink(HTMLTableRow row, int sourceId)
protected void addSearchStringAndLocations(HTMLTableCell overallCell, IXPList sources)
protected void addSearchBox(HTMLTableCell overallCell, IXPList sources)
protected void addTogglingParallelandCollated(HTMLElementCollection result, 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 showCollatedResults(IXPList sources, HTMLTable table)
protected void showResult(HTMLTable table, int sourceId, int withinSourceResultNum, int overallResultNum, boolean collated)
table
- sourceId
- withinSourceResultNum
- overallResultNum
- collated
-
HTMLException
protected void showResultsInParallel(IXPList sources, HTMLTable table)
sources
- table
-
HTMLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |