Interface BulkProcessingManagement


  • public interface BulkProcessingManagement
    Defines API allowing for bulk processing of entities - both manually and basing on a repeatable schedule.
    Author:
    K. Benedyczak
    • Method Detail

      • applyRule

        void applyRule​(pl.edu.icm.unity.types.translation.TranslationRule rule)
                throws pl.edu.icm.unity.exceptions.AuthorizationException
        Schedule a rule to be invoked immediately.
        Parameters:
        rule -
        Throws:
        pl.edu.icm.unity.exceptions.AuthorizationException
      • applyRuleSync

        void applyRuleSync​(pl.edu.icm.unity.types.translation.TranslationRule rule,
                           long timeout)
                    throws pl.edu.icm.unity.exceptions.AuthorizationException,
                           TimeoutException
        Throws:
        pl.edu.icm.unity.exceptions.AuthorizationException
        TimeoutException
      • scheduleRule

        String scheduleRule​(pl.edu.icm.unity.types.bulkops.ScheduledProcessingRuleParam rule)
                     throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • removeScheduledRule

        void removeScheduledRule​(String id)
                          throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • updateScheduledRule

        void updateScheduledRule​(pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule rule)
                          throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getScheduledRules

        List<pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule> getScheduledRules()
                                                                                throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getScheduledRule

        pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule getScheduledRule​(String id)
                                                                         throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException