Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Activation and deactivation of retention service

The retention service is activated in configuration by setting the retention.type parameter to adretention:

...

Code Block
<repository name>.retention.type=none

...

Format of specifying retention period values

The values for the parameters startofretentionperiod, expirationperiod, destructionperiod specify periods and follow the format described below.

Periods define the amount of time (e.g., days, months, years) from creation date the documents should be protected from modification.

...

The following matchers are aviable available for configuring the retention period for components (documentname) or paths (containerpath).

Code Block
equals
notequals
contains
notcontains
startswith
notstartswith
endswith
notendswith

Example for ArchiveLink Repositories

...

Retention for all components without note, kgsannotation, descr, pagelist, note.meta,..

...

  • Line 1: If there is a mime type specified, it will be used just for the defined mime type (e.g., PDF).

  • Line 2: Defines the start of the retentionperiod. In this example, the retention starts immediately.

  • LIne 3: Defines the expirationperiod. In this example, the retention is set for 9 years.

  • Line 4: Defines the destructionperiod. In this example, the destruction will be possible one day after the defined retentionperiod (9 years and 1 day, Expirationperiod + destructionperiod).

  • LIne Line 5: The retention will be just used for “addocument”.

  • Line 6: Defines the matcher and components that are involved. In this example, retention will be excluded for all defined components.

...