@Dependent public class NewCaseInstancePresenter extends AbstractPresenter<NewCaseInstancePresenter.NewCaseInstanceView>
Modifier and Type | Class and Description |
---|---|
static interface |
NewCaseInstancePresenter.NewCaseInstanceView |
view
Constructor and Description |
---|
NewCaseInstancePresenter() |
Modifier and Type | Method and Description |
---|---|
protected void |
createCaseInstance(String caseDefinitionId,
String owner,
List<CaseRoleAssignmentSummary> assignments) |
protected void |
loadCaseDefinitions() |
protected void |
loadCaseRoles(String caseDefinitionId) |
void |
setCaseService(org.jboss.errai.common.client.api.Caller<CaseManagementService> caseService) |
void |
setNewCaseEvent(javax.enterprise.event.Event<CaseCreatedEvent> newCaseEvent) |
void |
setNotification(javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification) |
void |
show() |
protected boolean |
validateCaseOwnerAssignment(String ownerInput) |
getView, init
protected void loadCaseRoles(String caseDefinitionId)
public void show()
protected void loadCaseDefinitions()
protected void createCaseInstance(String caseDefinitionId, String owner, List<CaseRoleAssignmentSummary> assignments)
protected boolean validateCaseOwnerAssignment(String ownerInput)
@Inject public void setNotification(javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification)
@Inject public void setNewCaseEvent(javax.enterprise.event.Event<CaseCreatedEvent> newCaseEvent)
@Inject public void setCaseService(org.jboss.errai.common.client.api.Caller<CaseManagementService> caseService)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.