Package org.ametys.plugins.repository
Interface ACLAmetysObject
-
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
CommentableContent
,Content
,ModifiableACLAmetysObject
,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
,JCRSubscribersList
,JCRTag
,JCRTask
,JCRTasksList
,JCRThread
,JCRWorkflow
,JCRWorkflowProcess
,KeywordJCR
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,OrgUnitPage
,Person
,Program
,Project
,ProjectTagJCR
,Query
,QueryContainer
,RootAmetysObject
,Site
,Sitemap
,SubProgram
,Survey
,SurveyPage
,SurveyQuestion
,Thesaurus
,UGCPage
,UserPage
,VersionComponentAmetysObject
,VersionsAmetysObject
public interface ACLAmetysObject extends AmetysObject
AmetysObject
that can hold its profile assignments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<GroupIdentity>
getAllowedGroups(String profileId)
Gets the groups that have the given allowed profile on this ametys objectSet<String>
getAllowedProfilesForAnonymous()
Gets the allowed profiles an anonymous user has on this ametys objectSet<String>
getAllowedProfilesForAnyConnectedUser()
Gets the allowed profiles any connected user has on this ametys objectMap<GroupIdentity,Set<String>>
getAllowedProfilesForGroups()
Gets the groups that have allowed profiles assigned on this ametys objectSet<String>
getAllowedProfilesForUser(UserIdentity user)
Gets the allowed profiles assigned on this ametys object for this userMap<UserIdentity,Set<String>>
getAllowedProfilesForUsers()
Gets the users that have allowed profiles assigned on this ametys objectSet<UserIdentity>
getAllowedUsers(String profileId)
Gets the users that have the given allowed profile on this ametys objectSet<GroupIdentity>
getDeniedGroups(String profileId)
Gets the groups that have the given allowed profile on this ametys objectSet<String>
getDeniedProfilesForAnonymous()
Gets the denied profiles an anonymous user has on this ametys objectSet<String>
getDeniedProfilesForAnyConnectedUser()
Gets the denied profiles any connected user has on this ametys objectMap<GroupIdentity,Set<String>>
getDeniedProfilesForGroups()
Gets the groups that have allowed profiles assigned on this ametys objectSet<String>
getDeniedProfilesForUser(UserIdentity user)
Gets the denied profiles assigned on this ametys object for this userMap<UserIdentity,Set<String>>
getDeniedProfilesForUsers()
Gets the users that have denied profiles assigned on this ametys objectSet<UserIdentity>
getDeniedUsers(String profileId)
Gets the users that have the given denied profile on this ametys objectboolean
isInheritanceDisallowed()
Returns true if the inheritance is disallow for this ametys object-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
-
-
-
Method Detail
-
getAllowedProfilesForAnyConnectedUser
Set<String> getAllowedProfilesForAnyConnectedUser()
Gets the allowed profiles any connected user has on this ametys object- Returns:
- the allowed profiles any connected user has on this ametys object
-
getDeniedProfilesForAnyConnectedUser
Set<String> getDeniedProfilesForAnyConnectedUser()
Gets the denied profiles any connected user has on this ametys object- Returns:
- the denied profiles any connected user has on this ametys object
-
getAllowedProfilesForAnonymous
Set<String> getAllowedProfilesForAnonymous()
Gets the allowed profiles an anonymous user has on this ametys object- Returns:
- the allowed profiles an anonymous user has on this ametys object
-
getDeniedProfilesForAnonymous
Set<String> getDeniedProfilesForAnonymous()
Gets the denied profiles an anonymous user has on this ametys object- Returns:
- the denied profiles an anonymous user has on this ametys object
-
getAllowedProfilesForUser
Set<String> getAllowedProfilesForUser(UserIdentity user)
Gets the allowed profiles assigned on this ametys object for this user- Parameters:
user
- The user identity- Returns:
- The allowed profiles
-
getAllowedProfilesForUsers
Map<UserIdentity,Set<String>> getAllowedProfilesForUsers()
Gets the users that have allowed profiles assigned on this ametys object- Returns:
- The map of allowed users (keys) with their assigned profiles (values)
-
getAllowedUsers
Set<UserIdentity> getAllowedUsers(String profileId)
Gets the users that have the given allowed profile on this ametys object- Parameters:
profileId
- The id of the profile- Returns:
- The allowed users with that profile on this ametys object
-
getAllowedProfilesForGroups
Map<GroupIdentity,Set<String>> getAllowedProfilesForGroups()
Gets the groups that have allowed profiles assigned on this ametys object- Returns:
- The map of allowed groups (keys) with their assigned profiles (values)
-
getAllowedGroups
Set<GroupIdentity> getAllowedGroups(String profileId)
Gets the groups that have the given allowed profile on this ametys object- Parameters:
profileId
- The id of the profile- Returns:
- The allowed groups with that profile on that object
-
getDeniedProfilesForUser
Set<String> getDeniedProfilesForUser(UserIdentity user)
Gets the denied profiles assigned on this ametys object for this user- Parameters:
user
- The user identity- Returns:
- The denied profiles
-
getDeniedProfilesForUsers
Map<UserIdentity,Set<String>> getDeniedProfilesForUsers()
Gets the users that have denied profiles assigned on this ametys object- Returns:
- The map of denied users (keys) with their assigned profiles (values)
-
getDeniedUsers
Set<UserIdentity> getDeniedUsers(String profileId)
Gets the users that have the given denied profile on this ametys object- Parameters:
profileId
- The id of the profile- Returns:
- The denied users with that profile on this ametys object
-
getDeniedProfilesForGroups
Map<GroupIdentity,Set<String>> getDeniedProfilesForGroups()
Gets the groups that have allowed profiles assigned on this ametys object- Returns:
- The map of denied groups (keys) with their assigned profiles (values)
-
getDeniedGroups
Set<GroupIdentity> getDeniedGroups(String profileId)
Gets the groups that have the given allowed profile on this ametys object- Parameters:
profileId
- The id of the profile- Returns:
- The denied groups with that profile on this ametys object
-
isInheritanceDisallowed
boolean isInheritanceDisallowed()
Returns true if the inheritance is disallow for this ametys object- Returns:
- true if the inheritance is disallow for this ametys object
-
-