Class DefaultRetentionPolicyPermissionService
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.service.DefaultRetentionPolicyPermissionService
-
- All Implemented Interfaces:
RetentionPolicyPermissionService
public class DefaultRetentionPolicyPermissionService extends Object implements RetentionPolicyPermissionService
Default service for getting a user's permission to edit a space's retention policy- Since:
- 7.15
-
-
Constructor Summary
Constructors Constructor Description DefaultRetentionPolicyPermissionService(RetentionPolicyPermissionManager retentionPolicyPermissionManager, SpaceManagerInternal spaceManagerInternal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getUserRetentionPolicyPermissionForSpace(String spaceKey)
A method that returns whether the current user is permitted to make change to a given space's retention policy
-
-
-
Constructor Detail
-
DefaultRetentionPolicyPermissionService
public DefaultRetentionPolicyPermissionService(RetentionPolicyPermissionManager retentionPolicyPermissionManager, SpaceManagerInternal spaceManagerInternal)
-
-
Method Detail
-
getUserRetentionPolicyPermissionForSpace
public boolean getUserRetentionPolicyPermissionForSpace(String spaceKey)
Description copied from interface:RetentionPolicyPermissionService
A method that returns whether the current user is permitted to make change to a given space's retention policy- Specified by:
getUserRetentionPolicyPermissionForSpace
in interfaceRetentionPolicyPermissionService
- Returns:
- see above
-
-