|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.portalpages.admin.editors.webservice.plugins.RemoteServerPluginModel
public class RemoteServerPluginModel
Field Summary | |
---|---|
static java.lang.String |
DEFAULTDATA
This member defines a static string used to identify when m_htFormData has been initialized. |
protected int |
m_nRemoteServerObjectID
Tree Data for the Remote Server for this Web Service (Remote Server) |
protected java.lang.String |
m_strBaseURL
|
protected java.lang.String |
m_strRemoteServerName
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
RemoteServerPluginModel()
|
Method Summary | |
---|---|
void |
ClearRemoteServer()
This method clears the selected items from the tree. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeWSStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call. |
void |
DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID,
java.lang.String strRemoteServerName,
java.lang.String strRemoteServerBaseURL)
Called when the Remote Server is changed. |
void |
DoTaskOnWSModeUpdate(int nNewWSMode)
Called when the Web Service type is changed. |
java.lang.String |
GetData(java.lang.String name)
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetRemoteServerBaseURL()
|
java.lang.String |
GetRemoteServerName()
Returns the name of the Remote Server |
int |
GetRemoteServerObjectID()
Returns the name of the Remote Server |
java.lang.String |
GetRemoteServerPath()
Returns the folder path that the remote server is stored in. |
java.lang.String |
GetValidationFunction()
This returns the name of the client-side validation function that the model wants added to the page-level validation funtion. |
void |
InitWSModel(IPTWebService ptWebService)
Initializes the sub-model. |
boolean |
IsReadOnly()
Returns whether or not this view should be read-only. |
void |
RefreshItemFromTree()
This method gets the selected items from the tree. |
int |
SaveSection(XPHashtable _htFormData)
Code to save the section represented by this Model. |
void |
SetIsReadOnly(boolean _bIsReadOnly)
Set whether this model is read only or not. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData, 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 DEFAULTDATA
protected java.lang.String m_strBaseURL
protected java.lang.String m_strRemoteServerName
protected int m_nRemoteServerObjectID
Constructor Detail |
---|
public RemoteServerPluginModel()
Method Detail |
---|
public void ClearRemoteServer()
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforeWSStore()
IWSSubModel
DoTaskBeforeWSStore
in interface IWSSubModel
IWSSubModel.DoTaskBeforeWSStore()
public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID, java.lang.String strRemoteServerName, java.lang.String strRemoteServerBaseURL)
IWSSubModel
DoTaskOnRemoteServerUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnRemoteServerUpdate(String, String, String)
public void DoTaskOnWSModeUpdate(int nNewWSMode)
IWSSubModel
DoTaskOnWSModeUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnWSModeUpdate(int)
public java.lang.String GetData(java.lang.String name)
GetData
in interface IRemoteServerPluginModelRO
com.plumtree.portalpagessample.form.ISampleFormModelRO#GetData(String)
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public java.lang.String GetRemoteServerBaseURL()
public java.lang.String GetRemoteServerName()
GetRemoteServerName
in interface IRemoteServerPluginModelRO
public int GetRemoteServerObjectID()
GetRemoteServerObjectID
in interface IRemoteServerPluginModelRO
public java.lang.String GetRemoteServerPath()
IRemoteServerPluginModelRO
GetRemoteServerPath
in interface IRemoteServerPluginModelRO
IRemoteServerPluginModelRO.GetRemoteServerPath()
public java.lang.String GetValidationFunction()
IWSSubModel
GetValidationFunction
in interface IWSSubModel
IWSSubModel.GetValidationFunction()
public void InitWSModel(IPTWebService ptWebService)
IWSSubModel
InitWSModel
in interface IWSSubModel
IWSSubModel.InitWSModel(IPTWebService)
public boolean IsReadOnly()
IRemoteServerPluginModelRO
IsReadOnly
in interface IRemoteServerPluginModelRO
IRemoteServerPluginModelRO.IsReadOnly()
public void SetIsReadOnly(boolean _bIsReadOnly)
_bIsReadOnly
- whether this model is read only or not.public void RefreshItemFromTree()
public int SaveSection(XPHashtable _htFormData)
EditorHelperModel
SaveSection
in class EditorHelperModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |