|
|||||||||
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.adminfolder.AdminFolderModel
public class AdminFolderModel
This class contains the IPTProperty server object, as well as the set and get methods on that object. This class is called by the AdminFolderRepostControl to perform the changes on the Object and by the Views AdminFolderAdvView and AdminFolderMainView to display the latest values on the page.
Field Summary | |
---|---|
static java.lang.String |
BR_ELEMENT
|
static int |
CLIENT_VALIDATION_MAX_NAME
RWW - Constants for client side validation |
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 | |
---|---|
AdminFolderModel()
|
Method Summary | |
---|---|
boolean |
ABOJobIDToDisplay()
This method returns whether or not there is a job ID to display. |
void |
ApplySecurityChangesUsingABO(boolean bPropagateAllACLs)
Apply the subportal profile to the users in the folder later, using ABO. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore()
Code executed after done is clicked, after object is saved. |
void |
DoTaskBeforeStore()
Code executed after done is clicked, before object is saved. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Initialize any settings here. |
int |
GetABOJobID()
This method returns the job ID for a security change job. |
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. |
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 |
RaiseError(java.lang.String strError)
|
void |
RepostAdvPage()
Does nothing for now. |
protected int |
SaveAdvPage(XPHashtable _htFormData)
Saves the data on the Advanced page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetDisableSecurity(boolean bDisableSecurity)
Sets whether security should be disabled. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, 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
public static final int CLIENT_VALIDATION_MAX_NAME
public static final java.lang.String BR_ELEMENT
Constructor Detail |
---|
public AdminFolderModel()
Method Detail |
---|
public IPTAccessList GetCurrentFolderACL()
public boolean IsAdminModifiedOnFolder(IPTAccessList _ptOldACL)
_ptOldACL
- the IPTAccessList from before the ACLs were changed
public boolean ABOJobIDToDisplay()
IFolderSecurityABOModelRO
ABOJobIDToDisplay
in interface IFolderSecurityABOModelRO
com.plumtree.portalpages.admin.editors.adminfolder.IAdminFolderModelRO#ABOJobIDToDisplay()
public void ApplySecurityChangesUsingABO(boolean bPropagateAllACLs)
bPropagateAllACLs
- - If true propagate all acls to child objects
and subfolders, if false propagate only admin acls.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 DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public int GetABOJobID()
IFolderSecurityABOModelRO
GetABOJobID
in interface IFolderSecurityABOModelRO
com.plumtree.portalpages.admin.editors.adminfolder.IAdminFolderModelRO#GetABOJobID()
public ASURL GetEditObjectURL(int _nClassID, int _nObjectID)
GetEditObjectURL
in interface ISecurityMatrixModelRO
_nClassID
- _nObjectID
- _sEditorASName
-
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public int GetNumSubPortals()
GetNumSubPortals
in interface ISecurityMatrixModelRO
public java.lang.String GetRegularFolderID()
GetRegularFolderID
in interface ISecurityMatrixModelRO
public java.lang.String GetSelectedSubPortalID()
GetSelectedSubPortalID
in interface ISecurityMatrixModelRO
public java.lang.String GetSubPortalID(int pos)
GetSubPortalID
in interface ISecurityMatrixModelRO
public java.lang.String GetSubPortalName(int pos)
GetSubPortalName
in interface ISecurityMatrixModelRO
public void RaiseError(java.lang.String strError)
public void RepostAdvPage()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void SetDisableSecurity(boolean bDisableSecurity)
protected int SaveAdvPage(XPHashtable _htFormData)
_htFormData
-
public java.lang.String GetCreatedJobName()
GetCreatedJobName
in interface IFolderSecurityABOModelRO
public java.lang.String GetFolderNameForCreatedJobs()
GetFolderNameForCreatedJobs
in interface IFolderSecurityABOModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |