|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.admin.editors.group.GroupModel
public class GroupModel
This class handles all the data for the Group Editor. Methods are called by the control when the user switches between display pages, and also when the user finishes.
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
class name |
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 |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
GroupModel()
|
Method Summary | |
---|---|
protected void |
CheckForTooManyUsersToDisplay()
|
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. |
IFilterIteratorRO |
GetFilterIterator()
Returns the current filter iterator. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.Object[] |
GetUserNonReferenceProperties(IPTSession ptSession)
|
boolean |
IsRemoteGroup()
|
void |
LoadGroupInfo()
If we are editing an exisiting group, we need to load the group's data. |
java.lang.Object[][] |
LoadMembers()
|
java.lang.Object[][] |
LoadMembers(int nMaxRows,
int nRowsToSkip)
|
void |
ModifyMemberOfRow(XPHashtable _htFormData)
Action for modifying a member of row on the Dynamic Membership Rules page. |
void |
PreviewMembershipFilter()
|
protected int |
SaveActivityRightsPage(XPHashtable _htFormData)
Saves data on Activity Rights page. |
protected int |
SaveDynamicRulesPage(XPHashtable _htFormData)
Saves data on Dynamic Membership Rules page. |
protected int |
SaveMainSettingsPage(XPHashtable _htFormData)
Saves data on Main Settings page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetHiddenMemberGroups()
Set which groups we don't want to be able to add. |
void |
SetHiddenParentGroups()
Set which groups we don't want to be able to add. |
protected void |
SetUpdateDynamicMembersOnFinish(boolean b)
|
protected boolean |
ShouldUpdateDynamicMembersOnFinish()
|
void |
StartDynamicMemberListRO()
Helper method to start the dynamic members list. |
void |
StartDynamicRulesChooser()
Helper method to start the dynamic members list. |
void |
StartInheritedRightsList()
Helper method to start the inherited rights select list. |
void |
StartSelectDynMemberPreviewPopup()
Helper method to start the dynamic members list. |
void |
StartSelectedRightsList()
Helper method to start the Select List. |
void |
StartSelectMemberGroups()
Helper method to start the SelectPTObject List. |
void |
StartSelectParentGroups()
Helper method to start the Select Parents Groups Expandable List. |
void |
UpdateGroupMembershipRow(int nGroupIndex,
int nStatementIndex,
java.lang.Object oGroupID,
java.lang.String sGroupName)
Updates the Filter and FilterIterator associated with this model. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskOnChangePage, 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.portaluiinfrastructure.editor.IObjEditorModelRO |
---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public GroupModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
public boolean IsRemoteGroup()
IsRemoteGroup
in interface IGroupModelRO
protected boolean ShouldUpdateDynamicMembersOnFinish()
protected void SetUpdateDynamicMembersOnFinish(boolean b)
public IFilterIteratorRO GetFilterIterator()
GetFilterIterator
in interface IFilterIteratorContainerRO
public java.lang.Object[][] LoadMembers()
public java.lang.Object[][] LoadMembers(int nMaxRows, int nRowsToSkip)
protected void CheckForTooManyUsersToDisplay()
public void LoadGroupInfo()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void StartSelectedRightsList()
public void StartInheritedRightsList()
public void StartSelectMemberGroups()
public void StartDynamicMemberListRO()
public void StartSelectParentGroups()
public void StartDynamicRulesChooser()
public java.lang.Object[] GetUserNonReferenceProperties(IPTSession ptSession)
public void StartSelectDynMemberPreviewPopup()
public void SetHiddenMemberGroups()
SetHiddenMemberGroups
in interface IGroupModelRO
public void SetHiddenParentGroups()
SetHiddenParentGroups
in interface IGroupModelRO
protected int SaveActivityRightsPage(XPHashtable _htFormData)
_htFormData
-
protected int SaveMainSettingsPage(XPHashtable _htFormData)
_htFormData
-
protected int SaveDynamicRulesPage(XPHashtable _htFormData)
_htFormData
-
public void PreviewMembershipFilter()
public void ModifyMemberOfRow(XPHashtable _htFormData)
_htFormData
- Form datapublic void UpdateGroupMembershipRow(int nGroupIndex, int nStatementIndex, java.lang.Object oGroupID, java.lang.String sGroupName)
nGroupIndex
- nStatementIndex
- oGroupID
- sGroupName
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |