Class UserAttributesEditor

  • All Implemented Interfaces:
    com.google.gwt.user.client.ui.IsWidget, org.uberfire.ext.security.management.client.editor.Editor<org.jboss.errai.security.shared.api.identity.User,​Map<String,​String>>, org.uberfire.ext.security.management.client.editor.user.UserAttributesEditor, org.uberfire.ext.security.management.client.editor.Viewer<org.jboss.errai.security.shared.api.identity.User>

    @Dependent
    public class UserAttributesEditor
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget, org.uberfire.ext.security.management.client.editor.user.UserAttributesEditor

    Presenter class for user editor attributes widget.

    • Method Detail

      • show

        public void show​(org.jboss.errai.security.shared.api.identity.User user)
        Specified by:
        show in interface org.uberfire.ext.security.management.client.editor.Viewer<org.jboss.errai.security.shared.api.identity.User>
      • edit

        public void edit​(org.jboss.errai.security.shared.api.identity.User user)
        Specified by:
        edit in interface org.uberfire.ext.security.management.client.editor.Editor<org.jboss.errai.security.shared.api.identity.User,​Map<String,​String>>
      • flush

        public void flush()
        Specified by:
        flush in interface org.uberfire.ext.security.management.client.editor.Editor<org.jboss.errai.security.shared.api.identity.User,​Map<String,​String>>
      • getValue

        public Map<String,​String> getValue()
        Specified by:
        getValue in interface org.uberfire.ext.security.management.client.editor.Editor<org.jboss.errai.security.shared.api.identity.User,​Map<String,​String>>
      • setViolations

        public void setViolations​(Set<javax.validation.ConstraintViolation<org.jboss.errai.security.shared.api.identity.User>> constraintViolations)
        Specified by:
        setViolations in interface org.uberfire.ext.security.management.client.editor.Editor<org.jboss.errai.security.shared.api.identity.User,​Map<String,​String>>
      • clear

        public void clear()
      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • loadUserAttributes

        protected void loadUserAttributes​(org.jboss.errai.security.shared.api.identity.User user)
      • getSupportedAttribute

        protected org.uberfire.ext.security.management.api.UserManager.UserAttribute getSupportedAttribute​(String name)
      • open

        protected void open​(org.jboss.errai.security.shared.api.identity.User user)
      • redraw

        protected void redraw()
      • buildViewColumns

        protected void buildViewColumns()
      • createAttributeNameColumn

        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)
      • createAttributeValueColumn

        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)
      • createAttributeRemoveColumn

        protected com.google.gwt.user.cellview.client.Column<Map.Entry<String,​String>,​String> createAttributeRemoveColumn()