com.plumtree.portalpages.admin.editors.webservice.plugins
Class IntrinsicPortletWSSettingsPluginModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.portalpages.admin.editors.webservice.plugins.IntrinsicPortletWSSettingsPluginModel
All Implemented Interfaces:
IWSSubModel, IIntrinsicPortletWSSettingsPluginModelRO, IManagedObject, IModel, IModelRO, IMVCObject

public class IntrinsicPortletWSSettingsPluginModel
extends EditorHelperModel
implements IIntrinsicPortletWSSettingsPluginModelRO, IWSSubModel

Model for setting portlet class identifier.

Author:
josephc

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Class name for IntrinsicPortletWSSettingsPluginModel
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
IntrinsicPortletWSSettingsPluginModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskBeforeWSStore()
          Store the property bag format for intrinsic portlets as well as the portlet class identifier into the provider info property bag for intrinsic portlet web services.
 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 GetName()
          Returns the Class name.
 java.lang.String GetPortletClassIdentifier()
          Returns the portlet class identifier
 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)
          Load the portlet class identifier from provider info property bag of web service object.
 int SaveSection(XPHashtable _htFormData)
          Save the portlet class identifier.
 void SetPortletClassIdentifier(java.lang.String strPortletClassIdentifier)
          Set the portlet class identifier
 
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

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Class name for IntrinsicPortletWSSettingsPluginModel

See Also:
Constant Field Values
Constructor Detail

IntrinsicPortletWSSettingsPluginModel

public IntrinsicPortletWSSettingsPluginModel()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorHelperModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorHelperModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

DoTaskBeforeWSStore

public void DoTaskBeforeWSStore()
Store the property bag format for intrinsic portlets as well as the portlet class identifier into the provider info property bag for intrinsic portlet web services.

Specified by:
DoTaskBeforeWSStore in interface IWSSubModel
See Also:
IWSSubModel.DoTaskBeforeWSStore()

DoTaskOnRemoteServerUpdate

public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID,
                                       java.lang.String strRemoteServerName,
                                       java.lang.String strRemoteServerBaseURL)
Description copied from interface: IWSSubModel
Called when the Remote Server is changed. This is mostly used to update the base-url displayed before URL edit boxes.

Specified by:
DoTaskOnRemoteServerUpdate in interface IWSSubModel
See Also:
IWSSubModel.DoTaskOnRemoteServerUpdate(String, String, String)

DoTaskOnWSModeUpdate

public void DoTaskOnWSModeUpdate(int nNewWSMode)
Description copied from interface: IWSSubModel
Called when the Web Service type is changed.

Specified by:
DoTaskOnWSModeUpdate in interface IWSSubModel
See Also:
IWSSubModel.DoTaskOnWSModeUpdate(int)

GetName

public java.lang.String GetName()
Description copied from class: EditorHelperModel
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorHelperModel
Returns:
String
See Also:
IMVCObject.GetName()

GetPortletClassIdentifier

public java.lang.String GetPortletClassIdentifier()
Returns the portlet class identifier

Specified by:
GetPortletClassIdentifier in interface IIntrinsicPortletWSSettingsPluginModelRO
Returns:
Portlet class identifier
See Also:
IIntrinsicPortletWSSettingsPluginModelRO.GetPortletClassIdentifier()

GetValidationFunction

public java.lang.String GetValidationFunction()
Description copied from interface: IWSSubModel
This returns the name of the client-side validation function that the model wants added to the page-level validation funtion. Models return null or "" if they don't have a validation function.

Specified by:
GetValidationFunction in interface IWSSubModel
See Also:
IWSSubModel.GetValidationFunction()

InitWSModel

public void InitWSModel(IPTWebService ptWebService)
Load the portlet class identifier from provider info property bag of web service object.

Specified by:
InitWSModel in interface IWSSubModel
See Also:
com.plumtree.portalpages.admin.editors.webservice.IWSSubModel#InitWSModel()

SaveSection

public int SaveSection(XPHashtable _htFormData)
Save the portlet class identifier.

Specified by:
SaveSection in class EditorHelperModel
Parameters:
_htFormData - Form posted data.
Returns:
int Status for server side validation
See Also:
EditorHelperModel.SaveSection(XPHashtable)

SetPortletClassIdentifier

public void SetPortletClassIdentifier(java.lang.String strPortletClassIdentifier)
Set the portlet class identifier

Parameters:
strPortletClassIdentifier - Portlet class identifier



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.