|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, 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, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, 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, GetEnableCancelButton, 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 IModelInit in class EditorModelowner - 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 IManagedObjectCreate in class EditorModelIManagedObject.Create()public void Finish()
Finish in interface IRepostModelFinish in class EditorModelpublic int GetLayoutColumnCount()
ILayoutSelectionModelRO
GetLayoutColumnCount in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetLayoutColumnCount()public boolean GetPageHasFreeFormPortlet()
GetPageHasFreeFormPortlet in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetPageHasFreeFormPortlet()public boolean GetPageSupportsFreeFormSection()
GetPageSupportsFreeFormSection in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetPageSupportsFreeFormSection()public java.lang.String GetName()
EditorModel
GetName in interface IMVCObjectGetName in class EditorModelcom.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()public java.lang.String GetParentFormName()
ILayoutSelectionModelRO
GetParentFormName in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetParentFormName()public java.lang.String GetParentFormSelectInput()
ILayoutSelectionModelRO
GetParentFormSelectInput in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetParentFormSelectInput()public java.lang.String GetParentFormSpaceID()
ILayoutSelectionModelRO
GetParentFormSpaceID in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetParentFormSpaceID()public java.lang.String GetParentFormSubmitFunction()
ILayoutSelectionModelRO
GetParentFormSubmitFunction in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetParentFormSubmitFunction()public Redirect GetRedirectAfterFinish()
EditorModel
GetRedirectAfterFinish in interface IRepostModelGetRedirectAfterFinish in class EditorModelIRepostModel.GetRedirectAfterFinish()public int GetSelectedLayout()
ILayoutSelectionModelRO
GetSelectedLayout in interface ILayoutSelectionModelROILayoutSelectionModelRO.GetSelectedLayout()public void RefreshHasFreeFormPortlet(XPHashtable _htFormData)
_htFormData -
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage 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 | ||||||||