public class DoneEditingDialog extends CheckinCheckoutDialog
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_CHECKOUT, MSG_ERROR_UPDATE, property
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
DoneEditingDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getContainerTitle()
Returns the title to be used for the dialog
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
String |
getMajorNewVersionLabel() |
String |
getMinorNewVersionLabel() |
void |
handle(ActionEvent event)
Method for handling done-editing action(e.g.
|
boolean |
isSourceFound() |
boolean |
isSourceVersionable() |
void |
resetState()
Clear form state and upload file bean
|
void |
setupContentAction(ActionEvent event)
Action event called by all actions that need to setup a Content Document context on the
CheckinCheckoutDialog before an action page/wizard is called.
|
cancel, checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, isVersionable, removeUploadedFile, setBrowseBean, setFileName, setNavigator, setProperty, setupContentDocument, setupWorkflowContentAction, undoCheckout, updateFileOK
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setSearchService
public String getMajorNewVersionLabel()
public String getMinorNewVersionLabel()
public boolean isSourceVersionable()
public boolean isSourceFound()
public void handle(ActionEvent event)
event
- Action Eventpublic void setupContentAction(ActionEvent event)
CheckinCheckoutDialog
setupContentAction
in class CheckinCheckoutDialog
event
- ActionEventpublic String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class CheckinCheckoutDialog
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class CheckinCheckoutDialog
public String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class CheckinCheckoutDialog
public void resetState()
CheckinCheckoutDialog
resetState
in class CheckinCheckoutDialog
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class CheckinCheckoutDialog
context
- FacesContextoutcome
- The default outcomeException
Copyright © 2005–2017 Alfresco Software. All rights reserved.