Class SpaceRetentionPolicyResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.retentionrules.rest.SpaceRetentionPolicyResource
-
public class SpaceRetentionPolicyResource extends Object
-
-
Constructor Summary
Constructors Constructor Description SpaceRetentionPolicyResource(SpaceRetentionPolicyService spaceRetentionPolicyService, RetentionFeatureChecker featureChecker, SearchService searchService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
deleteSpaceRetentionPolicy(String spaceKey)
javax.ws.rs.core.Response
searchSpaces(String titleOrKey)
javax.ws.rs.core.Response
searchSpacesWithRetentionPolicies(String titleOrKey)
javax.ws.rs.core.Response
setSpaceRetentionPolicy(String spaceKey, SpaceRetentionPolicy policy)
-
-
-
Constructor Detail
-
SpaceRetentionPolicyResource
public SpaceRetentionPolicyResource(SpaceRetentionPolicyService spaceRetentionPolicyService, RetentionFeatureChecker featureChecker, SearchService searchService)
-
-
Method Detail
-
setSpaceRetentionPolicy
public javax.ws.rs.core.Response setSpaceRetentionPolicy(String spaceKey, SpaceRetentionPolicy policy)
-
deleteSpaceRetentionPolicy
public javax.ws.rs.core.Response deleteSpaceRetentionPolicy(String spaceKey)
-
searchSpacesWithRetentionPolicies
public javax.ws.rs.core.Response searchSpacesWithRetentionPolicies(String titleOrKey)
-
searchSpaces
public javax.ws.rs.core.Response searchSpaces(String titleOrKey)
-
-