@Dependent @Templated public class CaseRolesViewImpl extends Object implements CaseRolesPresenter.CaseRolesView
| 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() |
void |
init(CaseRolesPresenter presenter) |
void |
onGroupAddClick(org.jboss.errai.common.client.dom.Event e) |
void |
onUserAddClick(org.jboss.errai.common.client.dom.Event e) |
void |
removeAllRoles() |
void |
setGroupAddCommand(org.uberfire.mvp.Command command) |
void |
setUserAddCommand(org.uberfire.mvp.Command command) |
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 setGroupAddCommand(org.uberfire.mvp.Command command)
setGroupAddCommand 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.CaseRolesView@EventHandler(value="user-add")
public void onUserAddClick(@ForEvent(value="click")
org.jboss.errai.common.client.dom.Event e)
@EventHandler(value="group-add")
public void onGroupAddClick(@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–2016 JBoss by Red Hat. All rights reserved.