com.plumtree.portalpages.portlets.savedsearch.prefs
Class SavedSearchPortletPrefsModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel
          extended by com.plumtree.portalpages.portlets.savedsearch.prefs.SavedSearchPortletPrefsModel
All Implemented Interfaces:
ISavedSearchPortletPrefsModelRO, IIntrinsicPortletPrefsModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class SavedSearchPortletPrefsModel
extends IntrinsicPortletPrefsEditorModel
implements ISavedSearchPortletPrefsModelRO

Intrinsic portlet prefs model, which extends the IntrinsicPortletPrefsEditorModel, uses the editor framework.

Author:
mikes

Field Summary
 java.lang.String _ui_NoTitle
           
protected  int m_nSavSrchID
           
 java.lang.String m_strLastTreeSpaceId
           
protected  java.lang.String m_strSavSrchName
           
protected  java.lang.String m_strTitle
           
static java.lang.String STR_MVC_CLASS_NAME
          SavedSearchPortletPrefs
 
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel
m_nCommunityID, m_nPageID, m_nPortletID, m_nPrefType, m_ptPortlet, m_ptSession, m_strPreviousURL, PREF_TYPE_ADMIN, PREF_TYPE_COMMUNITY, PREF_TYPE_PERSONAL, SETTINGSTYPE_ADMIN, SETTINGSTYPE_COMMUNITY, SETTINGSTYPE_COMMUNITYPORTLET, SETTINGSTYPE_PORTLET, SETTINGSTYPE_USER
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType
 
Constructor Summary
SavedSearchPortletPrefsModel()
           
 
Method Summary
 void ChangeSavedSearchIDOnRepost()
          Saved search ID on repost.
 int CheckDisplayFieldsInExpList()
           
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskOnStartEditor(XPHashtable _htFormData)
          Load ADMIN settings on start of editor
 void Finish()
          Save ADMIN settings on finish of editor.
 java.lang.String GetLastTreeSpaceId()
           
 java.lang.String GetName()
          Returns the Class name.
 int GetSavSrchID()
           
 java.lang.String GetSavSrchName()
           
 boolean GetSimple()
          Deprecated. presentation style is no longer used. This method will always return false.
 java.lang.String GetTitle()
           
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.
 void SetSavSrchID(int _nSavSrchID, boolean _bLookupName)
          Sets a new value for the member variable "SavSrchID".
 void SetSavSrchName(java.lang.String strName)
           
 void SetSimple(boolean _bSimple)
          Deprecated. presentation style is no longer used. This method doesn't do anything.
 void SetTitle(java.lang.String _Title)
          Sets a new value for the member variable "Title".
 
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IntrinsicPortletPrefsEditorModel
CheckEditorAccessAndStart, GetCommunityId, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetPortletName, GetPrefType, GetRedirectAfterFinish, GetSettingValue, GetSettingValues, Init, InitializePortlet, RemoveSettingValue, SetEnableApplyButton, SetMemberVariablesFromQS, SetSettingValue
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, 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.portaluiinfrastructure.intrinsicportlets.prefs.IIntrinsicPortletPrefsModelRO
GetCommunityId, GetPortletName, GetPrefType
 
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
SavedSearchPortletPrefs

See Also:
Constant Field Values

m_nSavSrchID

protected int m_nSavSrchID

m_strSavSrchName

protected java.lang.String m_strSavSrchName

m_strTitle

protected java.lang.String m_strTitle

m_strLastTreeSpaceId

public java.lang.String m_strLastTreeSpaceId

_ui_NoTitle

public final java.lang.String _ui_NoTitle
See Also:
Constant Field Values
Constructor Detail

SavedSearchPortletPrefsModel

public SavedSearchPortletPrefsModel()
Method Detail

ChangeSavedSearchIDOnRepost

public void ChangeSavedSearchIDOnRepost()
Saved search ID on repost.


Create

public java.lang.Object Create()
Description copied from class: EditorModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

DoTaskOnStartEditor

public void DoTaskOnStartEditor(XPHashtable _htFormData)
Load ADMIN settings on start of editor

Overrides:
DoTaskOnStartEditor in class EditorModel
See Also:
EditorModel.DoTaskOnStartEditor(XPHashtable)

Finish

public void Finish()
Save ADMIN settings on finish of editor.

Specified by:
Finish in interface IRepostModel
Specified by:
Finish in class EditorModel

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorModel
Returns:
String

GetSavSrchID

public int GetSavSrchID()
Specified by:
GetSavSrchID in interface ISavedSearchPortletPrefsModelRO
Returns:

GetSavSrchName

public java.lang.String GetSavSrchName()
Specified by:
GetSavSrchName in interface ISavedSearchPortletPrefsModelRO
Returns:

GetSimple

public boolean GetSimple()
Deprecated. presentation style is no longer used. This method will always return false.

Specified by:
GetSimple in interface ISavedSearchPortletPrefsModelRO
Returns:

GetTitle

public java.lang.String GetTitle()
Specified by:
GetTitle in interface ISavedSearchPortletPrefsModelRO
Returns:

GetLastTreeSpaceId

public java.lang.String GetLastTreeSpaceId()
Specified by:
GetLastTreeSpaceId in interface ISavedSearchPortletPrefsModelRO
Returns:

SavePage

public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.

Specified by:
SavePage in interface IRepostModel
Specified by:
SavePage in class EditorModel
Parameters:
_sPageName -
_htFormData -
Returns:
int Page status for server side validation

SetSavSrchID

public void SetSavSrchID(int _nSavSrchID,
                         boolean _bLookupName)
Sets a new value for the member variable "SavSrchID".

Parameters:
_SavSrchID -

SetSimple

public void SetSimple(boolean _bSimple)
Deprecated. presentation style is no longer used. This method doesn't do anything.

Parameters:
_bSimple -

SetTitle

public void SetTitle(java.lang.String _Title)
Sets a new value for the member variable "Title".

Parameters:
_Title -

SetSavSrchName

public void SetSavSrchName(java.lang.String strName)
Parameters:
strName -

SaveMainPage

protected void SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page.

Parameters:
_htFormData -

CheckDisplayFieldsInExpList

public int CheckDisplayFieldsInExpList()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.