org.alfresco.web.bean.coci
Class UploadNewVersionDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.coci.CheckinCheckoutDialog
org.alfresco.web.bean.coci.DoneEditingDialog
org.alfresco.web.bean.coci.UploadNewVersionDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class UploadNewVersionDialog
- extends DoneEditingDialog
Dialog supporting the Upload New Version action on a working copy node.
- See Also:
- Serialized Form
Method Summary |
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)
|
Methods inherited from class org.alfresco.web.bean.coci.CheckinCheckoutDialog |
cancel, checkinFileOK, clearUpload, editFile, editInline, getBrowseBean, getFileName, getFileUploadSuccessMsg, isVersionable, removeUploadedFile, setBrowseBean, setFileName, setNavigator, setProperty, setupContentDocument, setupWorkflowContentAction, undoCheckout, updateFileOK |
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploadNewVersionDialog
public UploadNewVersionDialog()
setFinishedEditing
public void setFinishedEditing(boolean finished)
isFinishedEditing
public boolean isFinishedEditing()
getFinishButtonDisabled
public boolean getFinishButtonDisabled()
- Description copied from interface:
IDialogBean
- Determines whether the finish button on the dialog should be disabled
- Specified by:
getFinishButtonDisabled
in interface IDialogBean
- Overrides:
getFinishButtonDisabled
in class DoneEditingDialog
- Returns:
- true if the button should be disabled
getContainerTitle
public java.lang.String getContainerTitle()
- Description copied from interface:
IDialogBean
- Returns the title to be used for the dialog
If this returns null the DialogManager will
lookup the title via the dialog configuration
- Specified by:
getContainerTitle
in interface IDialogBean
- Overrides:
getContainerTitle
in class DoneEditingDialog
- Returns:
- The title or null if the title is to be acquired via configuration
finishImpl
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
- Description copied from class:
BaseDialogBean
- Performs the actual processing for the wizard.
NOTE: This method is called within the context of a transaction
so no transaction handling is required
- Overrides:
finishImpl
in class DoneEditingDialog
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
resetState
public void resetState()
- Description copied from class:
CheckinCheckoutDialog
- Clear form state and upload file bean
- Overrides:
resetState
in class DoneEditingDialog
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.