public class CreateContentWizard extends BaseContentWizard
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected List<javax.faces.model.SelectItem> |
createMimeTypes |
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 String |
doPostCommitProcessing(javax.faces.context.FacesContext context,
String outcome)
Performs any post commit processing subclasses may want to provide
|
String |
finish()
Method handler called when the finish button of the dialog is pressed
|
protected String |
finishImpl(javax.faces.context.FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected String |
formatErrorMessage(Throwable exception)
Returns a formatted exception string for the given exception
|
String |
getContent() |
List<javax.faces.model.SelectItem> |
getCreateMimeTypes() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
boolean |
getNextButtonDisabled()
Determines whether the next button on the wizard should be disabled
|
String |
getSummary() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setContent(String content) |
getAuthor, getContentService, getDescription, getEncoding, getEncodings, getFileName, getMimeType, getObjectType, getObjectTypes, getOtherPropertiesChoiceVisible, getShowOtherProperties, getSummaryMimeType, getSummaryObjectType, getTitle, getTransactionService, 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, 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 String content
protected List<javax.faces.model.SelectItem> createMimeTypes
public String finish()
IDialogBeanfinish in interface IDialogBeanfinish in class BaseDialogBeanprotected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic void init(Map<String,String> 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 String doPostCommitProcessing(javax.faces.context.FacesContext context, String outcome)
BaseDialogBeandoPostCommitProcessing in class BaseDialogBeancontext - FacesContextoutcome - The default outcomepublic String getContent()
public void setContent(String content)
content - The content to edit (should be clear initially)public List<javax.faces.model.SelectItem> getCreateMimeTypes()
public String getSummary()
public void createContentChanged(javax.faces.event.ValueChangeEvent event)
protected String formatErrorMessage(Throwable exception)
BaseDialogBeanformatErrorMessage in class BaseDialogBeanexception - The exception that got thrownCopyright © 2005–2018 Alfresco Software. All rights reserved.