@Dependent @Templated public class CaseRolesViewImpl extends Object implements CaseRolesPresenter.CaseRolesView, PaginationViewImpl.PageList
Modifier and Type | Field and Description |
---|---|
static int |
PAGE_SIZE |
Constructor and Description |
---|
CaseRolesViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(String groupName,
String roleName,
CaseRolesPresenter.CaseRoleAction... actions) |
void |
addUser(String userName,
String roleName,
CaseRolesPresenter.CaseRoleAction... actions) |
void |
disableNewRoleAssignments() |
void |
enableNewRoleAssignments() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
org.jboss.errai.common.client.dom.Div |
getScrollBox() |
void |
init(CaseRolesPresenter presenter) |
void |
onUserAddClick(org.jboss.errai.common.client.dom.Event e) |
void |
removeAllRoles() |
void |
setupPagination() |
void |
setUserAddCommand(org.uberfire.mvp.Command command) |
void |
setVisibleItems(List visibleItems) |
public void init(CaseRolesPresenter presenter)
init
in interface org.uberfire.client.mvp.UberElement<CaseRolesPresenter>
public void removeAllRoles()
removeAllRoles
in interface CaseRolesPresenter.CaseRolesView
public void enableNewRoleAssignments()
enableNewRoleAssignments
in interface CaseRolesPresenter.CaseRolesView
public void disableNewRoleAssignments()
disableNewRoleAssignments
in interface CaseRolesPresenter.CaseRolesView
public void setUserAddCommand(org.uberfire.mvp.Command command)
setUserAddCommand
in interface CaseRolesPresenter.CaseRolesView
public void addUser(String userName, String roleName, CaseRolesPresenter.CaseRoleAction... actions)
addUser
in interface CaseRolesPresenter.CaseRolesView
public void addGroup(String groupName, String roleName, CaseRolesPresenter.CaseRoleAction... actions)
addGroup
in interface CaseRolesPresenter.CaseRolesView
public void setupPagination()
setupPagination
in interface CaseRolesPresenter.CaseRolesView
public void setVisibleItems(List visibleItems)
setVisibleItems
in interface PaginationViewImpl.PageList
public org.jboss.errai.common.client.dom.Div getScrollBox()
getScrollBox
in interface PaginationViewImpl.PageList
@EventHandler(value="user-add") public void onUserAddClick(@ForEvent(value="click") 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–2017 JBoss by Red Hat. All rights reserved.