Class CaseRolesPresenter
- java.lang.Object
-
- org.jbpm.workbench.cm.client.util.AbstractPresenter<V>
-
- org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter<CaseRolesPresenter.CaseRolesView>
-
- org.jbpm.workbench.cm.client.roles.CaseRolesPresenter
-
@Dependent public class CaseRolesPresenter extends AbstractCaseInstancePresenter<CaseRolesPresenter.CaseRolesView>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCaseRolesPresenter.CaseAssignmentItemstatic interfaceCaseRolesPresenter.CaseRoleActionstatic interfaceCaseRolesPresenter.CaseRolesViewstatic interfaceCaseRolesPresenter.EditRoleAssignmentView
-
Field Summary
Fields Modifier and Type Field Description static StringCASE_OWNER_ROLEstatic StringSCREEN_ID-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter
caseId, caseService, containerId, PARAMETER_CASE_ID, PARAMETER_CONTAINER_ID, place, translationService
-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
view
-
-
Constructor Summary
Constructors Constructor Description CaseRolesPresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearCaseInstance()voidfilterCaseRoles()StringgetTittle()protected voidloadCaseInstance(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)protected voidloadCaseRoles(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)protected voidremoveGroupFromRole(String groupName, org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary caseRoleAssignmentSummary)protected voidremoveUserFromRole(String userName, org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary caseRoleAssignmentSummary)voidsetCaseRoleActions(CaseRoleItemView caseRole)voidsetCaseRoleAssignments(CaseRoleItemView caseRole, int assignmentsListMaxWidth)voidstoreRoleAssignments(org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary currentRoleAssignments, List<String> users, List<String> groups)-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter
findCaseInstance, isCaseInstanceValid, onCaseRefreshEvent, onStartup, setCaseService
-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
getView, init
-
-
-
-
Field Detail
-
SCREEN_ID
public static final String SCREEN_ID
- See Also:
- Constant Field Values
-
CASE_OWNER_ROLE
public static final String CASE_OWNER_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTittle
public String getTittle()
-
clearCaseInstance
protected void clearCaseInstance()
- Specified by:
clearCaseInstancein classAbstractCaseInstancePresenter<CaseRolesPresenter.CaseRolesView>
-
loadCaseInstance
protected void loadCaseInstance(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)
- Specified by:
loadCaseInstancein classAbstractCaseInstancePresenter<CaseRolesPresenter.CaseRolesView>
-
loadCaseRoles
protected void loadCaseRoles(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)
-
filterCaseRoles
public void filterCaseRoles()
-
setCaseRoleActions
public void setCaseRoleActions(CaseRoleItemView caseRole)
-
setCaseRoleAssignments
public void setCaseRoleAssignments(CaseRoleItemView caseRole, int assignmentsListMaxWidth)
-
storeRoleAssignments
public void storeRoleAssignments(org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary currentRoleAssignments, List<String> users, List<String> groups)
-
removeUserFromRole
protected void removeUserFromRole(String userName, org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary caseRoleAssignmentSummary)
-
removeGroupFromRole
protected void removeGroupFromRole(String groupName, org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary caseRoleAssignmentSummary)
-
-