Uses of Class
com.atlassian.confluence.security.ContentPermission
-
Packages that use ContentPermission Package Description com.atlassian.confluence.api.impl.service.permissions com.atlassian.confluence.content.service.page com.atlassian.confluence.core com.atlassian.confluence.core.persistence com.atlassian.confluence.core.persistence.hibernate com.atlassian.confluence.event.events.internal.security com.atlassian.confluence.event.events.security com.atlassian.confluence.impl.audit.handler This package contains handlers that know how to create change values out of changed objects.com.atlassian.confluence.impl.search.v2.lucene com.atlassian.confluence.pages.actions com.atlassian.confluence.rpc.soap.beans com.atlassian.confluence.security -
-
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 ContentPermission Modifier and Type Method Description protected @NonNull Map<String,Collection<ContentPermission>>
ContentRestrictionServiceImpl. getMergedContentPermissions(@NonNull ContentEntityObject ceo, @NonNull Collection<? extends ContentRestriction> givenContentRestrictions, @NonNull ContentRestrictionServiceImpl.MergeMode mergeMode)
Builds a Map ofContentPermission
s mapped to their PermissionType fromgivenContentRestrictions
provided and the ones already existing onContentEntityObject
protected @NonNull Optional<ContentPermission>
ContentRestrictionServiceImpl. getPreExistingContentPermissionForGroup(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Group group)
Gets pre-existingContentPermission
(singular, optional) for theGroup
andOperationKey
(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 theSubject
andOperationKey
(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 theUser
andOperationKey
(as String permissionType) specified.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl. getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType)
Gets Set of all the distinctContentPermission
s of the specifiedpermissionType
pre-existing on theContentEntityObject
passed.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl. getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Predicate<ContentPermission> filterBy)
Gets Set of all the distinctContentPermission
s of the specifiedpermissionType
pre-existing on theContentEntityObject
passed.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl. getPreExistingContentPermissionsForSubjectType(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable SubjectType subjectType)
Gets pre-existingContentPermission
s (plural) for theSubjectType
andOperationKey
(as String permissionType) specified.Method parameters in com.atlassian.confluence.api.impl.service.permissions with type arguments of type ContentPermission Modifier and Type Method Description protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl. getPreExistingContentPermissions(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Predicate<ContentPermission> filterBy)
Gets Set of all the distinctContentPermission
s of the specifiedpermissionType
pre-existing on theContentEntityObject
passed.protected @NonNull ValidationResult
ContentRestrictionServiceImpl. validateSelfAccessRetained(@NonNull Map<String,Collection<ContentPermission>> contentPermissionByPermissionTypeMap)
Validates that currently logged in user will have direct specific ContentPermission specified for self in case when providedcontentPermissionByPermissionTypeMap
will 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 ContentPermission Modifier and Type Method Description Collection<ContentPermission>
ContentPermissionProvider. getEditPermissions()
Collection<ContentPermission>
SimpleContentPermissionProvider. getEditPermissions()
Collection<ContentPermission>
ContentPermissionProvider. getViewPermissions()
Collection<ContentPermission>
SimpleContentPermissionProvider. getViewPermissions()
Method parameters in com.atlassian.confluence.content.service.page with type arguments of type ContentPermission Modifier and Type Method Description void
SimpleContentPermissionProvider. setEditPermissions(Collection<ContentPermission> editPermissions)
void
SimpleContentPermissionProvider. setViewPermissions(Collection<ContentPermission> viewPermissions)
-
Uses of ContentPermission in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentPermission Modifier and Type Method Description ContentPermission
ContentEntityObject. getContentPermission(String permissionType)
Deprecated.since 2.6 - use getContentPermissionSetMethods in com.atlassian.confluence.core that return types with arguments of type ContentPermission Modifier and Type Method Description static List<ContentPermission>
ContentPermissionUtils. createContentPermissionsFromSet(ContentPermissionSet contentPermissionSet)
List<ContentPermission>
ContentPermissionManager. getInheritedContentUserPermissions(ContentEntityObject contentEntityObject)
List<ContentPermission>
DefaultContentPermissionManager. getInheritedContentUserPermissions(ContentEntityObject contentEntityObject)
Filters the inherited content permission sets of a page for a list of inherited user permissions (of typeVIEW_PERMISSION
)List<ContentPermission>
ContentEntityObject. getPermissions()
Deprecated.since 2.6 - useContentEntityObject.getContentPermissionSet(String)
Set<ContentPermission>
ContentPermissionManager. getViewContentPermissions(Page page)
Deprecated.since 5.8.Set<ContentPermission>
DefaultContentPermissionManager. getViewContentPermissions(Page page)
Deprecated.since 5.8.Methods in com.atlassian.confluence.core with parameters of type ContentPermission Modifier and Type Method Description void
ContentPermissionManager. addContentPermission(ContentPermission permission, ContentEntityObject content)
Add permissions to the content entity objecct through the manager.void
DefaultContentPermissionManager. addContentPermission(ContentPermission permission, ContentEntityObject content)
Adds a new current content permission to the CEO if it doesn't have it already.void
ContentEntityObject. addPermission(ContentPermission permission)
Adds a ContentPermission.void
ContentPermissionManager. removeContentPermission(ContentPermission permission)
void
DefaultContentPermissionManager. removeContentPermission(ContentPermission contentPermission)
Method parameters in com.atlassian.confluence.core with type arguments of type ContentPermission Modifier and Type Method Description void
ContentPermissionManager. setContentPermissions(@NonNull Map<String,Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content)
Set the Content Permissions on the CEO to be the list ofContentPermission
s passed.void
ContentPermissionManager. setContentPermissions(Collection<ContentPermission> contentPermissions, ContentEntityObject content, String type)
Set the Content Permissions on the CEO to be the list ofContentPermission
s passed.void
DefaultContentPermissionManager. setContentPermissions(@NonNull Map<String,Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content)
void
DefaultContentPermissionManager. setContentPermissions(Collection<ContentPermission> requiredPermissions, ContentEntityObject content, String type)
-
Uses of ContentPermission in com.atlassian.confluence.core.persistence
Methods in com.atlassian.confluence.core.persistence that return ContentPermission Modifier and Type Method Description ContentPermission
ContentPermissionDao. getById(long id)
Methods in com.atlassian.confluence.core.persistence that return types with arguments of type ContentPermission Modifier and Type Method Description List<ContentPermission>
ContentPermissionDao. getGroupPermissions(String groupName)
List<ContentPermission>
ContentPermissionDao. getUserPermissions(ConfluenceUser user)
-
Uses of ContentPermission in com.atlassian.confluence.core.persistence.hibernate
Methods in com.atlassian.confluence.core.persistence.hibernate that return ContentPermission Modifier and Type Method Description ContentPermission
ContentPermissionHibernateDao. getById(long id)
Methods in com.atlassian.confluence.core.persistence.hibernate that return types with arguments of type ContentPermission Modifier and Type Method Description List<ContentPermission>
ContentPermissionHibernateDao. getGroupPermissions(String groupName)
List<ContentPermission>
ContentPermissionHibernateDao. getUserPermissions(ConfluenceUser user)
-
Uses of ContentPermission in com.atlassian.confluence.event.events.internal.security
Methods in com.atlassian.confluence.event.events.internal.security that return ContentPermission Modifier and Type Method Description ContentPermission
ContentPermissionAddedEvent. getPermission()
ContentPermission
ContentPermissionRemovedEvent. getPermission()
Constructors in com.atlassian.confluence.event.events.internal.security with parameters of type ContentPermission Constructor Description ContentPermissionAddedEvent(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 ContentPermission Modifier and Type Method Description @Nullable ContentPermission
ContentPermissionEvent. getContentPermission()
Constructors in com.atlassian.confluence.event.events.security with parameters of type ContentPermission Constructor Description ContentPermissionEvent(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 ContentPermission Modifier and Type Method Description com.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 ContentPermission Modifier and Type Method Description static String
ContentPermissionSearchUtils. getEncodedContentPermission(ContentPermission perm)
-
Uses of ContentPermission in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that return ContentPermission Modifier and Type Method Description ContentPermission
AbstractCreateAndEditPageAction. getCurrentEditPermission()
ContentPermission
AbstractCreateAndEditPageAction. getCurrentViewPermission()
Methods in com.atlassian.confluence.pages.actions that return types with arguments of type ContentPermission Modifier and Type Method Description List<ContentPermission>
PagePermissionsActionHelper. createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers)
Deprecated.since 7.5.0 UsePagePermissionsActionHelper.createPermissions(String, List, List)
insteadList<ContentPermission>
PagePermissionsActionHelper. createPermissions(String contentPermissionType, List<String> permissionsGroupList, List<String> permissionsUserList)
Returns the viewContentPermission
s of the required type for this helper instance, adding the helper User if they don't have view permission via the list.List<ContentPermission>
ViewPageAction. getInheritedContentPermissions()
List<ContentPermission>
ListPermissionPagesAction. getPermissions(Page page)
List<ContentPermission>
ViewPageAction. getThisPagePermissions()
Method parameters in com.atlassian.confluence.pages.actions with type arguments of type ContentPermission Modifier and Type Method Description protected void
AbstractCreateAndEditPageAction. 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 ContentPermission Constructor Description RemoteContentPermission(ContentPermission contentPermission)
RemotePermission(ContentPermission permission)
Deprecated. -
Uses of ContentPermission in com.atlassian.confluence.security
Subclasses of ContentPermission in com.atlassian.confluence.security Modifier and Type Class Description class
NeverPermittedContentPermission
Methods in com.atlassian.confluence.security that return ContentPermission Modifier and Type Method Description static ContentPermission
ContentPermission. createGroupPermission(String type, String groupName)
static ContentPermission
ContentPermission. createUserPermission(String type, ConfluenceUser user)
static ContentPermission
ContentPermission. createUserPermission(String type, String userName)
Deprecated.since 5.2.Methods in com.atlassian.confluence.security that return types with arguments of type ContentPermission Modifier and Type Method Description Collection<ContentPermission>
ContentPermissionSet. contentPermissionsCopy()
Retrieve a copy of the content permissions.Collection<ContentPermission>
ContentPermissionSet. getAllExcept(Collection<ContentPermission> exclusions)
Retrieve all theContentPermission
s in this set that do not exist in the given collection.com.google.common.collect.ImmutableCollection<ContentPermission>
ContentPermissionSet. getContentPermissionsCopy()
Deprecated.since 7.0.1.Iterator<ContentPermission>
ContentPermissionSet. iterator()
Methods in com.atlassian.confluence.security with parameters of type ContentPermission Modifier and Type Method Description void
ContentPermissionSet. addContentPermission(ContentPermission contentPermission)
int
ContentPermission. compareTo(ContentPermission that)
boolean
ContentPermissionSet. contains(ContentPermission contentPermission)
void
ContentPermissionSet. removeContentPermission(ContentPermission contentPermission)
Remove the given content permission from this set.Method parameters in com.atlassian.confluence.security with type arguments of type ContentPermission Modifier and Type Method Description Collection<ContentPermission>
ContentPermissionSet. getAllExcept(Collection<ContentPermission> exclusions)
Retrieve all theContentPermission
s in this set that do not exist in the given collection.Constructors in com.atlassian.confluence.security with parameters of type ContentPermission Constructor Description ContentPermission(ContentPermission other)
Copy constructor.
-