|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portalpages.admin.ptutilities.diagnostic.remotehosts.hostservices.HostServicesModel
public class HostServicesModel
Displays a list of all the portlet web services associated with a given host machine.
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the model |
static int |
WEB_SERVICE_TYPE_PORTLET
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
HostServicesModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
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. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
java.lang.String |
GetName()
Returns the Class name. |
protected HTMLAnchor |
GetWebServiceAnchor(java.lang.String _strName,
int _nWebServiceID)
Helper method that creates an HTML Anchor to a pop-up page viewing remote host details. |
protected java.lang.Object[][] |
GetWebServiceData()
Helper method to generate the data for the Web Services for this remote host. |
protected XPHashtable |
GetWebServicePortletMapping()
Helper method to generate a list of portlet webservices for the remote host. |
void |
Init(AActivitySpace _parent)
Inits the Model with the Activity Space. |
void |
PopulateWebServiceList()
Helper method to populate the Web Service List. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected void |
SetPortletStatus(XPArrayList _alPortletIDs,
java.lang.Object[][] _oData)
This method filles in the data array with String representations of int status codes, optional messages (disabled, timeout, etc..), and error messages (404, server not found, etc...). |
void |
StartWebServiceList()
Helper method to start the Web Service List. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
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 int WEB_SERVICE_TYPE_PORTLET
Constructor Detail |
---|
public HostServicesModel()
Method Detail |
---|
public void StartWebServiceList()
public void PopulateWebServiceList()
protected java.lang.Object[][] GetWebServiceData()
protected XPHashtable GetWebServicePortletMapping()
protected void SetPortletStatus(XPArrayList _alPortletIDs, java.lang.Object[][] _oData)
_htPortletIDs
- The ids of the portlets to check._oData
- Filled in with int status codes, optional messages, and errors.protected HTMLAnchor GetWebServiceAnchor(java.lang.String _strName, int _nWebServiceID)
_strName
- The name of the server.
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
CleanupTempData
in class EditorModel
IModel.CleanupTempData()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
CleanupAllData
in class EditorModel
IModel.CleanupAllData()
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
EditorModel
CheckEditorAccessAndStart
in class EditorModel
com.plumtree.uiinfrastructure.editor.EditorModel#CheckEditorAccessAndStart(com.plumtree.openfoundation.util.XPHashtable)
public void Finish()
EditorModel
Finish
in interface IRepostModel
Finish
in class EditorModel
IRepostModel.Finish()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
EditorModel
SavePage
in interface IRepostModel
SavePage
in class EditorModel
com.plumtree.uiinfrastructure.form.IRepostModel#SavePage(java.lang.String, com.plumtree.openfoundation.util.XPHashtable)
public void Init(AActivitySpace _parent)
EditorModel
Init
in interface IModel
Init
in class EditorModel
_parent
- the parent Activity SpaceIModel.Init(com.plumtree.uiinfrastructure.activityspace.AActivitySpace)
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
IMVCObject.GetName()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |