Uses of Class
com.atlassian.confluence.security.ContentPermission
Packages that use ContentPermission
Package
Description
This package contains handlers that know how to create change values out of
changed objects.
-
Uses of ContentPermission in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionprotected @NonNull Map<String, Collection<ContentPermission>> ContentRestrictionServiceImpl.getMergedContentPermissions(@NonNull ContentEntityObject ceo, @NonNull Collection<? extends ContentRestriction> givenContentRestrictions, @NonNull ContentRestrictionServiceImpl.MergeMode mergeMode) Builds a Map ofContentPermissions mapped to their PermissionType fromgivenContentRestrictionsprovided and the ones already existing onContentEntityObjectprotected @NonNull Optional<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissionForGroup(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Group group) Gets pre-existingContentPermission(singular, optional) for theGroupandOperationKey(as String permissionType) specified.protected @NonNull Optional<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissionForSubject(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Subject subject) Gets pre-existingContentPermission(singular, optional) for theSubjectandOperationKey(as String permissionType) specified.protected @NonNull Optional<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissionForUser(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @NonNull User user) Gets pre-existingContentPermission(singular, optional) for theUserandOperationKey(as String permissionType) specified.protected @NonNull Set<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType) Gets Set of all the distinctContentPermissions of the specifiedpermissionTypepre-existing on theContentEntityObjectpassed.protected @NonNull Set<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Predicate<ContentPermission> filterBy) Gets Set of all the distinctContentPermissions of the specifiedpermissionTypepre-existing on theContentEntityObjectpassed.protected @NonNull Set<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissionsForSubjectType(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable SubjectType subjectType) Gets pre-existingContentPermissions (plural) for theSubjectTypeandOperationKey(as String permissionType) specified.Method parameters in com.atlassian.confluence.api.impl.service.permissions with type arguments of type ContentPermissionModifier and TypeMethodDescriptionprotected @NonNull Set<ContentPermission> ContentRestrictionServiceImpl.getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Predicate<ContentPermission> filterBy) Gets Set of all the distinctContentPermissions of the specifiedpermissionTypepre-existing on theContentEntityObjectpassed.protected @NonNull ValidationResultContentRestrictionServiceImpl.validateSelfAccessRetained(@NonNull Map<String, Collection<ContentPermission>> contentPermissionByPermissionTypeMap) Validates that currently logged in user will have direct specific ContentPermission specified for self in case when providedcontentPermissionByPermissionTypeMapwill become the actual ContentPermissions. -
Uses of ContentPermission in com.atlassian.confluence.content.service.page
Methods in com.atlassian.confluence.content.service.page that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionContentPermissionProvider.getEditPermissions()SimpleContentPermissionProvider.getEditPermissions()ContentPermissionProvider.getViewPermissions()SimpleContentPermissionProvider.getViewPermissions()Method parameters in com.atlassian.confluence.content.service.page with type arguments of type ContentPermissionModifier and TypeMethodDescriptionvoidSimpleContentPermissionProvider.setEditPermissions(Collection<ContentPermission> editPermissions) voidSimpleContentPermissionProvider.setViewPermissions(Collection<ContentPermission> viewPermissions) -
Uses of ContentPermission in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentPermissionModifier and TypeMethodDescriptionContentEntityObject.getContentPermission(String permissionType) Deprecated.since 2.6 - use getContentPermissionSetMethods in com.atlassian.confluence.core that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionstatic List<ContentPermission> ContentPermissionUtils.createContentPermissionsFromSet(ContentPermissionSet contentPermissionSet) ContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject) ContentEntityObject.getPermissions()Deprecated.since 2.6 - useContentEntityObject.getContentPermissionSet(String)ContentPermissionManager.getViewContentPermissions(Page page) Deprecated.since 5.8.Methods in com.atlassian.confluence.core with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidContentPermissionManager.addContentPermission(ContentPermission permission, ContentEntityObject content) Add permissions to the content entity objecct through the manager.voidContentEntityObject.addPermission(ContentPermission permission) Adds a ContentPermission.voidContentPermissionManager.removeContentPermission(ContentPermission permission) Method parameters in com.atlassian.confluence.core with type arguments of type ContentPermissionModifier and TypeMethodDescriptionvoidContentPermissionManager.setContentPermissions(@NonNull Map<String, Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content) Set the Content Permissions on the CEO to be the list ofContentPermissions passed.voidContentPermissionManager.setContentPermissions(Collection<ContentPermission> contentPermissions, ContentEntityObject content, String type) Set the Content Permissions on the CEO to be the list ofContentPermissions passed. -
Uses of ContentPermission in com.atlassian.confluence.core.persistence
Methods in com.atlassian.confluence.core.persistence that return ContentPermissionMethods in com.atlassian.confluence.core.persistence that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionContentPermissionDao.getGroupPermissions(String groupName) ContentPermissionDao.getUserPermissions(ConfluenceUser user) Methods in com.atlassian.confluence.core.persistence with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidContentPermissionDao.remove(ContentPermission contentPermission) voidContentPermissionDao.save(ContentPermission contentPermission) -
Uses of ContentPermission in com.atlassian.confluence.core.persistence.hibernate
Methods in com.atlassian.confluence.core.persistence.hibernate that return ContentPermissionMethods in com.atlassian.confluence.core.persistence.hibernate that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionContentPermissionHibernateDao.getGroupPermissions(String groupName) ContentPermissionHibernateDao.getUserPermissions(ConfluenceUser user) Methods in com.atlassian.confluence.core.persistence.hibernate with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidContentPermissionHibernateDao.remove(ContentPermission contentPermission) -
Uses of ContentPermission in com.atlassian.confluence.event.events.internal.security
Methods in com.atlassian.confluence.event.events.internal.security that return ContentPermissionModifier and TypeMethodDescriptionContentPermissionAddedEvent.getPermission()ContentPermissionRemovedEvent.getPermission()Constructors in com.atlassian.confluence.event.events.internal.security with parameters of type ContentPermissionModifierConstructorDescriptionContentPermissionAddedEvent(ContentEntityObject content, ContentPermission permission) ContentPermissionRemovedEvent(ContentEntityObject content, ContentPermission permission) -
Uses of ContentPermission in com.atlassian.confluence.event.events.security
Methods in com.atlassian.confluence.event.events.security that return ContentPermissionModifier and TypeMethodDescription@Nullable ContentPermissionContentPermissionEvent.getContentPermission()Constructors in com.atlassian.confluence.event.events.security with parameters of type ContentPermissionModifierConstructorDescriptionContentPermissionEvent(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission) ContentPermissionEvent(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission, boolean reindexNeeded) -
Uses of ContentPermission in com.atlassian.confluence.impl.audit.handler
Methods in com.atlassian.confluence.impl.audit.handler that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptioncom.atlassian.confluence.impl.audit.handler.DefaultAuditHandler<ContentPermission> AuditHandlerFactory.createContentPermissionHandler(com.atlassian.confluence.impl.audit.handler.AuditHandler<com.atlassian.user.User> userAuditHandler) -
Uses of ContentPermission in com.atlassian.confluence.impl.search.v2.lucene
Methods in com.atlassian.confluence.impl.search.v2.lucene with parameters of type ContentPermissionModifier and TypeMethodDescriptionstatic StringContentPermissionSearchUtils.getEncodedContentPermission(ContentPermission perm) -
Uses of ContentPermission in com.atlassian.confluence.impl.security.content
Methods in com.atlassian.confluence.impl.security.content that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionDefaultContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject) Filters the inherited content permission sets of a page for a list of inherited user permissions (of typeVIEW_PERMISSION)DefaultContentPermissionManager.getViewContentPermissions(Page page) Methods in com.atlassian.confluence.impl.security.content with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidDefaultContentPermissionManager.addContentPermission(ContentPermission permission, ContentEntityObject content) Adds a new current content permission to the CEO if it doesn't have it already.voidDefaultContentPermissionManager.removeContentPermission(ContentPermission contentPermission) Method parameters in com.atlassian.confluence.impl.security.content with type arguments of type ContentPermissionModifier and TypeMethodDescriptionvoidDefaultContentPermissionManager.setContentPermissions(@NonNull Map<String, Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content) voidDefaultContentPermissionManager.setContentPermissions(Collection<ContentPermission> requiredPermissions, ContentEntityObject content, String type) -
Uses of ContentPermission in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that return ContentPermissionModifier and TypeMethodDescriptionAbstractCreateAndEditPageAction.getCurrentEditPermission()AbstractCreateAndEditPageAction.getCurrentViewPermission()Methods in com.atlassian.confluence.pages.actions that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionPagePermissionsActionHelper.createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers) Deprecated.since 7.5.0 UsePagePermissionsActionHelper.createPermissions(String, List, List)insteadPagePermissionsActionHelper.createPermissions(String contentPermissionType, List<String> permissionsGroupList, List<String> permissionsUserList) Returns the viewContentPermissions of the required type for this helper instance, adding the helper User if they don't have view permission via the list.ViewPageAction.getInheritedContentPermissions()ListPermissionPagesAction.getPermissions(Page page) ViewPageAction.getThisPagePermissions()Method parameters in com.atlassian.confluence.pages.actions with type arguments of type ContentPermissionModifier and TypeMethodDescriptionprotected voidAbstractCreateAndEditPageAction.setPermissions(List<ContentPermission> permissions) -
Uses of ContentPermission in com.atlassian.confluence.rpc.soap.beans
Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type ContentPermissionModifierConstructorDescriptionRemoteContentPermission(ContentPermission contentPermission) RemotePermission(ContentPermission permission) Deprecated. -
Uses of ContentPermission in com.atlassian.confluence.security
Subclasses of ContentPermission in com.atlassian.confluence.securityMethods in com.atlassian.confluence.security that return ContentPermissionModifier and TypeMethodDescriptionstatic ContentPermissionContentPermission.createGroupPermission(String type, String groupName) static ContentPermissionContentPermission.createUserPermission(String type, ConfluenceUser user) static ContentPermissionContentPermission.createUserPermission(String type, String userName) Deprecated.since 5.2.Methods in com.atlassian.confluence.security that return types with arguments of type ContentPermissionModifier and TypeMethodDescriptionContentPermissionSet.contentPermissionsCopy()Retrieve a copy of the content permissions.ContentPermissionSet.getAllExcept(Collection<ContentPermission> exclusions) Retrieve all theContentPermissions in this set that do not exist in the given collection.com.google.common.collect.ImmutableCollection<ContentPermission> ContentPermissionSet.getContentPermissionsCopy()Deprecated.since 7.0.1.ContentPermissionSet.iterator()Methods in com.atlassian.confluence.security with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidContentPermissionSet.addContentPermission(ContentPermission contentPermission) intContentPermission.compareTo(ContentPermission that) booleanContentPermissionSet.contains(ContentPermission contentPermission) booleanContentPermissionTester.isPermitted(ContentPermission permission, @Nullable ConfluenceUser user) voidContentPermissionSet.removeContentPermission(ContentPermission contentPermission) Remove the given content permission from this set.Method parameters in com.atlassian.confluence.security with type arguments of type ContentPermissionModifier and TypeMethodDescriptionbooleanContentPermissionTester.anyPermitted(Iterable<ContentPermission> permissions, @Nullable ConfluenceUser user) ContentPermissionSet.getAllExcept(Collection<ContentPermission> exclusions) Retrieve all theContentPermissions in this set that do not exist in the given collection.Constructors in com.atlassian.confluence.security with parameters of type ContentPermission -
Uses of ContentPermission in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces that return ContentPermissionModifier and TypeMethodDescriptionReadOnlySpaceDescription.getContentPermission(String permissionType) Methods in com.atlassian.confluence.spaces that return types with arguments of type ContentPermissionMethods in com.atlassian.confluence.spaces with parameters of type ContentPermissionModifier and TypeMethodDescriptionvoidReadOnlySpaceDescription.addPermission(ContentPermission permission)