|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.portalpages.admin.editors.portlet.plugins.PChooseModel
public class PChooseModel
Field Summary | |
---|---|
static java.lang.String |
DEFAULTDATA
This member defines a static string used to identify when m_htFormData has been initialized. |
protected int |
m_nNextPMode
The Portlet Mode to continue the editor in (either create, or create from template). |
protected int |
m_nTemplateObjectID
The portlet template that is currently chosen. |
protected java.lang.String |
m_strTemplateName
Name of template (null means nothing selected) |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
PChooseModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforePStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call. |
void |
DoTaskOnPModeUpdate(int nNewWSMode)
Called when the Portlet editor mode is changed. |
void |
DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
Called when the Remote Server is changed. |
void |
FinalizeCreation()
This function actually commits the changes that forces our editor into the normal create or create from template modes. |
java.lang.String |
GetData(java.lang.String name)
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNextPMode()
Returns the mode that this editor will be changed to when the user clicks finish. |
int |
GetObjectIDOfTemplate()
|
java.lang.String |
GetPortletTemplateName()
Returns the name value from m_strPortletTemplateTreeData. |
void |
InitPModel(IPTGadget ptPortlet)
Initializes the sub-model. |
void |
RefreshItemFromTree()
This method gets the selected items from the tree. |
int |
SaveSection(XPHashtable _htFormData)
Code to save the section represented by this Model. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData, Init |
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
public static final java.lang.String DEFAULTDATA
protected java.lang.String m_strTemplateName
protected int m_nNextPMode
protected int m_nTemplateObjectID
Constructor Detail |
---|
public PChooseModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforePStore()
IPSubModel
DoTaskBeforePStore
in interface IPSubModel
IPSubModel.DoTaskBeforePStore()
public void DoTaskOnPModeUpdate(int nNewWSMode)
IPSubModel
DoTaskOnPModeUpdate
in interface IPSubModel
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#DoTaskOnWSModeUpdate(int)
public void DoTaskOnWebServiceUpdate(IPTWebService ptWebService)
IPSubModel
DoTaskOnWebServiceUpdate
in interface IPSubModel
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#DoTaskOnWebServiceUpdate(String, String)
public void FinalizeCreation()
public java.lang.String GetData(java.lang.String name)
GetData
in interface IPChooseModelRO
com.plumtree.portalpagessample.form.ISampleFormModelRO#GetData(String)
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
public int GetNextPMode()
GetNextPMode
in interface IPChooseModelRO
public int GetObjectIDOfTemplate()
com.plumtree.portaluiinfrastructure.editor.ITemplateChooserModelRO#GetObjectIDOfTemplate()
public java.lang.String GetPortletTemplateName()
GetPortletTemplateName
in interface IPChooseModelRO
public void InitPModel(IPTGadget ptPortlet)
IPSubModel
InitPModel
in interface IPSubModel
com.plumtree.portalpages.admin.editors.portlet.IPSubModel#InitPModel(IPTWebService)
public void RefreshItemFromTree()
public int SaveSection(XPHashtable _htFormData)
EditorHelperModel
SaveSection
in class EditorHelperModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |