Interface SpaceRetentionPolicyManager
- All Known Implementing Classes:
 CachingSpaceRetentionPolicyManager,DefaultSpaceRetentionPolicyManager
public interface SpaceRetentionPolicyManager
- Since:
 - 7.14.0
 
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePolicy(String spaceKey) Delete a space retention policy.getPolicy(long spaceId) voidsavePolicy(String spaceKey, SpaceRetentionPolicy newPolicy) Save or update retention policy for a space 
- 
Field Details
- 
SPACE_RETENTION_POLICY_KEY
- See Also:
 
 
 - 
 - 
Method Details
- 
deletePolicy
Delete a space retention policy.- Parameters:
 spaceKey- key of the space whose retention policy must be deleted- Throws:
 NotFoundException- if specified space does not currently have any retention policy
 - 
savePolicy
Save or update retention policy for a space- Parameters:
 spaceKey- key of the space whose retention policy must be savednewPolicy- new retention policy- Throws:
 NotFoundException- if specified space cannot be found
 - 
getPolicy
- Returns:
 - retention policy of a space, if any.
 
 - 
getPolicy
- Returns:
 - retention policy of a space, if any.
 
 
 -