com.plumtree.portalpages.browsing.objectselection.portlets
Class PortletInBundleSelectionEditorStartControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorStartControl
      extended by com.plumtree.portalpages.browsing.objectselection.portlets.PortletInBundleSelectionEditorStartControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class PortletInBundleSelectionEditorStartControl
extends EditorStartControl

This control is used to enable simple mode - no adding or preview of portlets.

Author:
dhayler

Field Summary
static java.lang.String SIMPLE_MODE
          Whether or not to use simple mode (i.e.
static java.lang.String STR_MVC_CLASS_NAME
          Object Name for AS
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorStartControl
EDITOR_START_FLAG_CREATE, EDITOR_START_FLAG_EDIT, EDITOR_START_FLAG_INVALID, EDITOR_START_FLAG_MISC, m_asOwner, m_htFormData, m_model, QS_CLOSE_WINDOW_ON_DONE, QS_DELETE_ON_CANCEL, QS_EDITOR_HIDE_LEFTNAV, QS_EDITOR_TYPE
 
Constructor Summary
PortletInBundleSelectionEditorStartControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          This code is called by the AS Servlet each time there is an Editor is started.
 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.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorStartControl
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
Object Name for AS

See Also:
Constant Field Values

SIMPLE_MODE

public static final java.lang.String SIMPLE_MODE
Whether or not to use simple mode (i.e. true, false). The default is false. Simple mode removes the checkboxes and Finish button.

See Also:
Constant Field Values
Constructor Detail

PortletInBundleSelectionEditorStartControl

public PortletInBundleSelectionEditorStartControl()
Method Detail

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
This code is called by the AS Servlet each time there is an Editor is started. It calls the startEditor method in the Model if a valid Editor Type was in the QS. If the Redirect object returned is not null, the Servlet will the page specified by the Redirect. If the Redirect is null, the Servlet will get the current page from the AS and display it.

Specified by:
CheckActionSecurityAndExecute in interface IControl
Overrides:
CheckActionSecurityAndExecute in class EditorStartControl
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
Overrides:
Create in class EditorStartControl
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
Overrides:
GetName in class EditorStartControl
Returns:
String



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