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,CategoryJCR,CMSJCRTag,Container,Course,CourseList,CoursePart,DefaultAmetysObject,DefaultContent,DefaultLink,DefaultLockableAmetysObject,DefaultPage,DefaultSharedContent,DefaultTraversableAmetysObject,DefaultWebContent,DefaultWorkflowAwareContent,DefaultZone,JCRCalendar,JCRCalendarEvent,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
ACLAmetysObjectthat can store and modify its profile assignements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAllowedGroups(Set<GroupIdentity> groups, String profileId)Associates some groups with an allowed profile on this ametys objectvoidaddAllowedProfilesForAnonymous(Set<String> profileIds)Adds allowed profiles an anonymous user has on this ametys objectvoidaddAllowedProfilesForAnyConnectedUser(Set<String> profileIds)Adds allowed profiles any connected user has on this ametys objectvoidaddAllowedUsers(Set<UserIdentity> users, String profileId)Associates some users with an allowed profile on this ametys objectvoidaddDeniedGroups(Set<GroupIdentity> groups, String profileId)Associates some groups with an allowed profile on this ametys objectvoidaddDeniedProfilesForAnonymous(Set<String> profileIds)Adds denied profiles an anonymous user has on this ametys objectvoidaddDeniedProfilesForAnyConnectedUser(Set<String> profileIds)Adds denied profiles any connected user has on this ametys objectvoidaddDeniedUsers(Set<UserIdentity> users, String profileId)Associates some users with a denied profile on this ametys objectvoiddisallowInheritance(boolean disallow)Allow or disallow inheritance of permissionsvoidremoveAllowedGroups(Set<GroupIdentity> groups)Removes the association between some groups and all allowed profiles on this ametys objectvoidremoveAllowedGroups(Set<GroupIdentity> groups, String profileId)Removes the association between some groups and an allowed profile on this ametys objectvoidremoveAllowedProfilesForAnonymous(Set<String> profileIds)Removes allowed profiles an anonymous user has on this ametys objectvoidremoveAllowedProfilesForAnyConnectedUser(Set<String> profileIds)Removes allowed profiles any connected user has on this ametys objectvoidremoveAllowedUsers(Set<UserIdentity> users)Removes the association between some users and all allowed profiles on this ametys objectvoidremoveAllowedUsers(Set<UserIdentity> users, String profileId)Removes the association between some users and an allowed profile on this ametys objectvoidremoveDeniedGroups(Set<GroupIdentity> groups)Removes the association between some groups and all allowed profiles on this ametys objectvoidremoveDeniedGroups(Set<GroupIdentity> groups, String profileId)Removes the association between some groups and an allowed profile on this ametys objectvoidremoveDeniedProfilesForAnonymous(Set<String> profileIds)Removes denied profiles an anonymous user has on this ametys objectvoidremoveDeniedProfilesForAnyConnectedUser(Set<String> profileIds)Removes denied profiles any connected user has on this ametys objectvoidremoveDeniedUsers(Set<UserIdentity> users)Removes the association between some users and all denied profiles on this ametys objectvoidremoveDeniedUsers(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
-
-