com.plumtree.portalpages.common.createfolder
Class CreateFolderView

java.lang.Object
  extended by com.plumtree.portalpages.common.createfolder.CreateFolderView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
DirCreateFolderView, ObjMgrCreateFolderView, SiteMapCreateFolderView

public abstract class CreateFolderView
extends java.lang.Object
implements IView

Author:
StephenC

Field Summary
static java.lang.String HTMLBUTTON_EDITOR_CANCEL
           
static java.lang.String HTMLBUTTON_EDITOR_FINISH
           
static java.lang.String HTMLFORM_CREATEFOLDER
           
static java.lang.String HTMLINPUT_CREATED
           
static java.lang.String HTMLINPUT_FOLDERDESCRIPTION
           
static java.lang.String HTMLINPUT_FOLDERNAME
          Logging stuff
static java.lang.String JAVASCRIPT_CREATEFOLDER
           
static java.lang.String JAVASCRIPT_DO_ON_LOAD
           
static java.lang.String JAVASCRIPT_SUBMIT_BY_POST
           
static java.lang.String JAVASCRIPT_VALIDATE_FOLDER_NAME
           
protected  AActivitySpace m_asOwner
           
static java.lang.String STR_VIEW_STORAGE_NAME
           
 
Constructor Summary
CreateFolderView()
           
 
Method Summary
abstract  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.
abstract  java.lang.String GetBannerTitle()
           
abstract  int GetCreateFolderRepostAction()
           
abstract  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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_VIEW_STORAGE_NAME

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

HTMLINPUT_FOLDERNAME

public static final java.lang.String HTMLINPUT_FOLDERNAME
Logging stuff

See Also:
Constant Field Values

HTMLINPUT_FOLDERDESCRIPTION

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

HTMLBUTTON_EDITOR_FINISH

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

HTMLBUTTON_EDITOR_CANCEL

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

HTMLINPUT_CREATED

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

JAVASCRIPT_SUBMIT_BY_POST

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

JAVASCRIPT_CREATEFOLDER

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

JAVASCRIPT_VALIDATE_FOLDER_NAME

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

JAVASCRIPT_DO_ON_LOAD

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

HTMLFORM_CREATEFOLDER

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

m_asOwner

protected AActivitySpace m_asOwner
Constructor Detail

CreateFolderView

public CreateFolderView()
Method Detail

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 abstract 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)

Create

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

GetBannerTitle

public abstract java.lang.String GetBannerTitle()

GetCreateFolderRepostAction

public abstract int GetCreateFolderRepostAction()



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