Interface SpaceRetentionPolicyService
Deprecated.
since 7.14.0
Service for interacting with the SpaceRetentionPolicy settings
- Since:
- 7.12
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePolicy(String spaceKey) Deprecated.Delete a space retention policy.getPolicy(long spaceId) Deprecated.Deprecated.voidsavePolicy(String spaceKey, SpaceRetentionPolicy newPolicy) Deprecated.Save or update retention policy for a space
-
Method Details
-
deletePolicy
Deprecated.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
Deprecated.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
Deprecated.- Returns:
- retention policy of a space, if any.
-
getPolicy
Deprecated.- Returns:
- retention policy of a space, if any.
-