com.plumtree.portalpages.browsing.myportal.editpage
Class EditPageCreateDefaultControl

java.lang.Object
  extended by com.plumtree.portalpages.browsing.myportal.editpage.EditPageCreateDefaultControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class EditPageCreateDefaultControl
extends java.lang.Object
implements IControl

This class creates a single default page with a one-click operation

Author:
MattC

Field Summary
 AActivitySpace m_asOwner
          Associated Activity Space
protected  EditMyPortalPageModel m_model
          Associated Model
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
Constructor Summary
EditPageCreateDefaultControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          Simply creates a new page and redirects the browser back to that page
 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 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
Object Name

See Also:
Constant Field Values

m_asOwner

public AActivitySpace m_asOwner
Associated Activity Space


m_model

protected EditMyPortalPageModel m_model
Associated Model

Constructor Detail

EditPageCreateDefaultControl

public EditPageCreateDefaultControl()
Method Detail

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
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
Returns:
String

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

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
Simply creates a new page and redirects the browser back to that page

Specified by:
CheckActionSecurityAndExecute in interface IControl
Parameters:
arguments - contains HTTP arguments from the post
Returns:
Redirect where to redirect to after the control is finished executing. This will go to the login page or an error page if Redirect.SetRedirectToLogin(true) has been called.



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