com.plumtree.portalpages.admin.editors.webservice
Interface IWSSubModel

All Known Implementing Classes:
ActSecurityPluginModel, AddSettingsPluginModel, AddUserInfoPluginModel, AdvSettingsPluginModel, AssocObjectsPluginModel, AWSSettingsPluginModel, BasicAuthPluginModel, ChooseWSTypePluginModel, CredentialVaultPluginModel, CWSSettingsPluginModel, DebugConfigPluginModel, DebugPortletPluginModel, DebugUserPluginModel, FormLoginFieldsPluginModel, FormLoginPluginModel, GatewayCachingPluginModel, GatewayPrefixPluginModel, GatewaySettingsPluginModel, HelpURLPluginModel, HTTPSettingsPluginModel, IntrinsicHelpSpacePluginModel, IntrinsicPortletWSSettingsPluginModel, IntrinsicProfilePluginModel, IntrinsicUserPrefsPluginModel, MWSSettingsPluginModel, PageletParamsMapPluginModel, PrefsListPluginModel, PWSSettingsPluginModel, RemoteConfigPluginModel, RemoteMigrationPluginModel, RemotePageletPickerPluginModel, RemoteServerPluginModel, SelectDevicesPluginModel, SOAPEncodingPluginModel, SummaryURLPluginModel, SWSSettingsPluginModel, UserInfoPluginModel, UserPrefsPluginModel, XUIURLPluginModel

public interface IWSSubModel

Author:
adolfoc This interface must be implemented by any plugin model that wishes to receive updates from the WebServiceModel. Each plugin model must also be registered with the WebServiceModel using WebServiceModel.RegisterWSSubModel(String strPluginModelStorageName).

Method Summary
 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 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.
 

Method Detail

DoTaskBeforeWSStore

void DoTaskBeforeWSStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call.


DoTaskOnRemoteServerUpdate

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


DoTaskOnWSModeUpdate

void DoTaskOnWSModeUpdate(int nNewWSMode)
Called when the Web Service type is changed.


GetValidationFunction

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. Models return null or "" if they don't have a validation function.


InitWSModel

void InitWSModel(IPTWebService ptWebService)
Initializes the sub-model. Provides an opportunity for the submodel to load it's state from the WebService.




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