@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.CaseRolesViewpublic void enableNewRoleAssignments()
enableNewRoleAssignments in interface CaseRolesPresenter.CaseRolesViewpublic void disableNewRoleAssignments()
disableNewRoleAssignments in interface CaseRolesPresenter.CaseRolesViewpublic void setUserAddCommand(org.uberfire.mvp.Command command)
setUserAddCommand in interface CaseRolesPresenter.CaseRolesViewpublic void addUser(String userName, String roleName, CaseRolesPresenter.CaseRoleAction... actions)
addUser in interface CaseRolesPresenter.CaseRolesViewpublic void addGroup(String groupName, String roleName, CaseRolesPresenter.CaseRoleAction... actions)
addGroup in interface CaseRolesPresenter.CaseRolesViewpublic void setupPagination()
setupPagination in interface CaseRolesPresenter.CaseRolesViewpublic void setVisibleItems(List visibleItems)
setVisibleItems in interface PaginationViewImpl.PageListpublic 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.IsElementCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.