public class EditContentPropertiesDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected Node |
editableNode |
protected static String |
TEMP_PROP_ENCODING |
protected static String |
TEMP_PROP_MIMETYPE |
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
EditContentPropertiesDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
doPostCommitProcessing(FacesContext context,
String outcome)
Performs any post commit processing subclasses may want to provide
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected String |
formatErrorMessage(Throwable exception)
Formats the error message to display if an error occurs during finish processing
|
Node |
getEditableNode()
Returns the node being edited
|
protected String |
getErrorOutcome(Throwable exception)
The outcome to return if the given exception occurs
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
protected Node |
initEditableNode()
Init the editable Node
|
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected static final String TEMP_PROP_MIMETYPE
protected static final String TEMP_PROP_ENCODING
protected Node editableNode
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected Node initEditableNode()
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
protected String doPostCommitProcessing(FacesContext context, String outcome)
BaseDialogBean
doPostCommitProcessing
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeprotected String formatErrorMessage(Throwable exception)
formatErrorMessage
in class BaseDialogBean
exception
- The exceptionprotected String getErrorOutcome(Throwable exception)
BaseDialogBean
getErrorOutcome
in class BaseDialogBean
exception
- The exception that got thrownpublic boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public Node getEditableNode()
Copyright © 2005–2017 Alfresco Software. All rights reserved.