com.plumtree.portalpages.ext.providers.outgoingnetworksearch
Class OutgoingNSSelectWebServiceModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.portalpages.ext.providers.outgoingnetworksearch.OutgoingNSSelectWebServiceModel
All Implemented Interfaces:
IOutgoingNSSelectWebServiceModelRO, IManagedObject, IModel, IModelRO, IMVCObject

public class OutgoingNSSelectWebServiceModel
extends EditorHelperModel
implements IOutgoingNSSelectWebServiceModelRO

Author:
adolfoc

Field Summary
static java.lang.String DEFAULTDATA
          This member defines a static string used to identify when m_htFormData has been initialized.
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
OutgoingNSSelectWebServiceModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskBeforePStore()
           
 void DoTaskOnPModeUpdate(int nNewWSMode)
           
 void DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
           
 java.lang.String GetData(java.lang.String name)
           
 java.lang.String GetName()
          Returns the Class name.
 int GetWebServiceID()
          Returns the selected web service ID.
 java.lang.String GetWebServiceName()
          Returns the name value from m_strWebServiceTreeData.
 java.lang.String GetWebServicePath()
          Returns the path value from m_strWebServiceTreeData.
 IPTWebService GetWSObject()
          Call this method to set the WebServiceObject to a new one.
 void InitPModel(IPTFederatedPortal ptOutgoingNS)
           
 boolean IsReadOnly()
          Returns whether or not the WebService should be changeable in the view.
 void RefreshItemFromTree()
          This method gets the selected items from the tree.
 int SaveSection(XPHashtable _htFormData)
          Code to save the section represented by this Model.
 
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
See Also:
Constant Field Values

DEFAULTDATA

public static final java.lang.String DEFAULTDATA
This member defines a static string used to identify when m_htFormData has been initialized.

See Also:
Constant Field Values
Constructor Detail

OutgoingNSSelectWebServiceModel

public OutgoingNSSelectWebServiceModel()
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()

DoTaskBeforePStore

public void DoTaskBeforePStore()
See Also:
IPSubModel.DoTaskBeforePStore()

DoTaskOnPModeUpdate

public void DoTaskOnPModeUpdate(int nNewWSMode)
See Also:
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#DoTaskOnWSModeUpdate(int)

DoTaskOnWebServiceUpdate

public void DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
See Also:
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#DoTaskOnWebServiceUpdate(String, String)

GetData

public java.lang.String GetData(java.lang.String name)
Specified by:
GetData in interface IOutgoingNSSelectWebServiceModelRO
See Also:
com.plumtree.portalpagessample.form.ISampleFormModelRO#GetData(String)

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()

GetWSObject

public IPTWebService GetWSObject()
Call this method to set the WebServiceObject to a new one.


GetWebServiceName

public java.lang.String GetWebServiceName()
Returns the name value from m_strWebServiceTreeData.

Specified by:
GetWebServiceName in interface IOutgoingNSSelectWebServiceModelRO
Returns:
String

GetWebServiceID

public int GetWebServiceID()
Returns the selected web service ID.

Specified by:
GetWebServiceID in interface IOutgoingNSSelectWebServiceModelRO
Returns:
int

GetWebServicePath

public java.lang.String GetWebServicePath()
Returns the path value from m_strWebServiceTreeData.

Specified by:
GetWebServicePath in interface IOutgoingNSSelectWebServiceModelRO
Returns:
String

InitPModel

public void InitPModel(IPTFederatedPortal ptOutgoingNS)
See Also:
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#InitPModel(IPTWebService)

IsReadOnly

public boolean IsReadOnly()
Description copied from interface: IOutgoingNSSelectWebServiceModelRO
Returns whether or not the WebService should be changeable in the view.

Specified by:
IsReadOnly in interface IOutgoingNSSelectWebServiceModelRO
Returns:
boolean
See Also:
com.plumtree.portalpages.admin.editors.webservice.plugins.ISelectWebServiceModelRO#IsReadOnly()

RefreshItemFromTree

public void RefreshItemFromTree()
This method gets the selected items from the tree.


SaveSection

public int SaveSection(XPHashtable _htFormData)
Description copied from class: EditorHelperModel
Code to save the section represented by this Model.

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



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