com.plumtree.portalpages.admin.editors.portlet
Interface IPSubModel

All Known Implementing Classes:
PChooseModel, PortletSettingsModel, PSelectTemplateModel, SelectWebServiceModel

public interface IPSubModel

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 DoTaskBeforePStore()
          Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call.
 void DoTaskOnPModeUpdate(int nNewWSMode)
          Called when the Portlet editor mode is changed.
 void DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
          Called when the Remote Server is changed.
 void InitPModel(IPTGadget ptPortlet)
          Initializes the sub-model.
 

Method Detail

DoTaskBeforePStore

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


DoTaskOnPModeUpdate

void DoTaskOnPModeUpdate(int nNewWSMode)
Called when the Portlet editor mode is changed.


DoTaskOnWebServiceUpdate

void DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
Called when the Remote Server is changed. This is mostly used to update the base-url displayed before URL edit boxes.


InitPModel

void InitPModel(IPTGadget ptPortlet)
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.