Class CaseRolesViewImpl
- java.lang.Object
-
- org.jbpm.workbench.cm.client.util.AbstractView<CaseRolesPresenter>
-
- org.jbpm.workbench.cm.client.roles.CaseRolesViewImpl
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,PaginationViewImpl.PageList<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary>,CaseRolesPresenter.CaseRolesView,org.uberfire.client.mvp.HasPresenter<CaseRolesPresenter>,org.uberfire.client.mvp.UberElement<CaseRolesPresenter>
@Dependent @Templated public class CaseRolesViewImpl extends AbstractView<CaseRolesPresenter> implements CaseRolesPresenter.CaseRolesView, PaginationViewImpl.PageList<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary>
-
-
Field Summary
Fields Modifier and Type Field Description static intPAGE_SIZE-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractView
presenter
-
-
Constructor Summary
Constructors Constructor Description CaseRolesViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplayCaseRolesList(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> caseRolesList)voiddisplayEmptyList()org.jboss.errai.common.client.dom.HTMLElementgetElement()StringgetFilterValue()org.jboss.errai.common.client.dom.DivgetScrollBox()voidinit()voidinit(CaseRolesPresenter presenter)voidonRolesAssignmentFilterChange(org.jboss.errai.common.client.dom.Event e)voidremoveAllRoles()voidsetBadge(int caseRolesNumber)voidsetRoleAssignmentListLoadEvent(javax.enterprise.event.Event<CaseRoleAssignmentListLoadEvent> roleAssignmentListLoadEvent)voidsetVisibleItems(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> visibleItems)-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractView
tooltip
-
-
-
-
Method Detail
-
setRoleAssignmentListLoadEvent
@Inject public void setRoleAssignmentListLoadEvent(javax.enterprise.event.Event<CaseRoleAssignmentListLoadEvent> roleAssignmentListLoadEvent)
-
init
public void init(CaseRolesPresenter presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<CaseRolesPresenter>- Overrides:
initin classAbstractView<CaseRolesPresenter>
-
init
@PostConstruct public void init()
-
displayCaseRolesList
public void displayCaseRolesList(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> caseRolesList)
- Specified by:
displayCaseRolesListin interfaceCaseRolesPresenter.CaseRolesView
-
displayEmptyList
public void displayEmptyList()
- Specified by:
displayEmptyListin interfaceCaseRolesPresenter.CaseRolesView
-
removeAllRoles
public void removeAllRoles()
- Specified by:
removeAllRolesin interfaceCaseRolesPresenter.CaseRolesView
-
getFilterValue
public String getFilterValue()
- Specified by:
getFilterValuein interfaceCaseRolesPresenter.CaseRolesView
-
setBadge
public void setBadge(int caseRolesNumber)
- Specified by:
setBadgein interfaceCaseRolesPresenter.CaseRolesView
-
setVisibleItems
public void setVisibleItems(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> visibleItems)
- Specified by:
setVisibleItemsin interfacePaginationViewImpl.PageList<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary>
-
getScrollBox
public org.jboss.errai.common.client.dom.Div getScrollBox()
- Specified by:
getScrollBoxin interfacePaginationViewImpl.PageList<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary>
-
onRolesAssignmentFilterChange
@EventHandler("filter-select") public void onRolesAssignmentFilterChange(@ForEvent("change") org.jboss.errai.common.client.dom.Event e)
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
-