|
|||||||||
| 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.editor.ObjEditorModel
com.plumtree.portalpages.admin.editors.userprofilemanager.UsrProfMgrModel
public class UsrProfMgrModel
| Field Summary | |
|---|---|
protected boolean |
m_bIsSysAdmin
Flag to know if the current user has system administration activity rights. |
protected IPTSession |
m_Session
Server object: Plumtree Session |
static int |
PT_ACCESS_LIST_ENTRY_READWRITE
|
static java.lang.String |
STR_MVC_CLASS_NAME
object 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_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, 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 | |
|---|---|
UsrProfMgrModel()
|
|
| Method Summary | |
|---|---|
void |
Cancel()
Implement some code to execute when the user clicks on "Cancel". |
protected boolean |
CheckActivityRight()
Helper method to determine activity rights. |
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Code executed when the Editor is starting. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore()
That method contains the code that should be executed just after the object has been stored in the DB. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is stored in the DB. |
void |
DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
This method can be implemented by classes extending this one. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
Finish()
Code executed in finish. |
boolean |
GetIsSysAdmin()
Returns the value of the m_bIsSysAdmin member variable. |
java.lang.String |
GetName()
Returns the Class name. |
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
protected void |
InitIsSysAdminFlag()
Helper method to init the isSysAdmin flag. |
boolean |
IsDescriptionDisabled()
Returns true if the object description cannot be set/changed from the Editor. |
boolean |
IsMigrationApproved()
Returns true if the migration has already been approved for the current object. |
boolean |
IsPropertiesMapEmpty()
if the property display string is empty than that means that no properties were mapped to user objects via the global object properties map. |
protected void |
SaveMigrationStatus(XPHashtable _htFormData)
Helper method to save the migration status checkbox. |
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.portaluiinfrastructure.editor.ObjEditorModel |
|---|
CheckEditorAccess, CheckFolderType, DisableSecurity, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, InitPTObject, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
CleanupAllData, CleanupTempData, 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 |
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int PT_ACCESS_LIST_ENTRY_READWRITE
protected IPTSession m_Session
protected boolean m_bIsSysAdmin
| Constructor Detail |
|---|
public UsrProfMgrModel()
| Method Detail |
|---|
public void Cancel()
EditorModel
Cancel in class EditorModelEditorModel.Cancel()public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart in class ObjEditorModelpublic java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void Finish()
Finish in interface IRepostModelFinish in class ObjEditorModelpublic boolean GetIsSysAdmin()
GetIsSysAdmin in interface IMigrationModelROGetIsSysAdmin in class ObjEditorModelObjEditorModel.GetIsSysAdmin()public java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModelpublic void Init(AActivitySpace parent)
ObjEditorModel
Init in interface IModelInit in class ObjEditorModelparent - the parent Activity SpaceIModel.Init(AActivitySpace)public boolean IsDescriptionDisabled()
IsDescriptionDisabled in interface IDescriptionModelROIsDescriptionDisabled in class ObjEditorModelObjEditorModel.IsDescriptionDisabled()public boolean IsMigrationApproved()
IsMigrationApproved in interface IMigrationModelROIsMigrationApproved in class ObjEditorModelObjEditorModel.IsMigrationApproved()protected void SaveMigrationStatus(XPHashtable _htFormData)
_htFormData -
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class ObjEditorModel_sPageName - _htFormData -
protected boolean CheckActivityRight()
protected void InitIsSysAdminFlag()
InitIsSysAdminFlag in class ObjEditorModel
public void DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
EditorModel
DoTaskOnChangePage in class EditorModelpublic void DoTaskOnComeBackFromSubEditor()
ObjEditorModel
DoTaskOnComeBackFromSubEditor in class ObjEditorModelpublic void DoTaskAfterStore()
EditorModel
DoTaskAfterStore in class EditorModelpublic void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore in class EditorModelpublic boolean IsPropertiesMapEmpty()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||