com.plumtree.portaluiinfrastructure.subscribematrix
Class SubscribeMatrixModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portaluiinfrastructure.subscribematrix.SubscribeMatrixModel
All Implemented Interfaces:
IObjEditorModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class SubscribeMatrixModel
extends EditorModel
implements IObjEditorModelRO

This class keeps an up-to-date state of all the settings. This class is used by the Section and by the Repost Control.

Author:
Julie Fournier

Field Summary
static java.lang.String BR_ELEMENT
           
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType
 
Constructor Summary
SubscribeMatrixModel()
           
 
Method Summary
 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()
          Implement some code to execute when the user clicks on "Finish".
 int GetClassID()
           
 IPTAccessList GetCurrentFolderACL()
           
 java.lang.String GetName()
          Returns the Class name.
 IPTObject GetObject()
           
 java.lang.String GetObjectDescription()
           
 int GetObjectID()
           
 java.lang.String GetObjectName()
           
 java.lang.String GetParentFolderPath()
           
 IPTSession GetPTSession()
           
 boolean HasExecutedFinish()
           
 void RaiseError(java.lang.String strError)
           
 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.uiinfrastructure.editor.EditorModel
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, Init, 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, GetEnableCancelButton, 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

BR_ELEMENT

public static final java.lang.String BR_ELEMENT
See Also:
Constant Field Values
Constructor Detail

SubscribeMatrixModel

public SubscribeMatrixModel()
Method Detail

CheckEditorAccessAndStart

public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start.

Specified by:
CheckEditorAccessAndStart in class EditorModel
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:
IManagedObject.Create()

Finish

public void Finish()
Implement some code to execute when the user clicks on "Finish".

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

HasExecutedFinish

public boolean HasExecutedFinish()
Returns:
true if Finish() has been executed already

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

GetCurrentFolderACL

public IPTAccessList GetCurrentFolderACL()
Returns:
the current IPTAccessList of the folder whose security is being edited

RaiseError

public void RaiseError(java.lang.String strError)

GetClassID

public int GetClassID()
Specified by:
GetClassID in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetClassID()

GetObject

public IPTObject GetObject()
Specified by:
GetObject in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetObject()

GetObjectDescription

public java.lang.String GetObjectDescription()
Specified by:
GetObjectDescription in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetObjectDescription()

GetObjectID

public int GetObjectID()
Specified by:
GetObjectID in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetObjectID()

GetObjectName

public java.lang.String GetObjectName()
Specified by:
GetObjectName in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetObjectName()

GetParentFolderPath

public java.lang.String GetParentFolderPath()
Specified by:
GetParentFolderPath in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetParentFolderPath()

GetPTSession

public IPTSession GetPTSession()
Specified by:
GetPTSession in interface IObjEditorModelRO
See Also:
ObjEditorModel.GetPTSession()



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