Package org.ametys.plugins.repository
Interface ModifiableACLAmetysObject
-
- All Superinterfaces:
ACLAmetysObject
,AmetysObject
- All Known Subinterfaces:
CommentableContent
,Content
,ModifiableContent
,ModifiableWebContent
,ModifiableWorkflowAwareContent
,SharedContent
,WebContent
,WorkflowAwareContent
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractSurveyElement
,AbstractTraversableProgramPart
,AmetysObjectCollection
,Cart
,CartContainer
,CategoryJCR
,CMSJCRTag
,Container
,Course
,CourseList
,CoursePart
,DefaultAmetysObject
,DefaultContent
,DefaultLink
,DefaultLockableAmetysObject
,DefaultPage
,DefaultSharedContent
,DefaultTraversableAmetysObject
,DefaultWebContent
,DefaultWorkflowAwareContent
,DefaultZone
,JCRCalendar
,JCRCalendarEvent
,JCRCalendarResource
,JCRCategory
,JCRPost
,JCRProjectMember
,JCRResource
,JCRResourcesCollection
,JCRTag
,JCRTask
,JCRTasksList
,JCRThread
,JCRWorkflow
,JCRWorkflowProcess
,KeywordJCR
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,Project
,ProjectTagJCR
,Query
,QueryContainer
,RootAmetysObject
,Site
,Sitemap
,SubProgram
,Survey
,SurveyPage
,SurveyQuestion
,ThemeJCR
,Thesaurus
,VersionComponentAmetysObject
,VersionsAmetysObject
public interface ModifiableACLAmetysObject extends ACLAmetysObject
ACLAmetysObject
that can store and modify its profile assignements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAllowedGroups(Set<GroupIdentity> groups, String profileId)
Associates some groups with an allowed profile on this ametys objectvoid
addAllowedProfilesForAnonymous(Set<String> profileIds)
Adds allowed profiles an anonymous user has on this ametys objectvoid
addAllowedProfilesForAnyConnectedUser(Set<String> profileIds)
Adds allowed profiles any connected user has on this ametys objectvoid
addAllowedUsers(Set<UserIdentity> users, String profileId)
Associates some users with an allowed profile on this ametys objectvoid
addDeniedGroups(Set<GroupIdentity> groups, String profileId)
Associates some groups with an allowed profile on this ametys objectvoid
addDeniedProfilesForAnonymous(Set<String> profileIds)
Adds denied profiles an anonymous user has on this ametys objectvoid
addDeniedProfilesForAnyConnectedUser(Set<String> profileIds)
Adds denied profiles any connected user has on this ametys objectvoid
addDeniedUsers(Set<UserIdentity> users, String profileId)
Associates some users with a denied profile on this ametys objectvoid
disallowInheritance(boolean disallow)
Allow or disallow inheritance of permissionsvoid
removeAllowedGroups(Set<GroupIdentity> groups)
Removes the association between some groups and all allowed profiles on this ametys objectvoid
removeAllowedGroups(Set<GroupIdentity> groups, String profileId)
Removes the association between some groups and an allowed profile on this ametys objectvoid
removeAllowedProfilesForAnonymous(Set<String> profileIds)
Removes allowed profiles an anonymous user has on this ametys objectvoid
removeAllowedProfilesForAnyConnectedUser(Set<String> profileIds)
Removes allowed profiles any connected user has on this ametys objectvoid
removeAllowedUsers(Set<UserIdentity> users)
Removes the association between some users and all allowed profiles on this ametys objectvoid
removeAllowedUsers(Set<UserIdentity> users, String profileId)
Removes the association between some users and an allowed profile on this ametys objectvoid
removeDeniedGroups(Set<GroupIdentity> groups)
Removes the association between some groups and all allowed profiles on this ametys objectvoid
removeDeniedGroups(Set<GroupIdentity> groups, String profileId)
Removes the association between some groups and an allowed profile on this ametys objectvoid
removeDeniedProfilesForAnonymous(Set<String> profileIds)
Removes denied profiles an anonymous user has on this ametys objectvoid
removeDeniedProfilesForAnyConnectedUser(Set<String> profileIds)
Removes denied profiles any connected user has on this ametys objectvoid
removeDeniedUsers(Set<UserIdentity> users)
Removes the association between some users and all denied profiles on this ametys objectvoid
removeDeniedUsers(Set<UserIdentity> users, String profileId)
Removes the association between some users and an denied profile on this ametys object-
Methods inherited from interface org.ametys.plugins.repository.ACLAmetysObject
getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, isInheritanceDisallowed
-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
-
-
-
Method Detail
-
addAllowedProfilesForAnyConnectedUser
void addAllowedProfilesForAnyConnectedUser(Set<String> profileIds)
Adds allowed profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeAllowedProfilesForAnyConnectedUser
void removeAllowedProfilesForAnyConnectedUser(Set<String> profileIds)
Removes allowed profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addDeniedProfilesForAnyConnectedUser
void addDeniedProfilesForAnyConnectedUser(Set<String> profileIds)
Adds denied profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeDeniedProfilesForAnyConnectedUser
void removeDeniedProfilesForAnyConnectedUser(Set<String> profileIds)
Removes denied profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addAllowedProfilesForAnonymous
void addAllowedProfilesForAnonymous(Set<String> profileIds)
Adds allowed profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeAllowedProfilesForAnonymous
void removeAllowedProfilesForAnonymous(Set<String> profileIds)
Removes allowed profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addDeniedProfilesForAnonymous
void addDeniedProfilesForAnonymous(Set<String> profileIds)
Adds denied profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeDeniedProfilesForAnonymous
void removeDeniedProfilesForAnonymous(Set<String> profileIds)
Removes denied profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addAllowedUsers
void addAllowedUsers(Set<UserIdentity> users, String profileId)
Associates some users with an allowed profile on this ametys object- Parameters:
users
- The users to addprofileId
- The id of the profile
-
removeAllowedUsers
void removeAllowedUsers(Set<UserIdentity> users, String profileId)
Removes the association between some users and an allowed profile on this ametys object- Parameters:
users
- The users to removeprofileId
- The id of the profile
-
removeAllowedUsers
void removeAllowedUsers(Set<UserIdentity> users)
Removes the association between some users and all allowed profiles on this ametys object- Parameters:
users
- The users to remove
-
addAllowedGroups
void addAllowedGroups(Set<GroupIdentity> groups, String profileId)
Associates some groups with an allowed profile on this ametys object- Parameters:
groups
- The groups to addprofileId
- The id of the profile
-
removeAllowedGroups
void removeAllowedGroups(Set<GroupIdentity> groups, String profileId)
Removes the association between some groups and an allowed profile on this ametys object- Parameters:
groups
- The groups to removeprofileId
- The id of the profile
-
removeAllowedGroups
void removeAllowedGroups(Set<GroupIdentity> groups)
Removes the association between some groups and all allowed profiles on this ametys object- Parameters:
groups
- The groups to remove
-
addDeniedUsers
void addDeniedUsers(Set<UserIdentity> users, String profileId)
Associates some users with a denied profile on this ametys object- Parameters:
users
- The users to addprofileId
- The id of the profile
-
removeDeniedUsers
void removeDeniedUsers(Set<UserIdentity> users, String profileId)
Removes the association between some users and an denied profile on this ametys object- Parameters:
users
- The users to removeprofileId
- The id of the profile
-
removeDeniedUsers
void removeDeniedUsers(Set<UserIdentity> users)
Removes the association between some users and all denied profiles on this ametys object- Parameters:
users
- The users to remove
-
addDeniedGroups
void addDeniedGroups(Set<GroupIdentity> groups, String profileId)
Associates some groups with an allowed profile on this ametys object- Parameters:
groups
- The groups to addprofileId
- The id of the profile
-
removeDeniedGroups
void removeDeniedGroups(Set<GroupIdentity> groups, String profileId)
Removes the association between some groups and an allowed profile on this ametys object- Parameters:
groups
- The groups to removeprofileId
- The id of the profile
-
removeDeniedGroups
void removeDeniedGroups(Set<GroupIdentity> groups)
Removes the association between some groups and all allowed profiles on this ametys object- Parameters:
groups
- The groups to remove
-
disallowInheritance
void disallowInheritance(boolean disallow)
Allow or disallow inheritance of permissions- Parameters:
disallow
- true to disallow inheritance
-
-