|
|||||||||
| 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.admin.ImportDialog
public class ImportDialog
Backing bean implementation for the Import dialog.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
ImportDialog()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportDialog()
| Method Detail |
|---|
public 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
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel 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 BaseDialogBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||