com.arsdigita.cms.contenttypes.ui.mparticle
Class MultiPartArticleCreate

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.cms.contenttypes.ui.mparticle.MultiPartArticleForm
                  extended bycom.arsdigita.cms.contenttypes.ui.mparticle.MultiPartArticleCreate
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.cms.ui.authoring.CreationComponent, EventListener, com.arsdigita.bebop.event.FormInitListener, com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.bebop.event.FormValidationListener, com.arsdigita.util.Lockable

public class MultiPartArticleCreate
extends MultiPartArticleForm
implements com.arsdigita.bebop.event.FormInitListener, com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.bebop.event.FormValidationListener, com.arsdigita.cms.ui.authoring.CreationComponent

A form which will create a MultiPartArticle or one of its subclasses.

Version:
$Id: //cms/content-types/mparticle/dev/src/com/arsdigita/cms/contenttypes/ui/mparticle/MultiPartArticleCreate.java#6 $
Author:
Dave Turner

Field Summary
 
Fields inherited from class com.arsdigita.cms.contenttypes.ui.mparticle.MultiPartArticleForm
LANGUAGE, LAUNCH_DATE, m_itemModel, m_saveCancelSection, NAME, SUMMARY, TITLE
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel, versionId
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.event.FormInitListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormProcessListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormSubmissionListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormValidationListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.Container
versionId
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
MultiPartArticleCreate(com.arsdigita.cms.ItemSelectionModel itemModel, com.arsdigita.cms.ui.authoring.CreationSelector parent)
           
 
Method Summary
protected  void addWidgets()
           
 com.arsdigita.cms.ui.authoring.ApplyWorkflowFormSection getWorkflowSection()
          Return the ApplyWorkflowFormSection associated with this CreationComponent.
 void init(com.arsdigita.bebop.event.FormSectionEvent event)
           
 void process(com.arsdigita.bebop.event.FormSectionEvent e)
           
 void submitted(com.arsdigita.bebop.event.FormSectionEvent event)
           
 void validate(com.arsdigita.bebop.event.FormSectionEvent event)
           
 
Methods inherited from class com.arsdigita.cms.contenttypes.ui.mparticle.MultiPartArticleForm
addSaveCancelSection, createArticle, generateXML, getSaveCancelSection, initBasicWidgets, processBasicWidgets, validateNameUniqueness
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.cms.ui.authoring.CreationComponent
addSaveCancelSection, getSaveCancelSection, removeProcessListener
 
Methods inherited from interface com.arsdigita.bebop.Container
add, add, contains, get, indexOf, isEmpty, size
 
Methods inherited from interface com.arsdigita.bebop.Component
children, generateXML, getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, register, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Constructor Detail

MultiPartArticleCreate

public MultiPartArticleCreate(com.arsdigita.cms.ItemSelectionModel itemModel,
                              com.arsdigita.cms.ui.authoring.CreationSelector parent)
Method Detail

addWidgets

protected void addWidgets()
Overrides:
addWidgets in class MultiPartArticleForm

getWorkflowSection

public com.arsdigita.cms.ui.authoring.ApplyWorkflowFormSection getWorkflowSection()
Return the ApplyWorkflowFormSection associated with this CreationComponent.

Specified by:
getWorkflowSection in interface com.arsdigita.cms.ui.authoring.CreationComponent
Returns:
the ApplyWorkflowFormSection associated with this CreationComponent.

init

public void init(com.arsdigita.bebop.event.FormSectionEvent event)
          throws com.arsdigita.bebop.FormProcessException
Specified by:
init in interface com.arsdigita.bebop.event.FormInitListener
Specified by:
init in class MultiPartArticleForm
Throws:
com.arsdigita.bebop.FormProcessException

submitted

public void submitted(com.arsdigita.bebop.event.FormSectionEvent event)
               throws com.arsdigita.bebop.FormProcessException
Specified by:
submitted in interface com.arsdigita.bebop.event.FormSubmissionListener
Throws:
com.arsdigita.bebop.FormProcessException

validate

public void validate(com.arsdigita.bebop.event.FormSectionEvent event)
              throws com.arsdigita.bebop.FormProcessException
Specified by:
validate in interface com.arsdigita.bebop.event.FormValidationListener
Specified by:
validate in class MultiPartArticleForm
Throws:
com.arsdigita.bebop.FormProcessException

process

public void process(com.arsdigita.bebop.event.FormSectionEvent e)
             throws com.arsdigita.bebop.FormProcessException
Specified by:
process in interface com.arsdigita.bebop.event.FormProcessListener
Specified by:
process in class MultiPartArticleForm
Throws:
com.arsdigita.bebop.FormProcessException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:0019 UTC