Class GroupEditorDriver

  • All Implemented Interfaces:
    Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>

    @Dependent
    public class GroupEditorDriver
    extends Object
    implements Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>
    • Method Detail

      • show

        public void show​(org.jboss.errai.security.shared.api.Group group,
                         GroupEditor groupEditor)
        Description copied from interface: Driver
        Show the instance using the given editor.
        Specified by:
        show in interface Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>
        Parameters:
        group - The instance to show.
        groupEditor - The viewer for the instance.
      • edit

        public void edit​(org.jboss.errai.security.shared.api.Group group,
                         GroupEditor groupEditor)
        Description copied from interface: Driver
        Edit the instance using the given editor.
        Specified by:
        edit in interface Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>
        Parameters:
        group - The instance to show.
        groupEditor - The editor for the instance.
      • flush

        public boolean flush()
        Description copied from interface: Driver
        Flush the editors hierarchy states and perform the validations.
        Specified by:
        flush in interface Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>
        Returns:
        The validation violations, if any.
      • getValue

        public org.jboss.errai.security.shared.api.Group getValue()
        Description copied from interface: Driver
        The instance after being flush with against the editors hierarchy.
        Specified by:
        getValue in interface Driver<org.jboss.errai.security.shared.api.Group,​GroupEditor>
        Returns:
        The instance.
      • getPermissions

        public org.uberfire.security.authz.PermissionCollection getPermissions()
      • getHomePerspective

        public org.uberfire.client.mvp.PerspectiveActivity getHomePerspective()
      • getGroupPriority

        public int getGroupPriority()