|
|||||||||
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.webservice.plugins.PageletParamsMapPluginModel
public class PageletParamsMapPluginModel
Field Summary | |
---|---|
static java.lang.String |
INPUTNAME_ADMIN
|
static java.lang.String |
INPUTNAME_COMM
|
static java.lang.String |
INPUTNAME_USER
|
protected XPArrayList |
m_adminParamDescs
|
protected XPArrayList |
m_adminParams
|
protected XPArrayList |
m_commParamDescs
|
protected XPArrayList |
m_commParams
|
protected boolean |
m_hasAdminPrefs
|
protected boolean |
m_hasCommunityPrefs
|
protected boolean |
m_hasUserPrefs
|
protected java.lang.String[] |
m_paramDescriptions
|
protected java.lang.String[] |
m_paramNames
|
protected java.lang.String |
m_prevPageletId
|
protected XPArrayList |
m_userParamDescs
list with descriptions of parameters mapped to each preference type |
protected XPArrayList |
m_userParams
list with names of parameters mapped to each preference type |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
PageletParamsMapPluginModel()
|
Method Summary | |
---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
protected XPArrayList |
ConvertObjectArrayToList(java.lang.Object[] o)
Helper function |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeWSStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call. |
void |
DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID,
java.lang.String strRemoteServerName,
java.lang.String strRemoteServerBaseURL)
Called when the Remote Server is changed. |
void |
DoTaskOnWSModeUpdate(int newWSMode)
Called when the Web Service type is changed. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String[] |
GetPageletParameterDescriptions()
Get supported parameter descriptions |
java.lang.String[] |
GetPageletParameterNames()
Get supported parameter names |
java.lang.String |
GetValidationFunction()
This returns the name of the client-side validation function that the model wants added to the page-level validation funtion. |
void |
InitWSModel(IPTWebService ptWebService)
Initializes the sub-model. |
boolean |
IsMappedToAdminPrefs(java.lang.String paramName)
Checks if a parameter is mapped to admin preference |
boolean |
IsMappedToCommPrefs(java.lang.String paramName)
Checks if a parameter is mapped to community preference |
boolean |
IsMappedToUserPrefs(java.lang.String paramName)
Checks if a parameter is mapped to user preference |
boolean |
IsUsingNewPagelet()
Checks if different pagelet was selected inside the webservice editor |
int |
SaveSection(XPHashtable formData)
Code to save the section represented by this Model. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
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 INPUTNAME_USER
public static final java.lang.String INPUTNAME_COMM
public static final java.lang.String INPUTNAME_ADMIN
protected boolean m_hasUserPrefs
protected boolean m_hasCommunityPrefs
protected boolean m_hasAdminPrefs
protected java.lang.String m_prevPageletId
protected java.lang.String[] m_paramNames
protected java.lang.String[] m_paramDescriptions
protected XPArrayList m_userParams
protected XPArrayList m_commParams
protected XPArrayList m_adminParams
protected XPArrayList m_userParamDescs
protected XPArrayList m_commParamDescs
protected XPArrayList m_adminParamDescs
Constructor Detail |
---|
public PageletParamsMapPluginModel()
Method Detail |
---|
public void InitWSModel(IPTWebService ptWebService)
IWSSubModel
InitWSModel
in interface IWSSubModel
com.plumtree.portalpages.admin.editors.webservice.IWSSubModel#InitWSModel(com.plumtree.server.IPTWebService)
public int SaveSection(XPHashtable formData)
EditorHelperModel
SaveSection
in class EditorHelperModel
formData
- Form posted data.
com.plumtree.uiinfrastructure.editor.EditorHelperModel#SaveSection(com.plumtree.openfoundation.util.XPHashtable)
public void DoTaskBeforeWSStore()
IWSSubModel
DoTaskBeforeWSStore
in interface IWSSubModel
Based on what preference types were mapped to, set/remove edit prefs url as necessary
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
CleanupTempData
in class EditorHelperModel
IModel.CleanupTempData()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
CleanupAllData
in class EditorHelperModel
IModel.CleanupAllData()
public boolean IsUsingNewPagelet()
public java.lang.String[] GetPageletParameterNames()
public java.lang.String[] GetPageletParameterDescriptions()
public boolean IsMappedToUserPrefs(java.lang.String paramName)
paramName
- Name of pagelet parameter
public boolean IsMappedToCommPrefs(java.lang.String paramName)
paramName
- Name of pagelet parameter
public boolean IsMappedToAdminPrefs(java.lang.String paramName)
paramName
- Name of pagelet parameter
protected XPArrayList ConvertObjectArrayToList(java.lang.Object[] o)
o
-
public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID, java.lang.String strRemoteServerName, java.lang.String strRemoteServerBaseURL)
IWSSubModel
DoTaskOnRemoteServerUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnRemoteServerUpdate(java.lang.String, java.lang.String, java.lang.String)
public void DoTaskOnWSModeUpdate(int newWSMode)
IWSSubModel
DoTaskOnWSModeUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnWSModeUpdate(int)
public java.lang.String GetValidationFunction()
IWSSubModel
GetValidationFunction
in interface IWSSubModel
IWSSubModel.GetValidationFunction()
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
EditorHelperModel.GetName()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |