public class CreateWebContentWizard extends CreateContentWizard
| Modifier and Type | Field and Description |
|---|---|
protected AVMBrowseBean |
avmBrowseBean |
protected java.lang.String |
createdPath |
protected FilePickerBean |
filePickerBean |
protected java.lang.String |
formDescriptionAttribute |
protected FormInstanceData |
formInstanceData |
protected boolean |
formSelectDisabled |
protected java.util.List |
renditions |
protected boolean |
startWorkflow |
content, createMimeTypes, formName, formProcessorSession, formsService, instanceDataDocumentauthor, createdNode, description, encoding, fileName, inlineEdit, mimeType, MSG_NODE_LOCKED, objectType, objectTypes, otherPropertiesChoiceVisible, showOtherProperties, titlebrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
CreateWebContentWizard() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
back()
Called when the back button is pressed by the user
|
void |
createContentChanged(javax.faces.event.ValueChangeEvent event)
Create content type value changed by the user
|
protected java.lang.String |
doPostCommitProcessing(javax.faces.context.FacesContext facesContext,
java.lang.String outcome)
Performs any post commit processing subclasses may want to provide
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.avm.locking.AVMLockingService |
getAvmLockingService() |
protected org.alfresco.service.cmr.avm.AVMService |
getAvmService() |
protected org.alfresco.service.cmr.avmsync.AVMSyncService |
getAvmSyncService() |
java.lang.String |
getAvmWebappName()
Provides the url to the preview sandbox containing the asset currently being edited.
|
java.lang.String |
getAvmWebappPrefix()
Provides name of current WCM webApp folder.
|
java.lang.String |
getContent() |
java.util.List |
getCreateMimeTypes() |
boolean |
getEditMode() |
java.lang.String |
getFileName()
Overrides in order to strip an xml extension if the user entered it
|
Form |
getForm() |
java.util.List |
getFormChoices() |
java.lang.String |
getFormDescriptionAttribute() |
FormInstanceData |
getFormInstanceData()
Returns the generated form instance data.
|
java.lang.String |
getFormLabelAttribute() |
java.lang.String |
getFormName() |
boolean |
getFormSelectDisabled() |
java.util.List |
getFormsList() |
protected FormsService |
getFormsService() |
org.w3c.dom.Document |
getInstanceDataDocument() |
boolean |
getNextButtonDisabled()
Determines whether the next button on the wizard should be disabled
|
int |
getNumberOfSubmittableFiles()
Returns the number of submittable files which is the total number of uploaded files, renditions, and the form instance data.
|
java.lang.String |
getPreviewSandboxUrl()
Provides path to current WCM webApp folder.
|
java.util.List |
getRenditions()
Returns the generated renditions
|
boolean |
getStartWorkflow() |
boolean |
getSubmittable() |
java.lang.String |
getSummary() |
java.util.List |
getUploadedFiles()
Returns the files uploaded using the form
|
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
java.lang.String |
next()
Called when the next button is pressed by the user
|
protected void |
saveContent()
Save the specified content using the currently set wizard attributes
|
void |
setAvmBrowseBean(AVMBrowseBean avmBrowseBean) |
void |
setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService avmLockingService) |
void |
setAvmService(org.alfresco.service.cmr.avm.AVMService avmService) |
void |
setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService) |
void |
setContent(java.lang.String content) |
void |
setFilePickerBean(FilePickerBean filePickerBean) |
void |
setFormName(java.lang.String formName) |
void |
setFormSelectDisabled(boolean formSelectDisabled) |
void |
setFormsService(FormsService formsService) |
void |
setStartWorkflow(boolean startWorkflow) |
finish, formatErrorMessage, getFinishButtonDisabled, getFormProcessorSession, setFormProcessorSessiongetAuthor, getContentService, getDescription, getEncoding, getEncodings, getMimeType, getObjectType, getObjectTypes, getOtherPropertiesChoiceVisible, getShowOtherProperties, getSummaryMimeType, getSummaryObjectType, getTitle, initOtherProperties, isInlineEdit, saveContent, setAuthor, setContentService, setDescription, setEncoding, setFileName, setInlineEdit, setMimeType, setObjectType, setShowOtherProperties, setTitlebuildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonLabel, getStepDescription, getStepTitlecancel, 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 createdPath
protected java.util.List renditions
protected FormInstanceData formInstanceData
protected boolean formSelectDisabled
protected boolean startWorkflow
protected java.lang.String formDescriptionAttribute
protected AVMBrowseBean avmBrowseBean
protected FilePickerBean filePickerBean
public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
avmService - The AVMService to set.protected org.alfresco.service.cmr.avm.AVMService getAvmService()
public void setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService avmLockingService)
avmLockingService - The AVMLockingService to set.protected org.alfresco.service.cmr.avm.locking.AVMLockingService getAvmLockingService()
public void setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService)
avmSyncService - The AVMSyncService to set.protected org.alfresco.service.cmr.avmsync.AVMSyncService getAvmSyncService()
public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
avmBrowseBean - The AVMBrowseBean to set.public void setFilePickerBean(FilePickerBean filePickerBean)
filePickerBean - The FilePickerBean to set.public void setFormsService(FormsService formsService)
setFormsService in class CreateContentWizardformsService - The FormsService to set.protected FormsService getFormsService()
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class CreateContentWizardparameters - Map of parameters for the dialogpublic java.lang.String next()
IWizardBeannext in interface IWizardBeannext in class BaseWizardBeanpublic java.lang.String back()
IWizardBeanback in interface IWizardBeanback in class BaseWizardBeanprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class CreateContentWizardcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionprotected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext facesContext,
java.lang.String outcome)
BaseDialogBeandoPostCommitProcessing in class CreateContentWizardfacesContext - FacesContextoutcome - The default outcomepublic boolean getNextButtonDisabled()
IWizardBeangetNextButtonDisabled in interface IWizardBeangetNextButtonDisabled in class CreateContentWizardprotected void saveContent()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getFileName()
getFileName in class CreateContentWizardpublic java.lang.String getContent()
getContent in class CreateContentWizardpublic void setContent(java.lang.String content)
setContent in class CreateContentWizardcontent - The content to edit (should be clear initially)public java.util.List getFormChoices()
public java.util.List getCreateMimeTypes()
getCreateMimeTypes in class CreateContentWizardpublic java.lang.String getFormName()
getFormName in class CreateContentWizardpublic Form getForm() throws FormNotFoundException
getForm in class CreateContentWizardFormNotFoundExceptionpublic void setFormName(java.lang.String formName)
setFormName in class CreateContentWizardform - Sets the currently selected formpublic org.w3c.dom.Document getInstanceDataDocument()
getInstanceDataDocument in class CreateContentWizardpublic java.util.List getFormsList()
getFormsList in class CreateContentWizardpublic FormInstanceData getFormInstanceData()
public java.util.List getRenditions()
public java.util.List getUploadedFiles()
public int getNumberOfSubmittableFiles()
public boolean getFormSelectDisabled()
public void setFormSelectDisabled(boolean formSelectDisabled)
public void setStartWorkflow(boolean startWorkflow)
public boolean getStartWorkflow()
public boolean getSubmittable()
public java.lang.String getPreviewSandboxUrl()
public java.lang.String getAvmWebappPrefix()
public java.lang.String getAvmWebappName()
public java.lang.String getSummary()
getSummary in class CreateContentWizardpublic boolean getEditMode()
public java.lang.String getFormDescriptionAttribute()
public java.lang.String getFormLabelAttribute()
public void createContentChanged(javax.faces.event.ValueChangeEvent event)
createContentChanged in class CreateContentWizardCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.