public class ImportDialog extends BaseDialogBean
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
ImportDialog() |
| Modifier and Type | Method and Description |
|---|---|
String |
cancel()
Action called when the dialog is cancelled, just resets the bean's state
|
protected String |
finishImpl(javax.faces.context.FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.action.ActionService |
getActionService() |
String |
getContainerTitle()
Returns the title to be used for the dialog
|
protected org.alfresco.service.cmr.repository.ContentService |
getContentService() |
String |
getEncoding() |
List<javax.faces.model.SelectItem> |
getEncodings() |
String |
getFileName() |
String |
getFileUploadSuccessMsg() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
boolean |
getHighByteZip() |
protected org.alfresco.service.cmr.repository.MimetypeService |
getMimetypeService() |
boolean |
getRunInBackground()
Determines whether the import should run in the background
|
String |
performImport(javax.faces.context.FacesContext context,
String outcome)
Performs the import operation using the current state of the bean
|
void |
reset()
Resets the dialog state back to the default
|
void |
setActionService(org.alfresco.service.cmr.action.ActionService actionService)
Sets the action service
|
void |
setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
Sets the content service
|
void |
setEncoding(String encoding) |
void |
setFileName(String fileName) |
void |
setHighByteZip(boolean highByteZip) |
void |
setMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)
Sets the mimetype sevice
|
void |
setRunInBackground(boolean runInBackground)
Determines whether the import will run in the background
|
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, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic String performImport(javax.faces.context.FacesContext context, String outcome)
public String cancel()
cancel in interface IDialogBeancancel in class BaseDialogBeanpublic void reset()
public String getFileUploadSuccessMsg()
public String getFileName()
public void setFileName(String fileName)
fileName - The name of the filepublic boolean getRunInBackground()
public void setRunInBackground(boolean runInBackground)
runInBackground - true to run the import in the backgroundpublic boolean getHighByteZip()
public void setHighByteZip(boolean highByteZip)
highByteZip - the encoding switch for high-byte ZIP filenames to setpublic void setActionService(org.alfresco.service.cmr.action.ActionService actionService)
actionService - the action serviceprotected org.alfresco.service.cmr.action.ActionService getActionService()
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
contentService - the content serviceprotected org.alfresco.service.cmr.repository.ContentService getContentService()
public void setMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)
mimetypeService - the mimetype serviceprotected org.alfresco.service.cmr.repository.MimetypeService getMimetypeService()
protected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic String getFinishButtonLabel()
IDialogBeangetFinishButtonLabel in interface IDialogBeangetFinishButtonLabel in class BaseDialogBeanpublic String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic String getEncoding()
public void setEncoding(String encoding)
encoding - the document's encodingpublic List<javax.faces.model.SelectItem> getEncodings()
Copyright © 2005–2018 Alfresco Software. All rights reserved.