Class FederationBatchInfoService


  • @Component
    public class FederationBatchInfoService
    extends Object
    • Method Detail

      • save

        @Transactional
        public void save​(FederationBatchInfo federationBatchInfo)
        Persists the FederationBatchInfo instance. If the data of a particular federation batch already exists in the database, this federation batch is not persisted.
        Parameters:
        federationBatchInfo - must not contain null.
      • applyRetentionPolicy

        @Transactional
        public void applyRetentionPolicy​(int daysToRetain)
        Deletes all federation batch information entries which have a date that is older than the specified number of days.
        Parameters:
        daysToRetain - the number of days until which batch information will be retained.
        Throws:
        IllegalArgumentException - if daysToRetain is negative.