@Dependent @Templated public class CaseRolesViewImpl extends AbstractView<CaseRolesPresenter> implements CaseRolesPresenter.CaseRolesView, PaginationViewImpl.PageList<CaseRoleAssignmentSummary>
Modifier and Type | Field and Description |
---|---|
static int |
PAGE_SIZE |
presenter
Constructor and Description |
---|
CaseRolesViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
displayCaseRolesList(List<CaseRoleAssignmentSummary> caseRolesList) |
void |
displayEmptyList() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
String |
getFilterValue() |
org.jboss.errai.common.client.dom.Div |
getScrollBox() |
void |
init() |
void |
init(CaseRolesPresenter presenter) |
void |
onRolesAssignmentFilterChange(org.jboss.errai.common.client.dom.Event e) |
void |
removeAllRoles() |
void |
setBadge(int caseRolesNumber) |
void |
setRoleAssignmentListLoadEvent(javax.enterprise.event.Event<CaseRoleAssignmentListLoadEvent> roleAssignmentListLoadEvent) |
void |
setVisibleItems(List<CaseRoleAssignmentSummary> visibleItems) |
tooltip
@Inject public void setRoleAssignmentListLoadEvent(javax.enterprise.event.Event<CaseRoleAssignmentListLoadEvent> roleAssignmentListLoadEvent)
public void init(CaseRolesPresenter presenter)
init
in interface org.uberfire.client.mvp.HasPresenter<CaseRolesPresenter>
init
in class AbstractView<CaseRolesPresenter>
@PostConstruct public void init()
public void displayCaseRolesList(List<CaseRoleAssignmentSummary> caseRolesList)
displayCaseRolesList
in interface CaseRolesPresenter.CaseRolesView
public void displayEmptyList()
displayEmptyList
in interface CaseRolesPresenter.CaseRolesView
public void removeAllRoles()
removeAllRoles
in interface CaseRolesPresenter.CaseRolesView
public String getFilterValue()
getFilterValue
in interface CaseRolesPresenter.CaseRolesView
public void setBadge(int caseRolesNumber)
setBadge
in interface CaseRolesPresenter.CaseRolesView
public void setVisibleItems(List<CaseRoleAssignmentSummary> visibleItems)
setVisibleItems
in interface PaginationViewImpl.PageList<CaseRoleAssignmentSummary>
public org.jboss.errai.common.client.dom.Div getScrollBox()
getScrollBox
in interface PaginationViewImpl.PageList<CaseRoleAssignmentSummary>
@EventHandler(value="filter-select") public void onRolesAssignmentFilterChange(@ForEvent(value="change") org.jboss.errai.common.client.dom.Event e)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.