public interface ModifiableProfileAssignmentStorage extends ProfileAssignmentStorage
MAX_PRIORITY, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
addAllowedGroups(Set<GroupIdentity> groups,
Object object,
String profileId)
Associates some groups with an allowed profile on a given object
|
void |
addAllowedProfilesForAnonymous(Object object,
Set<String> profileIds)
Adds allowed profiles an anonymous user has on the given object
|
void |
addAllowedProfilesForAnyConnectedUser(Object object,
Set<String> profileIds)
Adds allowed profiles any connected user has on the given object
|
void |
addAllowedUsers(Set<UserIdentity> users,
Object object,
String profileId)
Associates some users with an allowed profile on a given object
|
void |
addDeniedGroups(Set<GroupIdentity> groups,
Object object,
String profileId)
Associates some groups with a denied profile on a given object
|
void |
addDeniedProfilesForAnonymous(Object object,
Set<String> profileIds)
Adds denied profiles an anonymous user has on the given object
|
void |
addDeniedProfilesForAnyConnectedUser(Object object,
Set<String> profileIds)
Adds denied profiles any connected user has on the given object
|
void |
addDeniedUsers(Set<UserIdentity> users,
Object object,
String profileId)
Associates some users with a denied profile on a given object
|
void |
removeAllowedGroups(Set<GroupIdentity> groups,
Object object)
Removes the association between some groups and all allowed profiles on a given object
|
void |
removeAllowedGroups(Set<GroupIdentity> groups,
Object object,
String profileId)
Removes the association between some groups and an allowed profile on a given object
|
void |
removeAllowedProfilesForAnonymous(Object object,
Set<String> profileIds)
Removes allowed profiles an anonymous user has on the given object
|
void |
removeAllowedProfilesForAnyConnectedUser(Object object,
Set<String> profileIds)
Removes allowed profiles any connected user has on the given object
|
void |
removeAllowedUsers(Set<UserIdentity> users,
Object object)
Removes the association between some users and all allowed profiles on a given object
|
void |
removeAllowedUsers(Set<UserIdentity> users,
Object object,
String profileId)
Removes the association between some users and an allowed profile on a given object
|
void |
removeDeniedGroups(Set<GroupIdentity> groups,
Object object)
Removes the association between some groups and all denied profiles on a given object
|
void |
removeDeniedGroups(Set<GroupIdentity> groups,
Object object,
String profileId)
Removes the association between some groups and a denied profile on a given object
|
void |
removeDeniedProfilesForAnonymous(Object object,
Set<String> profileIds)
Removes denied profiles an anonymous user has on the given object
|
void |
removeDeniedProfilesForAnyConnectedUser(Object object,
Set<String> profileIds)
Removes denied profiles any connected user has on the given object
|
void |
removeDeniedUsers(Set<UserIdentity> users,
Object object)
Removes the association between some users and all denied profiles on a given object
|
void |
removeDeniedUsers(Set<UserIdentity> users,
Object object,
String profileId)
Removes the association between some users and an denied profile on a given object
|
void |
removeGroup(GroupIdentity group)
Removes all the assignments involving this group
|
void |
removeProfile(String profileId)
Removes all the assignments between this profile and users/groups/anonymous/any connected
|
void |
removeUser(UserIdentity user)
Removes all the assignments involving this user
|
getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, getPriority, hasAnonymousAllowedProfile, hasAnonymousDeniedProfile, hasAnyConnectedAllowedProfile, hasAnyConnectedDeniedProfile, hasGroupAllowedProfile, hasGroupDeniedProfile, hasUserAllowedProfile, hasUserDeniedProfile, isAnonymousAllowed, isAnonymousDenied, isAnyConnectedUserAllowed, isAnyConnectedUserDenied, isRootContextSupported, isSupported
void addAllowedProfilesForAnyConnectedUser(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to addvoid removeAllowedProfilesForAnyConnectedUser(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to removevoid addDeniedProfilesForAnyConnectedUser(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to addvoid removeDeniedProfilesForAnyConnectedUser(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to removevoid addAllowedProfilesForAnonymous(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to addvoid removeAllowedProfilesForAnonymous(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to removevoid addDeniedProfilesForAnonymous(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to addvoid removeDeniedProfilesForAnonymous(Object object, Set<String> profileIds)
object
- The objectprofileIds
- The profiles to removevoid addAllowedUsers(Set<UserIdentity> users, Object object, String profileId)
users
- The users to addobject
- The objectprofileId
- The id of the profilevoid removeAllowedUsers(Set<UserIdentity> users, Object object, String profileId)
users
- The users to removeobject
- The objectprofileId
- The id of the profilevoid removeAllowedUsers(Set<UserIdentity> users, Object object)
users
- The users to removeobject
- The objectvoid addAllowedGroups(Set<GroupIdentity> groups, Object object, String profileId)
groups
- The groups to addobject
- The objectprofileId
- The id of the profilevoid removeAllowedGroups(Set<GroupIdentity> groups, Object object, String profileId)
groups
- The groups to removeobject
- The objectprofileId
- The id of the profilevoid removeAllowedGroups(Set<GroupIdentity> groups, Object object)
groups
- The groups to removeobject
- The objectvoid addDeniedUsers(Set<UserIdentity> users, Object object, String profileId)
users
- The users to addobject
- The objectprofileId
- The id of the profilevoid removeDeniedUsers(Set<UserIdentity> users, Object object, String profileId)
users
- The users to removeobject
- The objectprofileId
- The id of the profilevoid removeDeniedUsers(Set<UserIdentity> users, Object object)
users
- The users to removeobject
- The objectvoid addDeniedGroups(Set<GroupIdentity> groups, Object object, String profileId)
groups
- The groups to addobject
- The objectprofileId
- The id of the profilevoid removeDeniedGroups(Set<GroupIdentity> groups, Object object, String profileId)
groups
- The groups to removeobject
- The objectprofileId
- The id of the profilevoid removeDeniedGroups(Set<GroupIdentity> groups, Object object)
groups
- The groups to removeobject
- The objectvoid removeProfile(String profileId)
profileId
- The profile to removevoid removeUser(UserIdentity user)
user
- The uservoid removeGroup(GroupIdentity group)
group
- The group