|
|||||||||
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.layoutselection.LayoutSelectionModel
public class LayoutSelectionModel
Field Summary | |
---|---|
protected IPTQueryResult |
m_layouts
|
static java.lang.String |
STR_MVC_CLASS_NAME
Object 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 | |
---|---|
LayoutSelectionModel()
|
Method Summary | |
---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.String |
CheckSafeName(java.lang.String _strName)
A utility method that checks if the parameter name is safe to protect against cross-site scripting attacks. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
IPTQueryResult |
GetAdaptiveLayouts()
|
int |
GetLayoutColumnCount()
Get the count of columns to display on the select layout page. |
java.lang.String |
GetName()
Returns the Class name. |
boolean |
GetPageHasFreeFormPortlet()
|
boolean |
GetPageSupportsFreeFormSection()
|
java.lang.String |
GetParentFormName()
Get the name of the parent window's form. |
java.lang.String |
GetParentFormSelectInput()
Get the name of the form element for selected items. |
java.lang.String |
GetParentFormSpaceID()
Get the string that is the parent form space ID. |
java.lang.String |
GetParentFormSubmitFunction()
Get the string that is the parent form submit function. |
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
int |
GetSelectedLayout()
Get the currently selected layout. |
void |
Init(AActivitySpace owner)
Initializes the list of layouts |
void |
RefreshHasFreeFormPortlet(XPHashtable _htFormData)
Method RefreshHasFreeFormPortlet. |
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. |
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, 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, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected IPTQueryResult m_layouts
Constructor Detail |
---|
public LayoutSelectionModel()
Method Detail |
---|
public void ActionOnRepost()
public void Init(AActivitySpace owner)
Init
in interface IModel
Init
in class EditorModel
owner
- the parent Activity SpaceEditorModel.Init(com.plumtree.uiinfrastructure.activityspace.AActivitySpace)
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 void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public int GetLayoutColumnCount()
ILayoutSelectionModelRO
GetLayoutColumnCount
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetLayoutColumnCount()
public boolean GetPageHasFreeFormPortlet()
GetPageHasFreeFormPortlet
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetPageHasFreeFormPortlet()
public boolean GetPageSupportsFreeFormSection()
GetPageSupportsFreeFormSection
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetPageSupportsFreeFormSection()
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
com.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()
public java.lang.String GetParentFormName()
ILayoutSelectionModelRO
GetParentFormName
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetParentFormName()
public java.lang.String GetParentFormSelectInput()
ILayoutSelectionModelRO
GetParentFormSelectInput
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetParentFormSelectInput()
public java.lang.String GetParentFormSpaceID()
ILayoutSelectionModelRO
GetParentFormSpaceID
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetParentFormSpaceID()
public java.lang.String GetParentFormSubmitFunction()
ILayoutSelectionModelRO
GetParentFormSubmitFunction
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetParentFormSubmitFunction()
public Redirect GetRedirectAfterFinish()
EditorModel
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
IRepostModel.GetRedirectAfterFinish()
public int GetSelectedLayout()
ILayoutSelectionModelRO
GetSelectedLayout
in interface ILayoutSelectionModelRO
ILayoutSelectionModelRO.GetSelectedLayout()
public void RefreshHasFreeFormPortlet(XPHashtable _htFormData)
_htFormData
- public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
- public java.lang.String CheckSafeName(java.lang.String _strName)
_strName
- The name to check.
XPIllegalArgumentException
- if the name is not safe.public IPTQueryResult GetAdaptiveLayouts()
GetAdaptiveLayouts
in interface ILayoutSelectionModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |