|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portalpages.admin.ptutilities.diagnostic.relatedservers.RelatedServersModel
public class RelatedServersModel
This model initializes the Server List with related servers, such as the Search, Automation, and Collaboration Servers.
| Field Summary | |
|---|---|
protected AActivitySpace |
m_asOwner
|
protected XPHashtable |
m_htInitialPortletStatus
|
static int |
PORTLET_TIMEOUT
|
static int |
SERVER_TYPE_AUTOMATION
|
static int |
SERVER_TYPE_COLLAB
|
static int |
SERVER_TYPE_CONTENT
|
static int |
SERVER_TYPE_SEARCH
|
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the activity space |
| Constructor Summary | |
|---|---|
RelatedServersModel()
|
|
| Method Summary | |
|---|---|
protected void |
AddSearchServerToData(java.lang.String _strHostName,
java.lang.String _strServerDescription,
SearchServerStatusInfo _oStatus,
java.lang.Object[][] _oData,
int nIndex)
Helper method to add the search server data to the array. |
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
protected java.lang.String |
ConvertServerStatus(int _nAutomationServerStatus,
boolean _bHasJobFolder)
This helper method converts from an Automation Server status code to a ServerList status light code. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected HTMLAnchor |
GetAutomationServerAnchor(java.lang.String _strName)
Helper method that creates an HTML Anchor to a pop-up page viewing automation server details. |
protected java.lang.Object[][] |
GetAutomationServerData()
Helper method to generate the data for the Automation Servers. |
static HTMLAnchor |
GetCollabServerAnchor(java.lang.String _strName,
java.lang.String _strBaseURL)
Helper method that creates an HTML Anchor to a pop-up page viewing the Collaboration Server Diagnostic Page. |
static java.lang.Object[][] |
GetCollabServerUUIDFilter()
This helper method creates a filter array to filter for Collaboration Server's unique UUID when querying Gadget Content Servers. |
static HTMLAnchor |
GetContentServerAnchor(java.lang.String _strName,
java.lang.String _strBaseURL)
Helper method that creates an HTML Anchor to a pop-up page viewing the Content Server Diagnostic Page. |
static java.lang.Object[][] |
GetContentServerUUIDFilter()
This helper method creates a filter array to filter for Content Server's unique UUID when querying Gadget Content Servers. |
protected java.lang.Object[][] |
GetInstalledServerData(int _nServerType)
Helper method to generate the data for the Collab and Content Servers. |
java.lang.String |
GetName()
Return the name of the MVC object. |
protected HTMLAnchor |
GetSearchServerAnchor(java.lang.String _strName)
Helper method that creates an HTML Anchor to a pop-up page viewing automation server details. |
protected java.lang.Object[][] |
GetSearchServerData()
Helper method to generate the data for the Search Servers. |
void |
Init(AActivitySpace parent)
This method initializes the model. |
void |
PopulateServerList()
Helper method to populate the Server List. |
void |
StartServerList()
Helper method to start the Server List. |
| 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
protected AActivitySpace m_asOwner
public static final int SERVER_TYPE_SEARCH
public static final int SERVER_TYPE_AUTOMATION
public static final int SERVER_TYPE_COLLAB
public static final int SERVER_TYPE_CONTENT
protected XPHashtable m_htInitialPortletStatus
public static final int PORTLET_TIMEOUT
| Constructor Detail |
|---|
public RelatedServersModel()
| Method Detail |
|---|
public void StartServerList()
public void PopulateServerList()
protected java.lang.Object[][] GetSearchServerData()
protected void AddSearchServerToData(java.lang.String _strHostName,
java.lang.String _strServerDescription,
SearchServerStatusInfo _oStatus,
java.lang.Object[][] _oData,
int nIndex)
_strHostName - _strServerDescription - _oStatus - _strData - nIndex - protected HTMLAnchor GetSearchServerAnchor(java.lang.String _strName)
_strName - The name of the server.
protected java.lang.Object[][] GetAutomationServerData()
protected HTMLAnchor GetAutomationServerAnchor(java.lang.String _strName)
_strName - The name of the server.
protected java.lang.String ConvertServerStatus(int _nAutomationServerStatus,
boolean _bHasJobFolder)
_nAutomationServerStatus - The Automation Server status code.
protected java.lang.Object[][] GetInstalledServerData(int _nServerType)
public static java.lang.Object[][] GetCollabServerUUIDFilter()
public static java.lang.Object[][] GetContentServerUUIDFilter()
public static HTMLAnchor GetCollabServerAnchor(java.lang.String _strName,
java.lang.String _strBaseURL)
_strName - The name of the server._strBaseURL - The base url to the collab server.
public static HTMLAnchor GetContentServerAnchor(java.lang.String _strName,
java.lang.String _strBaseURL)
_strName - The name of the server._strBaseURL - The base url to the collab server.
public void Init(AActivitySpace parent)
IModel
Init in interface IModelparent - the parent Activity SpaceIModel.Init(com.plumtree.uiinfrastructure.activityspace.AActivitySpace)public void CleanupTempData()
IModel
CleanupTempData in interface IModelIModel.CleanupTempData()public void CleanupAllData()
IModel
CleanupAllData in interface IModelIModel.CleanupAllData()public java.lang.Object Create()
IManagedObject
Create in interface IManagedObjectIManagedObject.Create()public java.lang.String GetName()
IMVCObject
GetName in interface IMVCObjectIMVCObject.GetName()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||