|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorView com.plumtree.portalpages.admin.serversettings.search.SearchServerSettingsPopUpView
public class SearchServerSettingsPopUpView
Section class to display search server status in a popup window. Typically there is one search server used as the "query host" and "index host", and the view will show uptime and other information from that server, or an error message if we fail to connect.
Less typically, there will be separate servers configured for query, index, and failover host, and this view shows status info for each server in that case.
Field Summary | |
---|---|
static java.lang.String |
HTMLBUTTON_CLOSE
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
m_asOwner, m_model, SPACE |
Constructor Summary | |
---|---|
SearchServerSettingsPopUpView()
|
Method Summary | |
---|---|
static void |
AddSearchServerStatusHTML(HTMLElementCollection _result,
HTMLTable _currentTable,
ISearchServerSettingsEditorModelRO _model,
AActivitySpace _asOwner)
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
HTMLElement |
Display()
Display html for the search status info. |
protected static void |
DisplayClusterStatus(HTMLElementCollection result,
HTMLTable myTable,
java.lang.String title,
SearchClusterStatusInfo statusInfo,
AActivitySpace _asOwner)
Display a single property bag's worth of status info. |
protected void |
DisplayEmptyRow(HTMLElementCollection result,
HTMLTable myTable)
|
protected static void |
DisplayMultiLineStatusEntry(HTMLElementCollection result,
HTMLTable myTable,
java.lang.String name,
java.lang.String[] values,
PTStyleClass _styleListItem,
PTStyleClass _styleItemText)
|
protected static void |
DisplayStatus(HTMLElementCollection result,
HTMLTable myTable,
java.lang.String title,
java.lang.String host,
java.lang.String port,
SearchServerStatusInfo statusInfo,
AActivitySpace _asOwner)
Display a single property bag's worth of status info. |
protected static void |
DisplayStatusEntry(HTMLElementCollection result,
HTMLTable myTable,
java.lang.String name,
java.lang.String value,
PTStyleClass _styleListItem)
|
protected static PTStyleClass |
flipRowStyle(PTStyleClass _styleListItem)
|
protected ISearchServerSettingsEditorModelRO |
GetModel()
|
java.lang.String |
GetName()
Returns the Class name. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, DisplayJavascript, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init |
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
public static final java.lang.String HTMLBUTTON_CLOSE
Constructor Detail |
---|
public SearchServerSettingsPopUpView()
Method Detail |
---|
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class EditorView
IManagedObject.Create()
public HTMLElement Display()
Display
in interface IView
Display
in class EditorView
public static void AddSearchServerStatusHTML(HTMLElementCollection _result, HTMLTable _currentTable, ISearchServerSettingsEditorModelRO _model, AActivitySpace _asOwner)
public java.lang.String GetName()
EditorView
GetName
in interface IMVCObject
GetName
in class EditorView
protected ISearchServerSettingsEditorModelRO GetModel()
protected void DisplayEmptyRow(HTMLElementCollection result, HTMLTable myTable)
result
- myTable
-
HTMLException
protected static void DisplayStatus(HTMLElementCollection result, HTMLTable myTable, java.lang.String title, java.lang.String host, java.lang.String port, SearchServerStatusInfo statusInfo, AActivitySpace _asOwner)
protected static void DisplayClusterStatus(HTMLElementCollection result, HTMLTable myTable, java.lang.String title, SearchClusterStatusInfo statusInfo, AActivitySpace _asOwner)
protected static void DisplayStatusEntry(HTMLElementCollection result, HTMLTable myTable, java.lang.String name, java.lang.String value, PTStyleClass _styleListItem)
result
- myTable
- name
- value
-
HTMLException
protected static void DisplayMultiLineStatusEntry(HTMLElementCollection result, HTMLTable myTable, java.lang.String name, java.lang.String[] values, PTStyleClass _styleListItem, PTStyleClass _styleItemText)
protected static PTStyleClass flipRowStyle(PTStyleClass _styleListItem)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |