|
|||||||||
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.UserPrefsPluginModel
public class UserPrefsPluginModel
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static int |
UPPM_PREFMODE_ADMINPREFS
|
static int |
UPPM_PREFMODE_COMMUNITYPREFS
|
static int |
UPPM_PREFMODE_SESSIONPREFS
|
static int |
UPPM_PREFMODE_USERPREFS
These values specify whether this model is used to set community preferences or user preferences. |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
UserPrefsPluginModel()
|
Method Summary | |
---|---|
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 nNewWSMode)
Called when the Web Service type is changed. |
java.lang.String |
GetBaseURL()
|
java.lang.String |
GetName()
Returns the Class name. |
int |
GetPrefMode()
This method checks whether this model is used to set community preferences or user preferences. |
java.lang.String |
GetPrefsURL()
Returns the Admin Prefs URL |
java.lang.String |
GetTemplatePrefsURL()
|
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. |
int |
SaveSection(XPHashtable _htFormData)
Code to save the section represented by this Model. |
void |
SetPrefMode(int nPrefMode)
This method specifies whether this model is used to set community preferences or user preferences. |
void |
SetPrefsURL(java.lang.String strPrefsURL)
Sets the Admin Prefs URL |
void |
SetTemplatePrefsURL(java.lang.String strPrefsURL)
Sets the Template Admin Prefs URL |
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 int UPPM_PREFMODE_USERPREFS
public static final int UPPM_PREFMODE_COMMUNITYPREFS
public static final int UPPM_PREFMODE_ADMINPREFS
public static final int UPPM_PREFMODE_SESSIONPREFS
Constructor Detail |
---|
public UserPrefsPluginModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforeWSStore()
IWSSubModel
DoTaskBeforeWSStore
in interface IWSSubModel
IWSSubModel.DoTaskBeforeWSStore()
public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID, java.lang.String strRemoteServerName, java.lang.String strRemoteServerBaseURL)
IWSSubModel
DoTaskOnRemoteServerUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnRemoteServerUpdate(String, String, String)
public void DoTaskOnWSModeUpdate(int nNewWSMode)
IWSSubModel
DoTaskOnWSModeUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnWSModeUpdate(int)
public java.lang.String GetBaseURL()
GetBaseURL
in interface IUserPrefsPluginModelRO
com.plumtree.portalpages.admin.editors.webservice.plugins.IAdminPrefsPluginModelRO#GetBaseURL()
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public int GetPrefMode()
GetPrefMode
in interface IUserPrefsPluginModelRO
public java.lang.String GetPrefsURL()
GetPrefsURL
in interface IUserPrefsPluginModelRO
public java.lang.String GetTemplatePrefsURL()
GetTemplatePrefsURL
in interface IUserPrefsPluginModelRO
IUserPrefsPluginModelRO.GetTemplatePrefsURL()
public java.lang.String GetValidationFunction()
IWSSubModel
GetValidationFunction
in interface IWSSubModel
IWSSubModel.GetValidationFunction()
public void InitWSModel(IPTWebService ptWebService)
IWSSubModel
InitWSModel
in interface IWSSubModel
com.plumtree.portalpages.admin.editors.webservice.IWSSubModel#InitWSModel()
public int SaveSection(XPHashtable _htFormData)
EditorHelperModel
SaveSection
in class EditorHelperModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
public void SetPrefMode(int nPrefMode)
public void SetPrefsURL(java.lang.String strPrefsURL)
strAdminPrefsURL
- The Admin Prefs URL to setpublic void SetTemplatePrefsURL(java.lang.String strPrefsURL)
strAdminPrefsURL
- The Admin Prefs URL to set
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |