org.alfresco.web.bean.content
Class EditContentWizard

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.content.EditContentWizard
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean

public class EditContentWizard
extends CreateContentWizard

Bean implementation for the "Edit Content Wizard" dialog

See Also:
Serialized Form

Field Summary
 
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
EditContentWizard()
           
 
Method Summary
 java.lang.String back()
          Called when the back button is pressed 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
 Form getForm()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
protected  void saveContent(java.io.File fileContent, java.lang.String strContent)
          Save the specified content using the currently set wizard attributes
 
Methods inherited from class org.alfresco.web.bean.content.CreateContentWizard
createContentChanged, finish, finishImpl, formatErrorMessage, getContent, getCreateMimeTypes, getFileName, getFinishButtonDisabled, getFormName, getFormProcessorSession, getFormsList, getInstanceDataDocument, getNextButtonDisabled, getSummary, setContent, setFormName, setFormProcessorSession, setFormsService
 
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, 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, next
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, 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
cancel, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored
 

Constructor Detail

EditContentWizard

public EditContentWizard()
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 CreateContentWizard
Parameters:
parameters - Map of parameters for the dialog

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 BaseWizardBean
Returns:
Reserved for future use

saveContent

protected void saveContent(java.io.File fileContent,
                           java.lang.String strContent)
                    throws java.lang.Exception
Description copied from class: BaseContentWizard
Save the specified content using the currently set wizard attributes

Overrides:
saveContent in class BaseContentWizard
Parameters:
fileContent - File content to save
strContent - String content to save
Throws:
java.lang.Exception

doPostCommitProcessing

protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
                                                  java.lang.String outcome)
Description copied from class: BaseDialogBean
Performs any post commit processing subclasses may want to provide

Overrides:
doPostCommitProcessing in class CreateContentWizard
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome

getForm

public Form getForm()
Overrides:
getForm in class CreateContentWizard


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