public class UploadNewVersionDialog extends DoneEditingDialog
FILE, MSG_ERROR_CANCELCHECKOUT, MSG_ERROR_CHECKIN, MSG_ERROR_CHECKOUT, MSG_ERROR_UPDATE, propertybrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
UploadNewVersionDialog() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.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, setupContentActioncancel, checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, isVersionable, removeUploadedFile, setBrowseBean, setFileName, setNavigator, setProperty, setupContentDocument, setupWorkflowContentAction, undoCheckout, updateFileOKdoPostCommitProcessing, 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, setSearchServicepublic void setFinishedEditing(boolean finished)
public boolean isFinishedEditing()
public boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class DoneEditingDialogpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class DoneEditingDialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class DoneEditingDialogcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic void resetState()
CheckinCheckoutDialogresetState in class DoneEditingDialogCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.