com.plumtree.uiinfrastructure.expandablelist
Class ExpListControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject
Direct Known Subclasses:
EditCardPropRepostControl, LocNamesRepostControl, MigrationDependencyListRepostControl, MigrationSelectForExportRepostControl, MultiObjectsSecurityControl, PageListControl, PTMultiColumnListRepostControl, SiteMapPortletPrefsSortedLinksControl

public class ExpListControl
extends EditorHelperRepostControl

This class handles the repost actions for the Expandable List framework.

Author:
Julie Fournier

Field Summary
static int POSTTOSELF_ACTION_ADD
          Will add one or more items to the list.
static int POSTTOSELF_ACTION_ADD_IPR
          Will add one or more items to the list using IPR.
static int POSTTOSELF_ACTION_DELETE
          Will delete one or more items from the list.
static int POSTTOSELF_ACTION_MODIFYROW
          Will modify the corresponding row.
static int POSTTOSELF_ACTION_MOVEROW
          Will move the corresponding row.
static int POSTTOSELF_ACTION_OPENTREE
          Will open the tree to select some items.
static int POSTTOSELF_ACTION_REVERSESORT
          Will reverse the sort of the current sorted column.
static int POSTTOSELF_ACTION_SORTBYCOLUMN
          Will resort by the selected column.
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
m_asOwner, m_model
 
Constructor Summary
ExpListControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Returns the Class name.
 void PerformRepostAction(int _nAction, XPHashtable _htFormData)
          Calls the method associated to the repost action.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
CheckActionSecurityAndExecute, 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

POSTTOSELF_ACTION_ADD

public static final int POSTTOSELF_ACTION_ADD
Will add one or more items to the list.

See Also:
Constant Field Values

POSTTOSELF_ACTION_DELETE

public static final int POSTTOSELF_ACTION_DELETE
Will delete one or more items from the list.

See Also:
Constant Field Values

POSTTOSELF_ACTION_OPENTREE

public static final int POSTTOSELF_ACTION_OPENTREE
Will open the tree to select some items.

See Also:
Constant Field Values

POSTTOSELF_ACTION_MOVEROW

public static final int POSTTOSELF_ACTION_MOVEROW
Will move the corresponding row.

See Also:
Constant Field Values

POSTTOSELF_ACTION_SORTBYCOLUMN

public static final int POSTTOSELF_ACTION_SORTBYCOLUMN
Will resort by the selected column.

See Also:
Constant Field Values

POSTTOSELF_ACTION_REVERSESORT

public static final int POSTTOSELF_ACTION_REVERSESORT
Will reverse the sort of the current sorted column.

See Also:
Constant Field Values

POSTTOSELF_ACTION_MODIFYROW

public static final int POSTTOSELF_ACTION_MODIFYROW
Will modify the corresponding row.

See Also:
Constant Field Values

POSTTOSELF_ACTION_ADD_IPR

public static final int POSTTOSELF_ACTION_ADD_IPR
Will add one or more items to the list using IPR.

See Also:
Constant Field Values
Constructor Detail

ExpListControl

public ExpListControl()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorHelperRepostControl
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 EditorHelperRepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

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

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

PerformRepostAction

public void PerformRepostAction(int _nAction,
                                XPHashtable _htFormData)
Calls the method associated to the repost action. Editors using this framework need to call that method from the PerformRepostAction method of the main RepostControl.

Specified by:
PerformRepostAction in class EditorHelperRepostControl
Parameters:
_nAction -
_htFormData -



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