com.atlassian.confluence.security
Class SpacePermissionGroupNamesCache
java.lang.Object
com.atlassian.confluence.security.SpacePermissionGroupNamesCache
@Internal
@ParametersAreNonnullByDefault
public class SpacePermissionGroupNamesCache
- extends Object
Maintains a cache of [space-key]/[permission-type] pairs to user group names.
In other words, for a given space permission type and space, it caches which user groups have that permission.
It also works for global permissions, i.e. null space.
- Since:
- 5.6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static SpacePermissionGroupNamesCache create(SpacePermissionDao spacePermissionDao,
com.atlassian.cache.CacheFactory cacheFactory)
getGroupNamesWithPermission
@Nonnull
public Set<String> getGroupNamesWithPermission(@Nullable
Space space,
String permissionType)
invalidate
public void invalidate(String permissionType,
@Nullable
Space space)
invalidateAll
public void invalidateAll()
Copyright © 2003–2015 Atlassian. All rights reserved.