|
|||||||||
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.IntrinsicUserPrefsPluginModel
public class IntrinsicUserPrefsPluginModel
Store the activity space for the intrinsic portlet preference pages. Even though there is only one prefs plugin model and one prefs plugin view, there are actually three instances of this model in existence. Each of these models will contain information about one preference type, whether it be admin portlet prefs, user portlet prefs, or community portlet prefs.
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for IntrinsicUserPrefsPluginModel |
static int |
UPPM_PREFMODE_ADMINPREFS
Admin portlet preferences |
static int |
UPPM_PREFMODE_COMMUNITYPREFS
Community portlet preferences |
static int |
UPPM_PREFMODE_USERPREFS
User portlet preferences |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
IntrinsicUserPrefsPluginModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeWSStore()
This method updates the personalization flag of the web service. |
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 |
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 |
GetPrefsSpace()
Gets the preference space value for the current type of preference. |
java.lang.String |
GetTemplatePrefsSpace()
Gets the preference space value for portlet template admin preferences. |
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)
Saves the preference spaces. |
void |
SetPrefMode(int nPrefMode)
This method specifies whether this model is used to set community preferences or user preferences. |
void |
SetPrefsSpace(java.lang.String strPrefsSpace)
Sets the prefs space |
void |
SetTemplatePrefsSpace(java.lang.String strTemplatePrefsSpace)
Sets the Template Admin Prefs space |
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
Constructor Detail |
---|
public IntrinsicUserPrefsPluginModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforeWSStore()
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 GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public int GetPrefMode()
GetPrefMode
in interface IIntrinsicUserPrefsPluginModelRO
public java.lang.String GetPrefsSpace()
GetPrefsSpace
in interface IIntrinsicUserPrefsPluginModelRO
IIntrinsicUserPrefsPluginModelRO.GetPrefsSpace()
public java.lang.String GetTemplatePrefsSpace()
GetTemplatePrefsSpace
in interface IIntrinsicUserPrefsPluginModelRO
IIntrinsicUserPrefsPluginModelRO.GetTemplatePrefsSpace()
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)
SaveSection
in class EditorHelperModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
public void SetPrefMode(int nPrefMode)
nPrefMode
- Preference modepublic void SetPrefsSpace(java.lang.String strPrefsSpace)
strPrefsSpace
- Activity space for preferencespublic void SetTemplatePrefsSpace(java.lang.String strTemplatePrefsSpace)
strTemplatePrefsSpace
- Activity space for admin template
preferences
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |