com.plumtree.portalpages.admin.serversettings.objectpropertymap
Class ObjPropMapModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portalpages.admin.serversettings.objectpropertymap.ObjPropMapModel
All Implemented Interfaces:
IObjPropMapModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class ObjPropMapModel
extends EditorModel
implements IObjPropMapModelRO

Model for object properties map

Author:
josephc

Field Summary
protected  IPTSession m_ptSession
          IPTSession
static java.lang.String STR_MVC_CLASS_NAME
          Class name for ObjPropMapModel
 
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
ObjPropMapModel()
           
 
Method Summary
 void ActionOnRepost()
          Modifies the object name on repost.
 boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
          Implements some actions to perform on start.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void Finish()
          This method contains the code to store the object property mappings.
 java.lang.String GetName()
          Returns the Class name.
 void Init(AActivitySpace parent)
          Inits the Model with the Activity Space.
protected  void SaveMainPage(XPHashtable _htFormData)
          Saves the data on the Main page.
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
protected  void StartObjPropMap()
          Initialize object properties map
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, 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.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 ObjPropMapModel

See Also:
Constant Field Values

m_ptSession

protected IPTSession m_ptSession
IPTSession

Constructor Detail

ObjPropMapModel

public ObjPropMapModel()
Method Detail

ActionOnRepost

public void ActionOnRepost()
Modifies the object name on repost.


CheckEditorAccessAndStart

public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
Description copied from class: EditorModel
Implements some actions to perform on start. Use the Editor Type if needed.

Specified by:
CheckEditorAccessAndStart in class EditorModel
Returns:
boolean Is true if the current user has the rights to access this Editor.
See Also:
EditorModel.CheckEditorAccessAndStart(XPHashtable)

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:
IManagedObject.Create()

Finish

public void Finish()
This method contains the code to store the object property mappings.

Specified by:
Finish in interface IRepostModel
Specified by:
Finish in class EditorModel

GetName

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

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

Init

public void Init(AActivitySpace parent)
Inits the Model with the Activity Space.

Specified by:
Init in interface IModel
Overrides:
Init in class EditorModel
Parameters:
parent -

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
Specified by:
SavePage in class EditorModel
Parameters:
_sPageName -
_htFormData -
Returns:
int Page status for server side validation

SaveMainPage

protected void SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page.

Parameters:
_htFormData -

StartObjPropMap

protected void StartObjPropMap()
Initialize object properties map




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