com.plumtree.portalpages.ext.providers.soap.datasource
Class SOAPDSModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
          extended by com.plumtree.portalpages.admin.editors.datasource.DSModel
              extended by com.plumtree.portalpages.ext.providers.soap.datasource.SOAPDSModel
All Implemented Interfaces:
IDSModelRO, ISOAPDSModelRO, IDescriptionModelRO, IMigrationModelRO, IObjEditorModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class SOAPDSModel
extends DSModel
implements ISOAPDSModelRO

This is the Model class for the SOAP Crawler Editor.

Author:
Julie Fournier

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Class Name for the Activity Space.
 
Fields inherited from class com.plumtree.portalpages.admin.editors.datasource.DSModel
m_intURLType, m_intWebServiceID, PMODE_CREATE, PMODE_EDIT, PMODE_INVALID
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType
 
Constructor Summary
SOAPDSModel()
           
 
Method Summary
 boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
          Retrieves the Web Service ID and initializes the Data Source.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskAfterStore()
          Code executed after the object is stored.
 void DoTaskBeforeStore()
          Code executed before the object is stored.
 void DoTaskOnStartEditor(XPHashtable _htFormData)
          Code executed when the Editor is starting.
protected  java.lang.String GetMainDPName()
          Returns the name of the MainDP display page.
 java.lang.String GetName()
          Returns the Class name.
protected  void InitPTObject(XPHashtable _htFormData)
          Initializes the data source property bag.
 boolean IsWebServiceChangeable()
          Returns whether the WebService is changeable from the DataSource Editor.
 boolean IsWebServiceRemovable()
          Returns whether the WebService is removable from the DataSource Editor.
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 
Methods inherited from class com.plumtree.portalpages.admin.editors.datasource.DSModel
GetCreatorID, GetPMode, GetURLType, GetWebServiceID, SaveMainPage, SetMemberVariablesFromQS, SetURLType, SetWebServiceID
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
CheckEditorAccess, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
Cancel, CleanupAllData, CleanupTempData, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.portalpages.admin.editors.datasource.IDSModelRO
GetURLType, GetWebServiceID
 
Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession
 
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Class Name for the Activity Space.

See Also:
Constant Field Values
Constructor Detail

SOAPDSModel

public SOAPDSModel()
Method Detail

CheckEditorAccessAndStart

public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
Retrieves the Web Service ID and initializes the Data Source.

Overrides:
CheckEditorAccessAndStart in class ObjEditorModel
Parameters:
_htFormData -
Returns:
boolean Is true if the current user has the rights to access this Editor.

Create

public java.lang.Object Create()
Description copied from class: EditorModel
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 EditorModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
com.plumtree.xpshared.infrastructure.activityspace.IManagedObject#Create()

DoTaskAfterStore

public void DoTaskAfterStore()
Code executed after the object is stored.

Overrides:
DoTaskAfterStore in class DSModel

DoTaskBeforeStore

public void DoTaskBeforeStore()
Code executed before the object is stored.

Overrides:
DoTaskBeforeStore in class DSModel

DoTaskOnStartEditor

public void DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting.

Overrides:
DoTaskOnStartEditor in class DSModel
Parameters:
_htFormData -

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorModel
Returns:
String

SavePage

public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.

Specified by:
SavePage in interface IRepostModel
Overrides:
SavePage in class DSModel
Parameters:
_sPageName -
_htFormData -
Returns:
int Page status for server side validation

GetMainDPName

protected java.lang.String GetMainDPName()
Returns the name of the MainDP display page.

Returns:
String

InitPTObject

protected void InitPTObject(XPHashtable _htFormData)
Initializes the data source property bag.

Overrides:
InitPTObject in class ObjEditorModel
Parameters:
_htFormData -
Throws:
XPException

IsWebServiceChangeable

public boolean IsWebServiceChangeable()
Description copied from class: DSModel
Returns whether the WebService is changeable from the DataSource Editor.

Specified by:
IsWebServiceChangeable in class DSModel
Returns:
boolean

IsWebServiceRemovable

public boolean IsWebServiceRemovable()
Description copied from class: DSModel
Returns whether the WebService is removable from the DataSource Editor.

Specified by:
IsWebServiceRemovable in class DSModel
Returns:
boolean



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