com.plumtree.portalpages.common.search
Class SimpleSelectorModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.portalpages.common.search.SimpleSelectorModel
All Implemented Interfaces:
ISimpleSelectorModelRO, IManagedObject, IModel, IModelRO, IMVCObject

public class SimpleSelectorModel
extends EditorHelperModel
implements ISimpleSelectorModelRO

Author:
CraigS

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
SimpleSelectorModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 int GetCurrentSelection()
           
 java.lang.String GetElementName()
           
 java.lang.String GetName()
          Returns the Class name.
 java.lang.String[] GetPossibleSelections()
           
 java.lang.String GetPromptText()
           
 java.lang.String GetTitle()
           
 void InitializePlugIn(java.lang.String[] possibleSelections, int initialSelection, java.lang.String title, java.lang.String promptText, java.lang.String elementName)
           
 int SaveSection(XPHashtable formData)
          Code to save the section represented by this Model.
 void SetSelectionFromFormData(XPHashtable formData)
           
 
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

STR_MVC_CLASS_NAME

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

SimpleSelectorModel

public SimpleSelectorModel()
Method Detail

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)



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