Interface ModifiableProfileAssignmentStorage

All Superinterfaces:
Prioritizable, ProfileAssignmentStorage
All Known Implementing Classes:
JdbcProfileAssignmentStorage, ModifiableACLAmetysObjectProfileAssignmentStorage

This interface is for modifiable profile assignments storage
  • Method Details

    • addAllowedProfilesForAnyConnectedUser

      Adds allowed profiles any connected user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to add
    • removeAllowedProfilesForAnyConnectedUser

      Removes allowed profiles any connected user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to remove
    • addDeniedProfilesForAnyConnectedUser

      Adds denied profiles any connected user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to add
    • removeDeniedProfilesForAnyConnectedUser

      Removes denied profiles any connected user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to remove
    • addAllowedProfilesForAnonymous

      void addAllowedProfilesForAnonymous(Object object, Set<String> profileIds)
      Adds allowed profiles an anonymous user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to add
    • removeAllowedProfilesForAnonymous

      void removeAllowedProfilesForAnonymous(Object object, Set<String> profileIds)
      Removes allowed profiles an anonymous user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to remove
    • addDeniedProfilesForAnonymous

      void addDeniedProfilesForAnonymous(Object object, Set<String> profileIds)
      Adds denied profiles an anonymous user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to add
    • removeDeniedProfilesForAnonymous

      void removeDeniedProfilesForAnonymous(Object object, Set<String> profileIds)
      Removes denied profiles an anonymous user has on the given object
      Parameters:
      object - The object
      profileIds - The profiles to remove
    • addAllowedUsers

      void addAllowedUsers(Set<UserIdentity> users, Object object, String profileId)
      Associates some users with an allowed profile on a given object
      Parameters:
      users - The users to add
      object - The object
      profileId - The id of the profile
    • removeAllowedUsers

      void removeAllowedUsers(Set<UserIdentity> users, Object object, String profileId)
      Removes the association between some users and an allowed profile on a given object
      Parameters:
      users - The users to remove
      object - The object
      profileId - The id of the profile
    • removeAllowedUsers

      void removeAllowedUsers(Set<UserIdentity> users, Object object)
      Removes the association between some users and all allowed profiles on a given object
      Parameters:
      users - The users to remove
      object - The object
    • addAllowedGroups

      void addAllowedGroups(Set<GroupIdentity> groups, Object object, String profileId)
      Associates some groups with an allowed profile on a given object
      Parameters:
      groups - The groups to add
      object - The object
      profileId - The id of the profile
    • removeAllowedGroups

      void removeAllowedGroups(Set<GroupIdentity> groups, Object object, String profileId)
      Removes the association between some groups and an allowed profile on a given object
      Parameters:
      groups - The groups to remove
      object - The object
      profileId - The id of the profile
    • removeAllowedGroups

      void removeAllowedGroups(Set<GroupIdentity> groups, Object object)
      Removes the association between some groups and all allowed profiles on a given object
      Parameters:
      groups - The groups to remove
      object - The object
    • addDeniedUsers

      void addDeniedUsers(Set<UserIdentity> users, Object object, String profileId)
      Associates some users with a denied profile on a given object
      Parameters:
      users - The users to add
      object - The object
      profileId - The id of the profile
    • removeDeniedUsers

      void removeDeniedUsers(Set<UserIdentity> users, Object object, String profileId)
      Removes the association between some users and an denied profile on a given object
      Parameters:
      users - The users to remove
      object - The object
      profileId - The id of the profile
    • removeDeniedUsers

      void removeDeniedUsers(Set<UserIdentity> users, Object object)
      Removes the association between some users and all denied profiles on a given object
      Parameters:
      users - The users to remove
      object - The object
    • addDeniedGroups

      void addDeniedGroups(Set<GroupIdentity> groups, Object object, String profileId)
      Associates some groups with a denied profile on a given object
      Parameters:
      groups - The groups to add
      object - The object
      profileId - The id of the profile
    • removeDeniedGroups

      void removeDeniedGroups(Set<GroupIdentity> groups, Object object, String profileId)
      Removes the association between some groups and a denied profile on a given object
      Parameters:
      groups - The groups to remove
      object - The object
      profileId - The id of the profile
    • removeDeniedGroups

      void removeDeniedGroups(Set<GroupIdentity> groups, Object object)
      Removes the association between some groups and all denied profiles on a given object
      Parameters:
      groups - The groups to remove
      object - The object
    • removeProfile

      void removeProfile(String profileId)
      Removes all the assignments between this profile and users/groups/anonymous/any connected
      Parameters:
      profileId - The profile to remove
    • removeUser

      Removes all the assignments involving this user
      Parameters:
      user - The user
    • removeGroup

      Removes all the assignments involving this group
      Parameters:
      group - The group
    • disallowInheritance

      void disallowInheritance(Object object, boolean disallow)
      Allow or disallow inheritance of permissions on the given object
      Parameters:
      object - The object
      disallow - true to disallow inheritance, false otherwise