Interface SpacePermissionManagerInternal

All Superinterfaces:
SpacePermissionManager, SpacePermissionSaver, SpacePermissionSaverInternal
All Known Implementing Classes:
AbstractSpacePermissionManager, CachingSpacePermissionManager, CoarseGrainedCachingSpacePermissionManager, DefaultSpacePermissionManager, DelegatingSpacePermissionManager, ReadOnlySpacePermissionManager, RecoveryAwareCachingSpacePermissionManager, RecoveryAwareCGCachingSpacePermissionManager, RecoveryAwareSpacePermissionManager, ScopesAwareSpacePermissionManager, SpacePermissionCoordinator

@Transactional public interface SpacePermissionManagerInternal extends SpacePermissionManager, SpacePermissionSaverInternal
Internal version of the SpacePermissionManager; see package-info.java for rationale.
Since:
5.9
  • Method Details

    • removeAllPermissions

      void removeAllPermissions(Space space, SpacePermissionContext context)
      Removes all permissions belonging to space
      Parameters:
      space - The space to remove the permissions for
      context - The context for this removal
    • removePermission

      void removePermission(SpacePermission permission, SpacePermissionContext context)
      Removes the given permission.

      May generate a SpacePermissionRemoveEvent in the process, depending on the context.

      Parameters:
      permission - the permission to remove
      context - the context for the removal
    • removePermissions

      void removePermissions(Collection<SpacePermission> permissionsToRemove, SpacePermissionContext context)
      Removes the given permissions.

      May generate a SpacePermissionRemoveEvent in the process, depending on the context.

      Parameters:
      permissionsToRemove - the permissions to remove
      context - the context for the removal
    • removeAllUserPermissions

      void removeAllUserPermissions(ConfluenceUser user, SpacePermissionContext context)
      Removes all permissions for the given user.

      May generate a SpacePermissionsRemoveForUserEvent in the process, depending on the context.

      Parameters:
      user - the user to remove permissions for
      context - the context for the removal
    • removeGlobalPermissionForUser

      void removeGlobalPermissionForUser(ConfluenceUser user, String permissionType, SpacePermissionContext context)
      Removes global permission of specified type that is directly associated with a user.

      May generate a SpacePermissionsRemoveForUserEvent in the process, depending on the context.

      Parameters:
      user - the user to look up
      permissionType - the permission type to remove
      context - the context for the removal
    • removeAllPermissionsForGroup

      void removeAllPermissionsForGroup(String group, SpacePermissionContext context)
      Removes all permissions for the given group.

      May generate a SpacePermissionsRemoveForGroupEvent in the process, depending on the context.

      Parameters:
      group - the group to remove