Interface SpaceRetentionPolicyManager

    • Method Detail

      • deletePolicy

        void deletePolicy​(String spaceKey)
        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

        void savePolicy​(String spaceKey,
                        SpaceRetentionPolicy newPolicy)
        Save or update retention policy for a space
        Parameters:
        spaceKey - key of the space whose retention policy must be saved
        newPolicy - new retention policy
        Throws:
        NotFoundException - if specified space cannot be found