public class ImportWebsiteDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected AVMBrowseBean |
avmBrowseBean |
protected java.io.File |
file |
protected java.lang.String |
fileName |
protected boolean |
highByteZip |
protected boolean |
isFinished |
browseBean, navigator, parameters
Constructor and Description |
---|
ImportWebsiteDialog() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cancel()
Action handler called when the dialog is cancelled
|
protected void |
clearUpload()
Deletes the uploaded file and removes the FileUploadBean from the session
|
java.lang.String |
finish()
Action handler called when the Finish button is pressed
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.wcm.asset.AssetService |
getAssetService() |
java.lang.String |
getFileName() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
boolean |
isHighByteZip() |
java.lang.String |
removeUploadedFile()
Action handler called when the user wishes to remove an uploaded file
|
void |
setAssetService(org.alfresco.wcm.asset.AssetService assetService) |
void |
setAvmBrowseBean(AVMBrowseBean avmBrowseBean) |
void |
setFileName(java.lang.String fileName) |
void |
setHighByteZip(boolean highByteZip) |
void |
start(javax.faces.event.ActionEvent event)
Action listener called when the add content dialog is called
|
doPostCommitProcessing, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected java.io.File file
protected java.lang.String fileName
protected boolean isFinished
protected boolean highByteZip
protected AVMBrowseBean avmBrowseBean
public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
avmBrowseBean
- The AVMBrowseBean to set.public void setAssetService(org.alfresco.wcm.asset.AssetService assetService)
avmService
- The AssetService to set.protected org.alfresco.wcm.asset.AssetService getAssetService()
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- The name of the filepublic boolean isHighByteZip()
public void setHighByteZip(boolean highByteZip)
highByteZip
- the encoding switch for high-byte ZIP filenames to setpublic boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public void start(javax.faces.event.ActionEvent event)
public java.lang.String finish()
finish
in interface IDialogBean
finish
in class BaseDialogBean
public java.lang.String removeUploadedFile()
public java.lang.String cancel()
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
protected void clearUpload()
protected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomejava.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.