Class DispositionScheduleService


  • @Service
    public class DispositionScheduleService
    extends BaseAPI
    Service for different disposition schedule actions
    Since:
    2.6.2
    Author:
    jcule, cagache
    • Constructor Detail

      • DispositionScheduleService

        public DispositionScheduleService()
    • Method Detail

      • addRetainAfterPeriodStep

        public void addRetainAfterPeriodStep​(String categoryName,
                                             String period)
        Helper method for adding a retain after period step
        Parameters:
        categoryName - the category in whose schedule the step will be added
        period -
      • addCutOffAfterPeriodStep

        public void addCutOffAfterPeriodStep​(String categoryName,
                                             String period)
        Helper method for adding a cut off after period step
        Parameters:
        categoryName - the category in whose schedule the step will be added
        period -
      • addDestroyWithGhostingAfterPeriodStep

        public void addDestroyWithGhostingAfterPeriodStep​(String categoryName,
                                                          String period)
        Helper method for adding a destroy with ghosting after period
        Parameters:
        categoryName - the category in whose schedule the step will be added
        period -
      • addCutOffAfterEventStep

        public void addCutOffAfterEventStep​(String categoryName,
                                            String events)
        Helper method for adding a cut off after an event occurs step
        Parameters:
        categoryName - the category in whose schedule the step will be added
        events -
      • addAccessionStep

        public void addAccessionStep​(String categoryName,
                                     Boolean timeOrEvent,
                                     String events,
                                     String period,
                                     String periodProperty,
                                     Boolean combineConditions)
        Helper method for adding an accession step
        Parameters:
        timeOrEvent -
        events -
        period -
        periodProperty -
        combineConditions -
      • createCategoryRetentionSchedule

        public void createCategoryRetentionSchedule​(String categoryName,
                                                    Boolean appliedToRecords)
        Helper method to create retention schedule with general fields for the given category as admin and apply it to the records
        Parameters:
        categoryName -
        appliedToRecords -