com.plumtree.portalpages.admin.objsearch
Class ToolbarView

java.lang.Object
  extended by com.plumtree.portalpages.admin.objsearch.ToolbarView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class ToolbarView
extends java.lang.Object
implements IView

This toolbar is used by Admin Object Search and banner search when "edit-mode" is in effect.

Author:
MatthewF

Field Summary
static java.lang.String FOLDER_TREE_SUB_SPACE_COPY_KEY
           
static java.lang.String FOLDER_TREE_SUB_SPACE_KEY
           
static java.lang.String JAVASCRIPT_OPEN_DOC_COPY_TREE
           
static java.lang.String JAVASCRIPT_OPEN_DOC_SECURITY
           
static java.lang.String JAVASCRIPT_OPEN_DOC_TREE
           
static java.lang.String MY_JAVASCRIPT_DELETE
           
static java.lang.String MY_JAVASCRIPT_MIGRATE
           
static java.lang.String REPOST_COPY_DOCITEMS
           
static java.lang.String REPOST_MOVE_DOCITEMS
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Constructor Summary
ToolbarView()
           
 
Method Summary
static void AddHiddenInputs(HTMLElement myGroup, AdminSearchModel m_asModel)
           
 void addTargetsToActionBarForm(HTMLForm form)
           
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 void SetFormName(java.lang.String name)
           
 
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

JAVASCRIPT_OPEN_DOC_TREE

public static final java.lang.String JAVASCRIPT_OPEN_DOC_TREE
See Also:
Constant Field Values

JAVASCRIPT_OPEN_DOC_COPY_TREE

public static final java.lang.String JAVASCRIPT_OPEN_DOC_COPY_TREE
See Also:
Constant Field Values

REPOST_MOVE_DOCITEMS

public static final java.lang.String REPOST_MOVE_DOCITEMS
See Also:
Constant Field Values

REPOST_COPY_DOCITEMS

public static final java.lang.String REPOST_COPY_DOCITEMS
See Also:
Constant Field Values

JAVASCRIPT_OPEN_DOC_SECURITY

public static final java.lang.String JAVASCRIPT_OPEN_DOC_SECURITY
See Also:
Constant Field Values

FOLDER_TREE_SUB_SPACE_KEY

public static final java.lang.String FOLDER_TREE_SUB_SPACE_KEY
See Also:
Constant Field Values

FOLDER_TREE_SUB_SPACE_COPY_KEY

public static final java.lang.String FOLDER_TREE_SUB_SPACE_COPY_KEY
See Also:
Constant Field Values

MY_JAVASCRIPT_DELETE

public static final java.lang.String MY_JAVASCRIPT_DELETE
See Also:
Constant Field Values

MY_JAVASCRIPT_MIGRATE

public static final java.lang.String MY_JAVASCRIPT_MIGRATE
See Also:
Constant Field Values
Constructor Detail

ToolbarView

public ToolbarView()
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()

addTargetsToActionBarForm

public void addTargetsToActionBarForm(HTMLForm form)

Display

public HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
See Also:
IView.Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from interface: IView
This method returns the HTMLScript that encompasses the Javascript on the page. This method should be called by IDisplayPages and the resulting Javascript should be put in the HTMLHead element. This can return null.

Specified by:
DisplayJavascript in interface IView
See Also:
IView.DisplayJavascript()

GetName

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

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

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
See Also:
IView.Init(IModelRO, AActivitySpace)

SetFormName

public void SetFormName(java.lang.String name)

AddHiddenInputs

public static void AddHiddenInputs(HTMLElement myGroup,
                                   AdminSearchModel m_asModel)



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