com.plumtree.portalpages.common.search
Class SimpleSelectorModel
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorHelperModel
com.plumtree.portalpages.common.search.SimpleSelectorModel
- All Implemented Interfaces:
- ISimpleSelectorModelRO, IManagedObject, IModel, IModelRO, IMVCObject
public class SimpleSelectorModel
- extends EditorHelperModel
- implements ISimpleSelectorModelRO
- Author:
- CraigS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
SimpleSelectorModel
public SimpleSelectorModel()
Create
public java.lang.Object Create()
- Description copied from class:
EditorHelperModel
- 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 EditorHelperModel
- Returns:
GetCurrentSelection
public int GetCurrentSelection()
- Specified by:
GetCurrentSelection
in interface ISimpleSelectorModelRO
- Returns:
GetElementName
public java.lang.String GetElementName()
- Specified by:
GetElementName
in interface ISimpleSelectorModelRO
- Returns:
GetName
public java.lang.String GetName()
- Description copied from class:
EditorHelperModel
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorHelperModel
- Returns:
GetPossibleSelections
public java.lang.String[] GetPossibleSelections()
- Specified by:
GetPossibleSelections
in interface ISimpleSelectorModelRO
- Returns:
GetPromptText
public java.lang.String GetPromptText()
- Specified by:
GetPromptText
in interface ISimpleSelectorModelRO
- Returns:
GetTitle
public java.lang.String GetTitle()
- Specified by:
GetTitle
in interface ISimpleSelectorModelRO
- Returns:
InitializePlugIn
public void InitializePlugIn(java.lang.String[] possibleSelections,
int initialSelection,
java.lang.String title,
java.lang.String promptText,
java.lang.String elementName)
- Parameters:
possibleSelections
- initialSelection
- title
- promptText
- elementName
-
SaveSection
public int SaveSection(XPHashtable formData)
- Description copied from class:
EditorHelperModel
- Code to save the section represented by this Model.
- Specified by:
SaveSection
in class EditorHelperModel
- Parameters:
formData
-
- Returns:
SetSelectionFromFormData
public void SetSelectionFromFormData(XPHashtable formData)