com.plumtree.portalpages.admin.serversettings.globalaclsyncmap
Class GlobalACLSyncMapModel

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

public class GlobalACLSyncMapModel
extends EditorModel
implements IGlobalACLSyncMapModelRO

This class keeps an up-to-date state of all the settings. It contains the set and get methods for those settings. It contains the start, save and finish methods. This class is used by the Section class (to get the latest value of the settings to display) and by the Repost Control class (to perform the repost actions).

Author:
JohnH, JenniferSu

Field Summary
static int MAPLIST_NUMCOLUMNS
          Number of columns in the multicolumn list
static int MAPLIST_PTOBJECTPOSITION
          The position of the plumtree object in the multicolumn list
static java.lang.String STR_MVC_CLASS_NAME
          Unique identifier for the class
 
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
GlobalACLSyncMapModel()
           
 
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".
 java.lang.String GetName()
          Returns the Class name.
 void Init(AActivitySpace parent)
          Inits the Model with the IPTSession.
 java.lang.Object[] ParseFields(java.lang.String strMappedFields)
          Parses the string of mapped fields and returns a two dimensional array in the format expected by the Plumtree server
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 void StartDomainMapList()
          This method initializes the expandable list used as the basis for the domain ACL Sync map
 void StartGroupMapList()
          This method initializes the expandable list used as the basis for the group ACL Sync map
 void StartMigrationHistory()
          Helper method to start the migration history page.
 
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, 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
Unique identifier for the class

See Also:
Constant Field Values

MAPLIST_NUMCOLUMNS

public static final int MAPLIST_NUMCOLUMNS
Number of columns in the multicolumn list

See Also:
Constant Field Values

MAPLIST_PTOBJECTPOSITION

public static final int MAPLIST_PTOBJECTPOSITION
The position of the plumtree object in the multicolumn list

See Also:
Constant Field Values
Constructor Detail

GlobalACLSyncMapModel

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

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 IPTSession.

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

ParseFields

public java.lang.Object[] ParseFields(java.lang.String strMappedFields)
Parses the string of mapped fields and returns a two dimensional array in the format expected by the Plumtree server

See Also:
EditorModel.DoTaskOnStartEditor(XPHashtable)

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

StartDomainMapList

public void StartDomainMapList()
This method initializes the expandable list used as the basis for the domain ACL Sync map


StartGroupMapList

public void StartGroupMapList()
This method initializes the expandable list used as the basis for the group ACL Sync map


StartMigrationHistory

public void StartMigrationHistory()
Helper method to start the migration history page.




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