| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portaluiinfrastructure.securitymatrix.SecurityMatrixModel
public class SecurityMatrixModel
This class keeps an up-to-date state of all the settings. This class is used by the Section and by the Repost Control.
| 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 | |
|---|---|
SecurityMatrixModel()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
ABOJobIDToDisplay()
This method returns whether or not there is a job ID to display.  | 
 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 | 
GetABOJobID()
Retrieves the id of the job created by ABO.  | 
 int | 
GetClassID()
 | 
 java.lang.String | 
GetCreatedJobName()
Retrieves the name of the job created by ABO.  | 
 IPTAccessList | 
GetCurrentFolderACL()
 | 
 ASURL | 
GetEditObjectURL(int _nClassID,
                 int _nObjectID)
Returns the URL to edit the object.  | 
 java.lang.String | 
GetFolderNameForCreatedJobs()
Retrieves the name of the folder that ABO created the job in.  | 
 java.lang.String | 
GetName()
Returns the Class name.  | 
 int | 
GetNumSubPortals()
Returns the number of SubPortals that were loaded.  | 
 IPTObject | 
GetObject()
 | 
 java.lang.String | 
GetObjectDescription()
 | 
 int | 
GetObjectID()
 | 
 java.lang.String | 
GetObjectName()
 | 
 java.lang.String | 
GetParentFolderPath()
 | 
 IPTSession | 
GetPTSession()
 | 
 java.lang.String | 
GetRegularFolderID()
Returns the id of a regular folder.  | 
 java.lang.String | 
GetSelectedSubPortalID()
Returns the id of the selected subportal.  | 
 java.lang.String | 
GetSubPortalID(int pos)
Returns the id of the SubPortal at a given position.  | 
 java.lang.String | 
GetSubPortalName(int pos)
Returns the name of the SubPortal at a given position.  | 
 boolean | 
IsAdminModifiedOnFolder(IPTAccessList _ptOldACL)
 | 
 void | 
PropagateSecurityUsingABO(boolean bPropagateAllACLs)
Creates a job to propagate security.  | 
 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 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 | 
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String BR_ELEMENT
| Constructor Detail | 
|---|
public SecurityMatrixModel()
| Method Detail | 
|---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart in class EditorModel_htFormData - 
public java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void Finish()
Finish in interface IRepostModelFinish in class EditorModelpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModel
public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class EditorModel_sPageName - _htFormData - 
public IPTAccessList GetCurrentFolderACL()
public boolean IsAdminModifiedOnFolder(IPTAccessList _ptOldACL)
_ptOldACL - - the IPTAccessList from before the ACL was changed
public void PropagateSecurityUsingABO(boolean bPropagateAllACLs)
bPropagateAllACLs - - If true propagate all acls to child objects
                        and subfolders, if false propagate only admin acls.public int GetABOJobID()
GetABOJobID in interface IFolderSecurityABOModelROpublic java.lang.String GetCreatedJobName()
GetCreatedJobName in interface IFolderSecurityABOModelROpublic java.lang.String GetFolderNameForCreatedJobs()
GetFolderNameForCreatedJobs in interface IFolderSecurityABOModelROpublic void RaiseError(java.lang.String strError)
public int GetClassID()
GetClassID in interface IObjEditorModelROObjEditorModel.GetClassID()public IPTObject GetObject()
GetObject in interface IObjEditorModelROObjEditorModel.GetObject()public java.lang.String GetObjectDescription()
GetObjectDescription in interface IObjEditorModelROObjEditorModel.GetObjectDescription()public int GetObjectID()
GetObjectID in interface IObjEditorModelROObjEditorModel.GetObjectID()public java.lang.String GetObjectName()
GetObjectName in interface IObjEditorModelROObjEditorModel.GetObjectName()public java.lang.String GetParentFolderPath()
GetParentFolderPath in interface IObjEditorModelROObjEditorModel.GetParentFolderPath()public IPTSession GetPTSession()
GetPTSession in interface IObjEditorModelROObjEditorModel.GetPTSession()public boolean ABOJobIDToDisplay()
IFolderSecurityABOModelRO
ABOJobIDToDisplay in interface IFolderSecurityABOModelRO
public ASURL GetEditObjectURL(int _nClassID,
                              int _nObjectID)
ISecurityMatrixModelRO
GetEditObjectURL in interface ISecurityMatrixModelROpublic int GetNumSubPortals()
ISecurityMatrixModelRO
GetNumSubPortals in interface ISecurityMatrixModelROpublic java.lang.String GetRegularFolderID()
ISecurityMatrixModelRO
GetRegularFolderID in interface ISecurityMatrixModelROpublic java.lang.String GetSelectedSubPortalID()
ISecurityMatrixModelRO
GetSelectedSubPortalID in interface ISecurityMatrixModelROpublic java.lang.String GetSubPortalID(int pos)
ISecurityMatrixModelRO
GetSubPortalID in interface ISecurityMatrixModelROpublic java.lang.String GetSubPortalName(int pos)
ISecurityMatrixModelRO
GetSubPortalName in interface ISecurityMatrixModelRO
  | 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||