Unsolved
This post is more than 5 years old
1 Message
0
1844
Changing the retention period
Hi,
We have written a custom integration between Centera storage and our software.
It appears to work fine unless we want to delete documents. Using the public test servers we get FP_OPERATION_NOT_ALLOWED when we issue FPClip_Delete even though we are using the c?profile1.pea - and FPPool_GetCapability returns TRUE for Delete.
For our application we would like to set the retention period of any document stored in Centera to infinite (permanent) unless the administrative users determine that the document has to be deleted.
Is this possible to do? How would you recommend we go about it? We've tried setting the retention period to INFINITE when the clip is created then changing it to 0 prior to attempting to delete it but this returns the error as above.
Thanks,
Nicole.
mfh2
208 Posts
1
March 11th, 2014 19:00
Hi Nicole -
Fixed retention periods on Centera cannot be changed after the clip has been written. If you write a clip with infinite retention, then open it to change the retention and write it back you will actually be creating a second clip in the system with the new fixed retention period and the first clip will still exist with infinite retention.
The simplest way to implement the strategy you describe is to write all your clips with infinite retention and then use the Privileged Delete capability of the API to override the retention on the clips the admin wishes to delete. This requires the Centera be configured to allow this capability, which is off by default (see Centera Governance Privileged Delete).
If your Centera runs in Compliance Edition Plus mode (the most stringent configuration for compliance) the Privileged delete capability is permanently disabled. In this case you would need to investigate the much more involved Event Based Retention API. This API works well on Centera but it is not supported on many (any?) other storage platforms, so if you choose this route it will be difficult to port your system to another storage backend in the future.
You can find more information about the Centera Retention APIs in the programmers guide included in the SDK download package.
Best Regards,
Mike Horgan