com.plumtree.portaluiinfrastructure.editor.commonpages.objectsecurity
Class PriorityDropDownModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.portaluiinfrastructure.editor.commonpages.objectsecurity.PriorityDropDownModel
All Implemented Interfaces:
IPriorityDropDownModelRO, IManagedObject, IModel, IModelRO, IMVCObject

public class PriorityDropDownModel
extends EditorHelperModel
implements IPriorityDropDownModelRO

Model class for the Priority drop-down.

Author:
Julie Fournier

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
PriorityDropDownModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void Finish()
          Sets the mandatory tab priority value on the Object.
 int GetMandatoryPriority()
          Returns the current value of the Mandatory tab priority drop-down.
 java.lang.String GetName()
          Returns the Class name.
 java.lang.String GetStringForUI()
          Get the string to display to the left of the mandatory drop-down list.
 boolean GetSupportMandatoryColumn()
          Tells whether the priority drop-down should be displayed for the current object or no.
 void InitializePriorityDropDown(IPTObject _ptObject)
          Initializes this plug-in section.
 int SaveSection(XPHashtable _htFormData)
          Saves the selected value in the priority drop-down.
 void SetSupportMandatoryColumn(boolean _bSupportMandatoryColumn)
          Changes the value of the m_bSupportMandatoryTab member variable.
 
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
Class name for the activity space

See Also:
Constant Field Values
Constructor Detail

PriorityDropDownModel

public PriorityDropDownModel()
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:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Finish

public void Finish()
Sets the mandatory tab priority value on the Object.


GetMandatoryPriority

public int GetMandatoryPriority()
Returns the current value of the Mandatory tab priority drop-down.

Specified by:
GetMandatoryPriority in interface IPriorityDropDownModelRO
Returns:
int
See Also:
GetMandatoryPriority()

GetStringForUI

public java.lang.String GetStringForUI()
Get the string to display to the left of the mandatory drop-down list.

Specified by:
GetStringForUI in interface IPriorityDropDownModelRO
Returns:
int
See Also:
GetStringForUI()

GetName

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

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

GetSupportMandatoryColumn

public boolean GetSupportMandatoryColumn()
Tells whether the priority drop-down should be displayed for the current object or no.

Specified by:
GetSupportMandatoryColumn in interface IPriorityDropDownModelRO
Returns:
boolean
See Also:
GetSupportMandatoryColumn()

InitializePriorityDropDown

public void InitializePriorityDropDown(IPTObject _ptObject)
Initializes this plug-in section.

Parameters:
_ptObject -

SaveSection

public int SaveSection(XPHashtable _htFormData)
Saves the selected value in the priority drop-down.

Specified by:
SaveSection in class EditorHelperModel
Parameters:
_htFormData -
Returns:
int Status for server side validation

SetSupportMandatoryColumn

public void SetSupportMandatoryColumn(boolean _bSupportMandatoryColumn)
Changes the value of the m_bSupportMandatoryTab member variable.

Parameters:
_bSupportMandatoryTab -



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