@Dependent public class UserAttributesEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, UserAttributesEditor
Presenter class for user editor attributes widget.
Modifier and Type | Class and Description |
---|---|
static interface |
UserAttributesEditor.View |
Modifier and Type | Field and Description |
---|---|
UserAttributesEditor.View |
view |
Constructor and Description |
---|
UserAttributesEditor(ClientUserSystemManager userSystemManager,
ConfirmBox confirmBox,
javax.enterprise.event.Event<CreateUserAttributeEvent> createUserAttributeEventEvent,
javax.enterprise.event.Event<UpdateUserAttributeEvent> updateUserAttributeEventEvent,
javax.enterprise.event.Event<DeleteUserAttributeEvent> deleteUserAttributeEventEvent,
javax.enterprise.event.Event<OnErrorEvent> errorEvent,
NewUserAttributeEditor newUserAttributeEditor,
UserAttributesEditor.View view) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributeEntry(Map.Entry<String,String> entry) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
buildViewColumns() |
void |
clear() |
protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,String>,String> |
createAttributeNameColumn(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<Map.Entry<String,String>> sortHandler) |
protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,String>,String> |
createAttributeRemoveColumn() |
protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,String>,String> |
createAttributeValueColumn(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<Map.Entry<String,String>> sortHandler) |
void |
edit(org.jboss.errai.security.shared.api.identity.User user) |
void |
flush() |
protected UserManager.UserAttribute |
getSupportedAttribute(String name) |
Map<String,String> |
getValue() |
void |
init() |
protected void |
loadUserAttributes(org.jboss.errai.security.shared.api.identity.User user) |
protected void |
open(org.jboss.errai.security.shared.api.identity.User user) |
protected void |
redraw() |
void |
setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.identity.User>> constraintViolations) |
void |
show(org.jboss.errai.security.shared.api.identity.User user) |
public UserAttributesEditor.View view
@Inject public UserAttributesEditor(ClientUserSystemManager userSystemManager, ConfirmBox confirmBox, javax.enterprise.event.Event<CreateUserAttributeEvent> createUserAttributeEventEvent, javax.enterprise.event.Event<UpdateUserAttributeEvent> updateUserAttributeEventEvent, javax.enterprise.event.Event<DeleteUserAttributeEvent> deleteUserAttributeEventEvent, javax.enterprise.event.Event<OnErrorEvent> errorEvent, NewUserAttributeEditor newUserAttributeEditor, UserAttributesEditor.View view)
@PostConstruct public void init()
public void show(org.jboss.errai.security.shared.api.identity.User user)
public void edit(org.jboss.errai.security.shared.api.identity.User user)
public void flush()
public void setViolations(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.identity.User>> constraintViolations)
setViolations
in interface Editor<org.jboss.errai.security.shared.api.identity.User,Map<String,String>>
public void clear()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
protected void loadUserAttributes(org.jboss.errai.security.shared.api.identity.User user)
protected UserManager.UserAttribute getSupportedAttribute(String name)
protected void open(org.jboss.errai.security.shared.api.identity.User user)
protected void redraw()
protected void buildViewColumns()
protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,String>,String> createAttributeNameColumn(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<Map.Entry<String,String>> sortHandler)
protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,String>,String> createAttributeValueColumn(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<Map.Entry<String,String>> sortHandler)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.