Class TypePermissionRequest

    • Field Detail

      • subGroups

        protected boolean subGroups
        Set permissions also to the subgroups
      • subObjects

        protected boolean subObjects
        Set permissions also to the subobjects
    • Constructor Detail

      • TypePermissionRequest

        public TypePermissionRequest()
    • Method Detail

      • getPerms

        public List<TypePermissionItem> getPerms()
        List of permissions to change
        Returns:
        permission list
      • getRoles

        public List<RoleItem> getRoles()
        List of role assignments to change
        Returns:
        role list
      • isSubGroups

        public boolean isSubGroups()
        True to set permissions also to subgroups, false for only the given group
        Returns:
        true for subgroups, false if not
      • setSubGroups

        public TypePermissionRequest setSubGroups​(boolean subGroups)
        Set whether to set permissions on the subgroups
        Parameters:
        subGroups - true for subgroups, false if not
        Returns:
        fluent API
      • isSubObjects

        public boolean isSubObjects()
        True to set permissions also for subobjects, false for only the given object
        Returns:
        true for subobjects, false if not
      • setSubObjects

        public TypePermissionRequest setSubObjects​(boolean subObjects)
        Set whether to set permissions for the subobjects
        Parameters:
        subObjects - true for subobjects, false if not
        Returns:
        fluent API