@Dependent public class RoleEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, RoleEditor
The user editor presenter.
User's groups are edited using the UserAssignedGroupsExplorer editor component. So the UserAssignedGroupsEditor works with a dummy user instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RoleEditor.View |
| Modifier and Type | Field and Description |
|---|---|
RoleEditor.View |
view |
| Constructor and Description |
|---|
RoleEditor(ClientUserSystemManager userSystemManager,
ACLSettings aclSettings,
ACLViewer aclViewer,
ACLEditor aclEditor,
javax.enterprise.event.Event<OnEditEvent> onEditEvent,
javax.enterprise.event.Event<OnShowEvent> onShowEvent,
RoleEditor.View view) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
void |
edit(org.jboss.errai.security.shared.api.Role role) |
void |
flush() |
ACLEditor |
getAclEditor() |
ACLSettings |
getAclSettings() |
org.jboss.errai.security.shared.api.Role |
getValue() |
PerspectiveActivity |
homePerspective() |
void |
init() |
String |
name() |
protected void |
open(org.jboss.errai.security.shared.api.Role role) |
PermissionCollection |
permissions() |
int |
rolePriority() |
void |
setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.Role>> violations) |
void |
show(org.jboss.errai.security.shared.api.Role role) |
public RoleEditor.View view
@Inject public RoleEditor(ClientUserSystemManager userSystemManager, ACLSettings aclSettings, ACLViewer aclViewer, ACLEditor aclEditor, javax.enterprise.event.Event<OnEditEvent> onEditEvent, javax.enterprise.event.Event<OnShowEvent> onShowEvent, RoleEditor.View view)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic String name()
name in interface RoleEditorpublic PerspectiveActivity homePerspective()
homePerspective in interface RoleEditorpublic int rolePriority()
rolePriority in interface RoleEditorpublic PermissionCollection permissions()
permissions in interface RoleEditorpublic ACLSettings getAclSettings()
public ACLEditor getAclEditor()
public void show(org.jboss.errai.security.shared.api.Role role)
public void edit(org.jboss.errai.security.shared.api.Role role)
public void flush()
public org.jboss.errai.security.shared.api.Role getValue()
public void setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.Role>> violations)
setViolations in interface Editor<org.jboss.errai.security.shared.api.Role,org.jboss.errai.security.shared.api.Role>public void clear()
protected void open(org.jboss.errai.security.shared.api.Role role)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.