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:
AbstractColorableJCRTag
,AbstractProgram
,AbstractProgramPart
,AbstractSitemapElement
,AbstractSurveyElement
,AbstractTraversableProgramPart
,AmetysObjectCollection
,Cart
,CartContainer
,CategoryJCR
,CMSJCRTag
,Container
,Course
,CourseList
,CoursePart
,DefaultAmetysObject
,DefaultContent
,DefaultLink
,DefaultLockableAmetysObject
,DefaultPage
,DefaultSharedContent
,DefaultTraversableAmetysObject
,DefaultWebContent
,DefaultWorkflowAwareContent
,DefaultZone
,Form
,FormDirectory
,FormPage
,FormQuestion
,JCRCalendar
,JCRCalendarEvent
,JCRCalendarResource
,JCRCategory
,JCRPost
,JCRProjectMember
,JCRResource
,JCRResourcesCollection
,JCRTag
,JCRTask
,JCRTasksList
,JCRThread
,KeywordJCR
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,Project
,ProjectTagJCR
,Query
,QueryContainer
,RootAmetysObject
,Site
,Sitemap
,SubProgram
,Survey
,SurveyPage
,SurveyQuestion
,ThemeJCR
,Thesaurus
,VersionComponentAmetysObject
,VersionsAmetysObject
ACLAmetysObject
that can store and modify its profile assignements.-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 objectMethods 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 Details
-
addAllowedProfilesForAnyConnectedUser
Adds allowed profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeAllowedProfilesForAnyConnectedUser
Removes allowed profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addDeniedProfilesForAnyConnectedUser
Adds denied profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeDeniedProfilesForAnyConnectedUser
Removes denied profiles any connected user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addAllowedProfilesForAnonymous
Adds allowed profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeAllowedProfilesForAnonymous
Removes allowed profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addDeniedProfilesForAnonymous
Adds denied profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to add
-
removeDeniedProfilesForAnonymous
Removes denied profiles an anonymous user has on this ametys object- Parameters:
profileIds
- The profiles to remove
-
addAllowedUsers
Associates some users with an allowed profile on this ametys object- Parameters:
users
- The users to addprofileId
- The id of the profile
-
removeAllowedUsers
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
Removes the association between some users and all allowed profiles on this ametys object- Parameters:
users
- The users to remove
-
addAllowedGroups
Associates some groups with an allowed profile on this ametys object- Parameters:
groups
- The groups to addprofileId
- The id of the profile
-
removeAllowedGroups
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
Removes the association between some groups and all allowed profiles on this ametys object- Parameters:
groups
- The groups to remove
-
addDeniedUsers
Associates some users with a denied profile on this ametys object- Parameters:
users
- The users to addprofileId
- The id of the profile
-
removeDeniedUsers
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
Removes the association between some users and all denied profiles on this ametys object- Parameters:
users
- The users to remove
-
addDeniedGroups
Associates some groups with an allowed profile on this ametys object- Parameters:
groups
- The groups to addprofileId
- The id of the profile
-
removeDeniedGroups
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
Removes the association between some groups and all allowed profiles on this ametys object- Parameters:
groups
- The groups to remove
-
disallowInheritance
Allow or disallow inheritance of permissions- Parameters:
disallow
- true to disallow inheritance
-