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.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 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 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 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 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 voidSimpleContentPermissionProvider. 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 ContentPermission Modifier and Type Method Description ContentPermissionContentEntityObject. 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 voidContentPermissionManager. addContentPermission(ContentPermission permission, ContentEntityObject content)Add permissions to the content entity objecct through the manager.voidDefaultContentPermissionManager. addContentPermission(ContentPermission permission, ContentEntityObject content)Adds a new current content permission to the CEO if it doesn't have it already.voidContentEntityObject. addPermission(ContentPermission permission)Adds a ContentPermission.voidContentPermissionManager. removeContentPermission(ContentPermission permission)voidDefaultContentPermissionManager. removeContentPermission(ContentPermission contentPermission)Method parameters in com.atlassian.confluence.core with type arguments of type ContentPermission Modifier and Type Method Description voidContentPermissionManager. 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.voidDefaultContentPermissionManager. 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.core.persistence
Methods in com.atlassian.confluence.core.persistence that return ContentPermission Modifier and Type Method Description ContentPermissionContentPermissionDao. 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 ContentPermissionContentPermissionHibernateDao. 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 ContentPermissionContentPermissionAddedEvent. getPermission()ContentPermissionContentPermissionRemovedEvent. 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 ContentPermissionContentPermissionEvent. 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.pages.actions
Methods in com.atlassian.confluence.pages.actions that return ContentPermission Modifier and Type Method Description ContentPermissionAbstractCreateAndEditPageAction. getCurrentEditPermission()ContentPermissionAbstractCreateAndEditPageAction. 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 viewContentPermissions 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 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 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 classNeverPermittedContentPermissionMethods in com.atlassian.confluence.security that return ContentPermission Modifier and Type Method Description static 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 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 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.Iterator<ContentPermission>ContentPermissionSet. iterator()Methods in com.atlassian.confluence.security with parameters of type ContentPermission Modifier and Type Method Description voidContentPermissionSet. addContentPermission(ContentPermission contentPermission)intContentPermission. compareTo(ContentPermission that)booleanContentPermissionSet. contains(ContentPermission contentPermission)voidContentPermissionSet. 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 theContentPermissions 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.
-