public class UploadNewVersionDialog extends DoneEditingDialog
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_CHECKOUT, MSG_ERROR_UPDATE, property
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
UploadNewVersionDialog() |
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
|
boolean |
isFinishedEditing() |
void |
resetState()
Clear form state and upload file bean
|
void |
setFinishedEditing(boolean finished) |
getFinishButtonLabel, getMajorNewVersionLabel, getMinorNewVersionLabel, handle, isSourceFound, isSourceVersionable, setupContentAction
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 void setFinishedEditing(boolean finished)
public boolean isFinishedEditing()
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class DoneEditingDialog
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 DoneEditingDialog
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class DoneEditingDialog
context
- FacesContextoutcome
- The default outcomeException
public void resetState()
CheckinCheckoutDialog
resetState
in class DoneEditingDialog
Copyright © 2005–2017 Alfresco Software. All rights reserved.