Class ServiceTaskUploadFormPresenter
- java.lang.Object
-
- org.jbpm.workbench.wi.client.workitem.ServiceTaskUploadFormPresenter
-
- All Implemented Interfaces:
ServiceTaskUploadFormView.Presenter
@Dependent public class ServiceTaskUploadFormPresenter extends Object implements ServiceTaskUploadFormView.Presenter
-
-
Constructor Summary
Constructors Constructor Description ServiceTaskUploadFormPresenter(ServiceTaskUploadFormView view, org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.wi.workitems.service.ServiceTaskService> serviceTaskService, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.jboss.errai.ioc.client.container.SyncBeanManager iocManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleSubmitComplete(org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitCompleteEvent event)voidinit()booleanisFileNameValid()com.google.gwt.user.client.CommandonCloseCommand()voidshowView(com.google.gwt.user.client.Command onUploadCompleted)
-
-
-
Field Detail
-
UPLOAD_FAILED
public static final String UPLOAD_FAILED
- See Also:
- Constant Field Values
-
CREATED
protected static final String CREATED
- See Also:
- Constant Field Values
-
SKIPPED
protected static final String SKIPPED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceTaskUploadFormPresenter
@Inject public ServiceTaskUploadFormPresenter(ServiceTaskUploadFormView view, org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.wi.workitems.service.ServiceTaskService> serviceTaskService, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.jboss.errai.ioc.client.container.SyncBeanManager iocManager)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
handleSubmitComplete
public void handleSubmitComplete(org.gwtbootstrap3.client.ui.base.form.AbstractForm.SubmitCompleteEvent event)
- Specified by:
handleSubmitCompletein interfaceServiceTaskUploadFormView.Presenter
-
isFileNameValid
public boolean isFileNameValid()
- Specified by:
isFileNameValidin interfaceServiceTaskUploadFormView.Presenter
-
showView
public void showView(com.google.gwt.user.client.Command onUploadCompleted)
-
onCloseCommand
public com.google.gwt.user.client.Command onCloseCommand()
- Specified by:
onCloseCommandin interfaceServiceTaskUploadFormView.Presenter
-
-