|
|||||||||
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.sitemap.prefs.SiteMapPortletPrefsModel
public class SiteMapPortletPrefsModel
Intrinsic portlet prefs model, which extends the IntrinsicPortletPrefsEditorModel, uses the editor framework.
Field Summary | |
---|---|
protected int |
m_nFolderID
|
protected int |
m_nNumLinks
|
protected int |
m_nShowDescriptions
|
protected IPTSiteMapFolder |
m_ptSiteMapFolder
|
static java.lang.String |
SETTING_NAME_FOLDERID
|
static java.lang.String |
SETTING_NAME_FOLDERNAME
|
static java.lang.String |
SETTING_NAME_LINKORDER
|
static java.lang.String |
SETTING_NAME_NUMLINKS
|
static java.lang.String |
SETTING_NAME_SHOWDESC
|
static java.lang.String |
STR_MVC_CLASS_NAME
SiteMapPortletPrefs |
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 | |
---|---|
SiteMapPortletPrefsModel()
|
Method Summary | |
---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
void |
Cancel()
Implement some code to execute when the user clicks on "Cancel". |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
CreateFolder()
Create a site map folder for this portlet. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Load the community preferences for the portlet. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
int |
GetFolderID()
|
ASQueryResultWrapper |
GetLinks()
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNumLinksToDisplay()
|
boolean |
GetSiteMapFolderIsNull()
|
boolean |
HasNoLinks()
|
boolean |
OrderAlpha()
|
protected void |
SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
boolean |
ShowDescriptions()
|
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 |
---|
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.portaluiinfrastructure.intrinsicportlets.prefs.IIntrinsicPortletPrefsModelRO |
---|
GetCommunityId, GetPortletName, GetPrefType |
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 java.lang.String SETTING_NAME_FOLDERNAME
public static final java.lang.String SETTING_NAME_FOLDERID
public static final java.lang.String SETTING_NAME_LINKORDER
public static final java.lang.String SETTING_NAME_SHOWDESC
public static final java.lang.String SETTING_NAME_NUMLINKS
protected IPTSiteMapFolder m_ptSiteMapFolder
protected int m_nFolderID
protected int m_nNumLinks
protected int m_nShowDescriptions
Constructor Detail |
---|
public SiteMapPortletPrefsModel()
Method Detail |
---|
public void ActionOnRepost()
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void CreateFolder()
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public void Cancel()
Cancel
in class EditorModel
public int GetFolderID()
GetFolderID
in interface ISiteMapPortletPrefsModelRO
public ASQueryResultWrapper GetLinks()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public int GetNumLinksToDisplay()
GetNumLinksToDisplay
in interface ISiteMapPortletPrefsModelRO
ISiteMapPortletPrefsModelRO.GetNumLinksToDisplay()
public boolean GetSiteMapFolderIsNull()
GetSiteMapFolderIsNull
in interface ISiteMapPortletPrefsModelRO
public boolean HasNoLinks()
HasNoLinks
in interface ISiteMapPortletPrefsModelRO
public boolean OrderAlpha()
OrderAlpha
in interface ISiteMapPortletPrefsModelRO
ISiteMapPortletPrefsModelRO.OrderAlpha()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
public boolean ShowDescriptions()
ShowDescriptions
in interface ISiteMapPortletPrefsModelRO
protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |