|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wizard.BaseWizardBean
org.alfresco.web.bean.content.BaseContentWizard
org.alfresco.web.bean.content.CreateContentWizard
org.alfresco.web.bean.content.EditContentWizard
public class EditContentWizard
Bean implementation for the "Edit Content Wizard" dialog
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 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 |
---|
public EditContentWizard()
Method Detail |
---|
public void init(java.util.Map parameters)
IDialogBean
init
in interface IDialogBean
init
in class CreateContentWizard
parameters
- Map of parameters for the dialogpublic java.lang.String back()
IWizardBean
back
in interface IWizardBean
back
in class BaseWizardBean
protected void saveContent(java.io.File fileContent, java.lang.String strContent) throws java.lang.Exception
BaseContentWizard
saveContent
in class BaseContentWizard
fileContent
- File content to savestrContent
- String content to save
java.lang.Exception
protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context, java.lang.String outcome)
BaseDialogBean
doPostCommitProcessing
in class CreateContentWizard
context
- FacesContextoutcome
- The default outcome
public Form getForm()
getForm
in class CreateContentWizard
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |