com.plumtree.portalpages.ajax
Class AjaxControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.opener.BaseOpenerControl
      extended by com.plumtree.portalpages.ajax.AjaxControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class AjaxControl
extends BaseOpenerControl

Author:
MattC

Field Summary
static int POST_ACTION_RENAME
           
static int STATUS_FAIL
           
static int STATUS_SUCCESS
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Constructor Summary
AjaxControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          This overrides the implementation from IControl for certain actions
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModel model, AActivitySpace space)
          Initialize the control with the model it should use and it's parent AActivitySpace.
 
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

POST_ACTION_RENAME

public static final int POST_ACTION_RENAME
See Also:
Constant Field Values

STATUS_FAIL

public static final int STATUS_FAIL
See Also:
Constant Field Values

STATUS_SUCCESS

public static final int STATUS_SUCCESS
See Also:
Constant Field Values
Constructor Detail

AjaxControl

public AjaxControl()
Method Detail

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
This overrides the implementation from IControl for certain actions

Specified by:
CheckActionSecurityAndExecute in interface IControl
Overrides:
CheckActionSecurityAndExecute in class BaseOpenerControl
Parameters:
arguments - These are our QS arguments.
Returns:
Redirect
See Also:
com.plumtree.uiinfrastructure.activityspace.IControl#Execute()

Create

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

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

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class BaseOpenerControl
Returns:
the name of the object.
See Also:
IMVCObject.GetName()

Init

public void Init(IModel model,
                 AActivitySpace space)
Description copied from interface: IControl
Initialize the control with the model it should use and it's parent AActivitySpace. This method needs to be called before any other methods. This method also clears all internal data so the control can be used again without fear of mixing data.

Specified by:
Init in interface IControl
Overrides:
Init in class BaseOpenerControl
See Also:
IControl.Init(IModel, AActivitySpace)



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