Class AccessControlEntryModifications

  • All Implemented Interfaces:
    Serializable

    @Validated
    public class AccessControlEntryModifications
    extends Object
    implements Serializable
    Specifies modifications of an access control entry.
    Author:
    Christian Bremer
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessControlEntryModifications

        public AccessControlEntryModifications​(String permission,
                                               Boolean guest,
                                               List<String> addUsers,
                                               List<String> removeUsers,
                                               List<String> addRoles,
                                               List<String> removeRoles,
                                               List<String> addGroups,
                                               List<String> removeGroups)
        Instantiates new access control entry modifications.
        Parameters:
        permission - the permission
        guest - the guest
        addUsers - the add users
        removeUsers - the remove users
        addRoles - the add roles
        removeRoles - the remove roles
        addGroups - the add groups
        removeGroups - the remove groups
    • Method Detail

      • getPermission

        @NotNull
        @Pattern(regexp="^[a-z_]+$")
        public @NotNull @Pattern(regexp="^[a-z_]+$") String getPermission()
        Specifies the permission.
        Returns:
        permission permission
      • setPermission

        public void setPermission​(String permission)
        Sets permission.
        Parameters:
        permission - the permission
      • getGuest

        public Boolean getGuest()
        Specifies whether anybody is granted.
        Returns:
        guest guest
      • setGuest

        public void setGuest​(Boolean guest)
        Sets guest.
        Parameters:
        guest - the guest
      • getAddUsers

        public List<String> getAddUsers()
        Users to be added.
        Returns:
        addUsers add users
      • setAddUsers

        public void setAddUsers​(List<String> addUsers)
        Sets add users.
        Parameters:
        addUsers - the add users
      • getRemoveUsers

        public List<String> getRemoveUsers()
        Users to be removed.
        Returns:
        removeUsers remove users
      • setRemoveUsers

        public void setRemoveUsers​(List<String> removeUsers)
        Sets remove users.
        Parameters:
        removeUsers - the remove users
      • getAddRoles

        public List<String> getAddRoles()
        Roles to be added.
        Returns:
        addRoles add roles
      • setAddRoles

        public void setAddRoles​(List<String> addRoles)
        Sets add roles.
        Parameters:
        addRoles - the add roles
      • getRemoveRoles

        public List<String> getRemoveRoles()
        Roles to be removed.
        Returns:
        removeRoles remove roles
      • setRemoveRoles

        public void setRemoveRoles​(List<String> removeRoles)
        Sets remove roles.
        Parameters:
        removeRoles - the remove roles
      • getAddGroups

        public List<String> getAddGroups()
        Groups to be added.
        Returns:
        addGroups add groups
      • setAddGroups

        public void setAddGroups​(List<String> addGroups)
        Sets add groups.
        Parameters:
        addGroups - the add groups
      • getRemoveGroups

        public List<String> getRemoveGroups()
        Groups to be removed.
        Returns:
        removeGroups remove groups
      • setRemoveGroups

        public void setRemoveGroups​(List<String> removeGroups)
        Sets remove groups.
        Parameters:
        removeGroups - the remove groups