@Dependent public class GroupEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, GroupEditor
Editor class for a Group instance.
Additionally it shows a delete button, if the service provider supports the CAN_DELETE_GROUP capability.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupEditor.View |
| Modifier and Type | Field and Description |
|---|---|
GroupEditor.View |
view |
| Constructor and Description |
|---|
GroupEditor(ClientUserSystemManager userSystemManager,
javax.enterprise.event.Event<OnEditEvent> onEditEvent,
javax.enterprise.event.Event<OnShowEvent> onShowEvent,
javax.enterprise.event.Event<OnDeleteEvent> onDeleteEvent,
ACLSettings aclSettings,
ACLViewer aclViewer,
ACLEditor aclEditor,
GroupEditor.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.Group group) |
void |
flush() |
ACLEditor |
getAclEditor() |
ACLSettings |
getAclSettings() |
org.jboss.errai.security.shared.api.Group |
getValue() |
int |
groupPriority() |
PerspectiveActivity |
homePerspective() |
void |
init() |
String |
name() |
protected void |
open(org.jboss.errai.security.shared.api.Group group) |
PermissionCollection |
permissions() |
void |
setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.Group>> violations) |
void |
show(org.jboss.errai.security.shared.api.Group group) |
public GroupEditor.View view
@Inject public GroupEditor(ClientUserSystemManager userSystemManager, javax.enterprise.event.Event<OnEditEvent> onEditEvent, javax.enterprise.event.Event<OnShowEvent> onShowEvent, javax.enterprise.event.Event<OnDeleteEvent> onDeleteEvent, ACLSettings aclSettings, ACLViewer aclViewer, ACLEditor aclEditor, GroupEditor.View view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidget@PostConstruct public void init()
public String name()
name in interface GroupEditorpublic PerspectiveActivity homePerspective()
homePerspective in interface GroupEditorpublic int groupPriority()
groupPriority in interface GroupEditorpublic PermissionCollection permissions()
permissions in interface GroupEditorpublic ACLSettings getAclSettings()
public ACLEditor getAclEditor()
public void show(org.jboss.errai.security.shared.api.Group group)
public void edit(org.jboss.errai.security.shared.api.Group group)
public void clear()
public void flush()
public org.jboss.errai.security.shared.api.Group getValue()
public void setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.Group>> violations)
setViolations in interface Editor<org.jboss.errai.security.shared.api.Group,org.jboss.errai.security.shared.api.Group>protected void open(org.jboss.errai.security.shared.api.Group group)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.