|
|||||||||
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.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel com.plumtree.portalpages.portlets.userprofile.eoddisplay.prefs.EODPortletPrefsModel
public class EODPortletPrefsModel
Field Summary | |
---|---|
static java.lang.String |
SETTING_PROFILEPAGEID
|
static java.lang.String |
STR_MVC_CLASS_NAME
object name |
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel |
---|
m_nCommunityID, m_nPageID, m_nPortletID, m_nPrefType, m_ptPortlet, m_ptSession, m_strPreviousURL, PREF_TYPE_ADMIN, PREF_TYPE_COMMUNITY, PREF_TYPE_PERSONAL, SETTINGSTYPE_ADMIN, SETTINGSTYPE_COMMUNITY, SETTINGSTYPE_COMMUNITYPORTLET, SETTINGSTYPE_PORTLET, SETTINGSTYPE_USER |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
EODPortletPrefsModel()
Creates a new EODPortletPrefsModel object. |
Method Summary | |
---|---|
int |
ActionOnRepost_NewCtg(XPHashtable _htFormData)
called by the repost control to create a new category. |
void |
ActionOnRepost_RenameCtg(XPHashtable _htFormData)
called by repost control to rename a category. |
void |
ActionOnRepost_RenameObjDone(XPHashtable _htFormData)
called by repost control when the renaming of an object is complete. |
void |
Cancel()
Implement some code to execute when the user clicks on "Cancel". |
protected boolean |
CheckActivityRight()
Helper method to determine activity rights. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode. |
void |
Finish()
Code executed in finish. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetPortletID()
|
IPTProfilePage |
GetProfilePage()
returns the Layout object that represents the current user profile layout |
int |
GetProfilePageID()
Sets a new value for the member variable "LayoutID". |
static java.lang.String |
GetProfileSectionKey(int _intSectionID)
helper method that returns the key of a profile section object used to identify profile section objects on the profile page editor ui. |
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
boolean |
IsDescriptionDisabled()
Returns true if the object description cannot be set/changed from the Editor. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected void |
StoreObject(IPTObject _object,
java.lang.String _key)
Helper method to Store the Object. |
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel |
---|
CheckEditorAccessAndStart, GetCommunityId, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetPortletName, GetPrefType, GetRedirectAfterFinish, GetSettingValue, GetSettingValues, InitializePortlet, RemoveSettingValue, SetEnableApplyButton, SetMemberVariablesFromQS, SetSettingValue |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, 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.intrinsicportlets.prefs.IIntrinsicPortletPrefsModelRO |
---|
GetCommunityId, GetPortletName, GetPrefType |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String SETTING_PROFILEPAGEID
Constructor Detail |
---|
public EODPortletPrefsModel()
Method Detail |
---|
public static java.lang.String GetProfileSectionKey(int _intSectionID)
_section
- the section in question.
public int ActionOnRepost_NewCtg(XPHashtable _htFormData)
_htFormData
- hashtable with form data including the new name and
description of the category to be created.
public void ActionOnRepost_RenameCtg(XPHashtable _htFormData)
_htFormData
- posted form data that contains page and section
keys to identify the section to be renamed.public void ActionOnRepost_RenameObjDone(XPHashtable _htFormData)
_htFormData
- posted form data that identifies ojbect to be renamedpublic void Cancel()
EditorModel
Cancel
in class EditorModel
EditorModel.Cancel()
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public int GetProfilePageID()
GetProfilePageID
in interface IEODPortletPrefsModelRO
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public void Init(AActivitySpace parent)
IntrinsicPortletPrefsEditorModel
Init
in interface IModel
Init
in class IntrinsicPortletPrefsEditorModel
parent
- the parent Activity SpaceIModel.Init(AActivitySpace)
public boolean IsDescriptionDisabled()
IsDescriptionDisabled
in interface IDescriptionModelRO
ObjEditorModel.IsDescriptionDisabled()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
protected boolean CheckActivityRight()
protected void StoreObject(IPTObject _object, java.lang.String _key)
public IPTProfilePage GetProfilePage()
GetProfilePage
in interface IEODPortletPrefsModelRO
public int GetPortletID()
GetPortletID
in interface IEODPortletPrefsModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |