public class ImportDialog extends BaseDialogBean
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
ImportDialog() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancel()
Action called when the dialog is cancelled, just resets the bean's state
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.action.ActionService |
getActionService() |
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog
|
protected org.alfresco.service.cmr.repository.ContentService |
getContentService() |
java.lang.String |
getEncoding()
Returns the encoding to use for the export
|
java.lang.String |
getFileName() |
java.lang.String |
getFileUploadSuccessMsg() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
java.lang.String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
protected org.alfresco.service.cmr.repository.MimetypeService |
getMimetypeService() |
boolean |
getRunInBackground()
Determines whether the import should run in the background
|
java.lang.String |
performImport(javax.faces.context.FacesContext context,
java.lang.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(java.lang.String encoding)
Sets the encoding to use for the export package
|
void |
setFileName(java.lang.String fileName) |
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 java.lang.String performImport(javax.faces.context.FacesContext context,
java.lang.String outcome)
public java.lang.String cancel()
cancel in interface IDialogBeancancel in class BaseDialogBeanpublic void reset()
public java.lang.String getFileUploadSuccessMsg()
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - The name of the filepublic java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding - The encodingpublic boolean getRunInBackground()
public void setRunInBackground(boolean runInBackground)
runInBackground - true to run the import in the backgroundpublic 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 java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getFinishButtonLabel()
IDialogBeangetFinishButtonLabel in interface IDialogBeangetFinishButtonLabel in class BaseDialogBeanpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.