|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wcm.ImportWebsiteDialog
public class ImportWebsiteDialog
Backing bean for the Import Website Content dialog. This dialog manages the upload of a ZIP archive file, which is then unpacked and loaded into the AVM store with the complete folder and file structure.
Field Summary | |
---|---|
protected AVMBrowseBean |
avmBrowseBean
|
protected java.io.File |
file
|
protected java.lang.String |
fileName
|
protected boolean |
highByteZip
|
protected boolean |
isFinished
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, navigator, parameters |
Constructor Summary | |
---|---|
ImportWebsiteDialog()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File file
protected java.lang.String fileName
protected boolean isFinished
protected boolean highByteZip
protected AVMBrowseBean avmBrowseBean
Constructor Detail |
---|
public ImportWebsiteDialog()
Method Detail |
---|
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 outcome
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |