|
|||||||||
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.intrinsicpageletparamprefeditor.IntrinsicPrefsEditorForPageletParametersModel
public class IntrinsicPrefsEditorForPageletParametersModel
Model of Community prefs editor specific to portlets for ensemble pagelets
Field Summary | |
---|---|
protected int |
m_currPrefType
of type: PREF_TYPE_PERSONAL, PREF_TYPE_COMMUNITY, PREF_TYPE_ADMIN in IntrinsicPortletPrefsEditorModel |
protected boolean[] |
m_prefChanged
|
protected java.lang.String[] |
m_prefDescs
|
protected java.lang.String[] |
m_prefNames
|
protected java.lang.String[] |
m_prefValues
|
static int |
NAME_INDEX
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static int |
VALUE_INDEX
|
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel |
---|
m_bIsAdminPref, 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 |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
IntrinsicPrefsEditorForPageletParametersModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
That method contains the code that should be executed just after the object has been initialized when the new editor is started. |
protected int |
FindIndexInStringArray(java.lang.String[] arr,
java.lang.String searchString)
|
void |
Finish()
Figure out how to save the prefs depending on the type of the prefs. |
int |
GetCurrPrefType()
Returns one of these values: IntrinsicPortletPrefsEditorModel.PREF_TYPE_PERSONAL, PREF_TYPE_COMMUNITY, PREF_TYPE_ADMIN |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String[] |
GetPortletPrefDescriptions()
|
java.lang.String[] |
GetPortletPrefNames()
|
java.lang.String[] |
GetPortletPrefValues()
|
protected void |
LookupPrefsFromWebservice(java.lang.String prefsType,
java.lang.String descType)
Loads mapped prefs from webservice object. |
int |
SavePage(java.lang.String sPageName,
XPHashtable formData)
Called before Finish method |
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel |
---|
CheckEditorAccessAndStart, GetCommunityId, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetPortletFromSpace, GetPortletName, GetPrefType, GetRedirectAfterFinish, GetSettingValue, GetSettingValues, Init, InitializePortlet, RemoveSettingValue, SetEnableApplyButton, SetMemberVariablesFromQS, SetSettingValue |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEnableCancelButton, 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.uiinfrastructure.editor.IEditorModelRO |
---|
GetEnableCancelButton |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int NAME_INDEX
public static final int VALUE_INDEX
protected int m_currPrefType
protected java.lang.String[] m_prefNames
protected java.lang.String[] m_prefValues
protected java.lang.String[] m_prefDescs
protected boolean[] m_prefChanged
Constructor Detail |
---|
public IntrinsicPrefsEditorForPageletParametersModel()
Method Detail |
---|
public void DoTaskOnStartEditor(XPHashtable _htFormData)
EditorModel
DoTaskOnStartEditor
in class EditorModel
com.plumtree.uiinfrastructure.editor.EditorModel#DoTaskOnStartEditor(com.plumtree.openfoundation.util.XPHashtable)
protected int FindIndexInStringArray(java.lang.String[] arr, java.lang.String searchString)
protected void LookupPrefsFromWebservice(java.lang.String prefsType, java.lang.String descType)
prefsType
- A constant of type: AExtensibilityConstants.PT_PROPBAG_HTTPGADGET_PARAMMAPPING_Xpublic int SavePage(java.lang.String sPageName, XPHashtable formData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
com.plumtree.uiinfrastructure.editor.EditorModel#SavePage(java.lang.String, com.plumtree.openfoundation.util.XPHashtable)
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
EditorModel.Finish()
public java.lang.String[] GetPortletPrefNames()
public java.lang.String[] GetPortletPrefValues()
public java.lang.String[] GetPortletPrefDescriptions()
public int GetCurrPrefType()
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
EditorModel.Create()
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
EditorModel.GetName()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |