|
|||||||||
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.portalpages.browsing.editors.editportletprefs.EditPortletPrefsModel
public class EditPortletPrefsModel
This class keeps an up-to-date state of all the settings. It contains the set and get methods for those settings. It contains the start, save and finish methods. This class is used by the Section Misc2View (to get the latest value of the settings to display) and by the Control Misc2RepostControl (to perform the repost actions).
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
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 | |
---|---|
EditPortletPrefsModel()
|
Method Summary | |
---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
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. |
boolean |
DisplayTitleBarColumn()
|
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
int |
GetCommunityID()
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetPageCount()
|
int |
GetPageID(int nPageIndex)
|
java.lang.String |
GetPageName(int nPageIndex)
|
PTSortedArrayWrapper |
GetPortletPreferencesList(int iPageID)
|
Redirect |
GetRedirectAfterFinish()
Returns the Obj Manager Redirect object (this is were we need to go at the end of the Editor). |
boolean |
IsCommunityEditor()
If this is the community editor, then we link to the community prefs page; if it's a community page but we're not in the community editor, then we link to the user-gadget-community prefs page. |
void |
ReversePortletPrefsSort(XPHashtable _htFormData)
Reverses the sort order of one of the pages of gadget prefs. |
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.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetUserHasAccessToEditor, Init, 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 |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public EditPortletPrefsModel()
Method Detail |
---|
public void ActionOnRepost()
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public boolean DisplayTitleBarColumn()
DisplayTitleBarColumn
in interface IPortletPreferencesModelRO
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public int GetCommunityID()
GetCommunityID
in interface IPortletPreferencesModelRO
public PTSortedArrayWrapper GetPortletPreferencesList(int iPageID)
GetPortletPreferencesList
in interface IPortletPreferencesModelRO
iPageID
-
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public int GetPageCount()
GetPageCount
in interface IPortletPreferencesModelRO
public int GetPageID(int nPageIndex)
GetPageID
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.GetPageID(int)
public java.lang.String GetPageName(int nPageIndex)
GetPageName
in interface IPortletPreferencesModelRO
nPageIndex
-
public boolean IsCommunityEditor()
IPortletPreferencesModelRO
IsCommunityEditor
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO#IsCommunityEditor()
public void ReversePortletPrefsSort(XPHashtable _htFormData)
_htFormData
- public Redirect GetRedirectAfterFinish()
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |