org.alfresco.web.bean.wcm
Class EditWebContentWizard

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wizard.BaseWizardBean
          extended by org.alfresco.web.bean.content.BaseContentWizard
              extended by org.alfresco.web.bean.content.CreateContentWizard
                  extended by org.alfresco.web.bean.wcm.CreateWebContentWizard
                      extended by org.alfresco.web.bean.wcm.EditWebContentWizard
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean

public class EditWebContentWizard
extends CreateWebContentWizard

Bean implementation for the "Edit Web Content Wizard" dialog

See Also:
Serialized Form

Field Summary
protected  java.util.Set existingLocks
           
 
Fields inherited from class org.alfresco.web.bean.wcm.CreateWebContentWizard
avmBrowseBean, createdPath, filePickerBean, formDescriptionAttribute, formInstanceData, formSelectDisabled, renditions, startWorkflow
 
Fields inherited from class org.alfresco.web.bean.content.CreateContentWizard
content, createMimeTypes, formName, formProcessorSession, formsService, instanceDataDocument
 
Fields inherited from class org.alfresco.web.bean.content.BaseContentWizard
author, createdNode, description, encoding, fileName, inlineEdit, mimeType, MSG_NODE_LOCKED, objectType, objectTypes, otherPropertiesChoiceVisible, showOtherProperties, title
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
EditWebContentWizard()
           
 
Method Summary
 java.lang.String back()
          Called when the back button is pressed by the user
 java.lang.String cancel()
          Method handler called when the cancel button of the dialog is pressed
 boolean getEditMode()
          Indicates whether or not the wizard is currently in edit mode
 Form getForm()
          Overridden to avoid calling getWebProject since potentially there is no web project context in workflow scenario.
 boolean getSubmittable()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
protected  void saveContent()
          Save the specified content using the currently set wizard attributes
 
Methods inherited from class org.alfresco.web.bean.wcm.CreateWebContentWizard
createContentChanged, doPostCommitProcessing, finishImpl, getAvmLockingService, getAvmService, getAvmSyncService, getAvmWebappName, getAvmWebappPrefix, getContent, getCreateMimeTypes, getFileName, getFormChoices, getFormDescriptionAttribute, getFormInstanceData, getFormLabelAttribute, getFormName, getFormSelectDisabled, getFormsList, getFormsService, getInstanceDataDocument, getNextButtonDisabled, getNumberOfSubmittableFiles, getPreviewSandboxUrl, getRenditions, getStartWorkflow, getSummary, getUploadedFiles, next, setAvmBrowseBean, setAvmLockingService, setAvmService, setAvmSyncService, setContent, setFilePickerBean, setFormName, setFormSelectDisabled, setFormsService, setStartWorkflow
 
Methods inherited from class org.alfresco.web.bean.content.CreateContentWizard
finish, formatErrorMessage, getFinishButtonDisabled, getFormProcessorSession, setFormProcessorSession
 
Methods inherited from class org.alfresco.web.bean.content.BaseContentWizard
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, setTitle
 
Methods inherited from class org.alfresco.web.bean.wizard.BaseWizardBean
buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonLabel, getStepDescription, getStepTitle
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
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, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.web.bean.dialog.IDialogBean
getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored
 

Field Detail

existingLocks

protected java.util.Set existingLocks
Constructor Detail

EditWebContentWizard

public EditWebContentWizard()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class CreateWebContentWizard
Parameters:
parameters - Map of parameters for the dialog

cancel

public java.lang.String cancel()
Description copied from interface: IDialogBean
Method handler called when the cancel button of the dialog is pressed

Specified by:
cancel in interface IDialogBean
Overrides:
cancel in class BaseDialogBean
Returns:
The outcome to return

back

public java.lang.String back()
Description copied from interface: IWizardBean
Called when the back button is pressed by the user

Specified by:
back in interface IWizardBean
Overrides:
back in class CreateWebContentWizard
Returns:
Reserved for future use

saveContent

protected void saveContent()
                    throws java.lang.Exception
Description copied from class: CreateWebContentWizard
Save the specified content using the currently set wizard attributes

Overrides:
saveContent in class CreateWebContentWizard
Throws:
java.lang.Exception

getEditMode

public boolean getEditMode()
Indicates whether or not the wizard is currently in edit mode

Overrides:
getEditMode in class CreateWebContentWizard

getSubmittable

public boolean getSubmittable()
Overrides:
getSubmittable in class CreateWebContentWizard

getForm

public Form getForm()
Overridden to avoid calling getWebProject since potentially there is no web project context in workflow scenario.

Overrides:
getForm in class CreateWebContentWizard


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.