@Dependent public class ServiceTaskUploadFormPresenter extends Object implements ServiceTaskUploadFormView.Presenter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CREATED |
protected static String |
SKIPPED |
static String |
UPLOAD_FAILED |
| Constructor and Description |
|---|
ServiceTaskUploadFormPresenter(ServiceTaskUploadFormView view,
org.jboss.errai.common.client.api.Caller<ServiceTaskService> serviceTaskService,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
org.jboss.errai.ioc.client.container.SyncBeanManager iocManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleSubmitComplete(org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitCompleteEvent event) |
void |
init() |
boolean |
isFileNameValid() |
com.google.gwt.user.client.Command |
onCloseCommand() |
void |
showView(com.google.gwt.user.client.Command onUploadCompleted) |
public static final String UPLOAD_FAILED
protected static final String CREATED
protected static final String SKIPPED
@Inject public ServiceTaskUploadFormPresenter(ServiceTaskUploadFormView view, org.jboss.errai.common.client.api.Caller<ServiceTaskService> serviceTaskService, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.jboss.errai.ioc.client.container.SyncBeanManager iocManager)
@PostConstruct public void init()
public void handleSubmitComplete(org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitCompleteEvent event)
handleSubmitComplete in interface ServiceTaskUploadFormView.Presenterpublic boolean isFileNameValid()
isFileNameValid in interface ServiceTaskUploadFormView.Presenterpublic void showView(com.google.gwt.user.client.Command onUploadCompleted)
public com.google.gwt.user.client.Command onCloseCommand()
onCloseCommand in interface ServiceTaskUploadFormView.PresenterCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.