Class NewCaseInstancePresenter
- java.lang.Object
-
- org.jbpm.workbench.cm.client.util.AbstractPresenter<NewCaseInstancePresenter.NewCaseInstanceView>
-
- org.jbpm.workbench.cm.client.newcase.NewCaseInstancePresenter
-
@Dependent public class NewCaseInstancePresenter extends AbstractPresenter<NewCaseInstancePresenter.NewCaseInstanceView>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
Field Summary
-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
view
-
-
Constructor Summary
Constructors Constructor Description NewCaseInstancePresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateCaseInstance(String caseDefinitionId, String owner, List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> assignments)protected voidloadCaseDefinitions()protected voidloadCaseRoles(String caseDefinitionId)voidsetCaseService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.cm.service.CaseManagementService> caseService)voidsetNewCaseEvent(javax.enterprise.event.Event<CaseCreatedEvent> newCaseEvent)voidsetNotification(javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification)voidshow()protected booleanvalidateCaseOwnerAssignment(String ownerInput)-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
getView, init
-
-
-
-
Method Detail
-
loadCaseRoles
protected void loadCaseRoles(String caseDefinitionId)
-
show
public void show()
-
loadCaseDefinitions
protected void loadCaseDefinitions()
-
createCaseInstance
protected void createCaseInstance(String caseDefinitionId, String owner, List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> assignments)
-
validateCaseOwnerAssignment
protected boolean validateCaseOwnerAssignment(String ownerInput)
-
setNotification
@Inject public void setNotification(javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification)
-
setNewCaseEvent
@Inject public void setNewCaseEvent(javax.enterprise.event.Event<CaseCreatedEvent> newCaseEvent)
-
setCaseService
@Inject public void setCaseService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.cm.service.CaseManagementService> caseService)
-
-