public class CreateContentWizard extends BaseContentWizard
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
content |
protected java.util.List |
createMimeTypes |
protected java.lang.String |
formName |
protected FormProcessor.Session |
formProcessorSession |
protected FormsService |
formsService |
protected org.w3c.dom.Document |
instanceDataDocument |
author, createdNode, description, encoding, fileName, inlineEdit, mimeType, MSG_NODE_LOCKED, objectType, objectTypes, otherPropertiesChoiceVisible, showOtherProperties, titlebrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
CreateContentWizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
createContentChanged(javax.faces.event.ValueChangeEvent event)
Create content type value changed by the user
|
protected java.lang.String |
doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs any post commit processing subclasses may want to provide
|
java.lang.String |
finish()
Method handler called when the finish button of the dialog is pressed
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected java.lang.String |
formatErrorMessage(java.lang.Throwable exception)
Returns a formatted exception string for the given exception
|
java.lang.String |
getContent() |
java.util.List |
getCreateMimeTypes() |
java.lang.String |
getFileName()
Overrides in order to strip an xml extension if the user entered it
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
Form |
getForm() |
java.lang.String |
getFormName() |
FormProcessor.Session |
getFormProcessorSession() |
java.util.List |
getFormsList() |
org.w3c.dom.Document |
getInstanceDataDocument() |
boolean |
getNextButtonDisabled()
Determines whether the next button on the wizard should be disabled
|
java.lang.String |
getSummary() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
void |
setContent(java.lang.String content) |
void |
setFormName(java.lang.String formName) |
void |
setFormProcessorSession(FormProcessor.Session formProcessorSession) |
void |
setFormsService(FormsService formsService) |
getAuthor, getContentService, getDescription, getEncoding, getEncodings, getMimeType, getObjectType, getObjectTypes, getOtherPropertiesChoiceVisible, getShowOtherProperties, getSummaryMimeType, getSummaryObjectType, getTitle, initOtherProperties, isInlineEdit, saveContent, setAuthor, setContentService, setDescription, setEncoding, setFileName, setInlineEdit, setMimeType, setObjectType, setShowOtherProperties, setTitleback, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonLabel, getStepDescription, getStepTitle, nextcancel, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restoredprotected java.lang.String content
protected java.util.List createMimeTypes
protected transient FormsService formsService
protected java.lang.String formName
protected FormProcessor.Session formProcessorSession
protected transient org.w3c.dom.Document instanceDataDocument
public void setFormsService(FormsService formsService)
formsService - The FormsService to set.public java.lang.String finish()
IDialogBeanfinish in interface IDialogBeanfinish in class BaseDialogBeanprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseContentWizardparameters - Map of parameters for the dialogpublic boolean getNextButtonDisabled()
IWizardBeangetNextButtonDisabled in interface IWizardBeangetNextButtonDisabled in class BaseWizardBeanpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseContentWizardprotected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
BaseDialogBeandoPostCommitProcessing in class BaseDialogBeancontext - FacesContextoutcome - The default outcomepublic java.lang.String getContent()
public void setContent(java.lang.String content)
content - The content to edit (should be clear initially)public java.util.List getCreateMimeTypes()
public java.lang.String getSummary()
public java.util.List getFormsList()
public java.lang.String getFormName()
public void setFormName(java.lang.String formName)
public Form getForm() throws FormNotFoundException
FormNotFoundExceptionpublic FormProcessor.Session getFormProcessorSession()
public void setFormProcessorSession(FormProcessor.Session formProcessorSession)
public org.w3c.dom.Document getInstanceDataDocument()
public java.lang.String getFileName()
getFileName in class BaseContentWizardpublic void createContentChanged(javax.faces.event.ValueChangeEvent event)
protected java.lang.String formatErrorMessage(java.lang.Throwable exception)
BaseDialogBeanformatErrorMessage in class BaseDialogBeanexception - The exception that got thrownCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.