com.plumtree.portaluiinfrastructure.editor.saveobject
Class SaveObjectStartControl

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.editor.saveobject.SaveObjectStartControl
All Implemented Interfaces:
IControl, IHTTPControl, IManagedObject, IMVCObject

public class SaveObjectStartControl
extends java.lang.Object
implements IControl, IHTTPControl

This control is used to initalize the save object pop-up. It has to be called the first time the pop-up is displayed.

Author:
Julie Fournier

Field Summary
protected  SaveObjectAS m_asOwner
          Associated Activity Space
protected  SaveObjectModel m_model
          Associated Model
static java.lang.String STR_MVC_CLASS_NAME
          Object Name for AS
 
Constructor Summary
SaveObjectStartControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          Intializes the Model.
 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)
          Inits the class with the associated model and activity space.
 void SetHTTPItems(IXPRequest _xpRequest, IWebData _webdata)
          Inits this Control with the HTTP Request.
 
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 for AS

See Also:
Constant Field Values

m_asOwner

protected SaveObjectAS m_asOwner
Associated Activity Space


m_model

protected SaveObjectModel m_model
Associated Model

Constructor Detail

SaveObjectStartControl

public SaveObjectStartControl()
Method Detail

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
Intializes the Model.

Specified by:
CheckActionSecurityAndExecute in interface IControl
Returns:
Redirect

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)
Inits the class with the associated model and activity space.

Specified by:
Init in interface IControl
Parameters:
model -
space -

SetHTTPItems

public void SetHTTPItems(IXPRequest _xpRequest,
                         IWebData _webdata)
Inits this Control with the HTTP Request. (Will be used to retrieve most recently used folders.)

Specified by:
SetHTTPItems in interface IHTTPControl
Parameters:
_xpRequest -
_webdata -



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