|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.FormSection
com.arsdigita.cms.ui.authoring.ApplyWorkflowFormSection
A FormSection which will allow users with SecrityConstants.APPLY_ALTERNATE_WORFLOWS permission to choose a different workflow to apply to a new item.
Field Summary |
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.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
Constructor Summary | |
ApplyWorkflowFormSection()
Construct a new ApplyWorkflowFormSection |
|
ApplyWorkflowFormSection(ContentType type)
Construct a new ApplyWorkflowFormSection |
|
ApplyWorkflowFormSection(ContentType type,
com.arsdigita.bebop.Container panel)
Construct a new ApplyWorkflowFormSection |
Method Summary | |
void |
applyWorkflow(com.arsdigita.bebop.PageState state,
ContentItem item)
Apply the proper initial workflow to the item. |
void |
init(com.arsdigita.bebop.event.FormSectionEvent e)
Initializes the workflow selection widget to the default workflow for the content type. |
boolean |
isVisible(com.arsdigita.bebop.PageState state)
Whether or not this component is visible. |
void |
setContentType(ContentType contentType)
Sets the ContentType for the creation component. |
void |
setCreationSelector(CreationSelector creationSelector)
Sets the CreationSelector which should be the same as that of the creation component. |
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, generateXML, 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, 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.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked |
Constructor Detail |
public ApplyWorkflowFormSection()
public ApplyWorkflowFormSection(ContentType type)
public ApplyWorkflowFormSection(ContentType type, com.arsdigita.bebop.Container panel)
panel
- Container to use for this FormSectionMethod Detail |
public void init(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
init
in interface com.arsdigita.bebop.event.FormInitListener
com.arsdigita.bebop.FormProcessException
public void setCreationSelector(CreationSelector creationSelector)
creationSelector
- CreationSelector to use for this FormSectionpublic void setContentType(ContentType contentType)
contentType
- ContentType to use for this FormSectionpublic boolean isVisible(com.arsdigita.bebop.PageState state)
isVisible
in interface com.arsdigita.bebop.Component
state
- The PageStatepublic void applyWorkflow(com.arsdigita.bebop.PageState state, ContentItem item)
state
- The PageStateitem
- The new ContentItem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |