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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void applyRule​(pl.edu.icm.unity.types.translation.TranslationRule rule)
      Schedule a rule to be invoked immediately.
      void applyRuleSync​(pl.edu.icm.unity.types.translation.TranslationRule rule, long timeout)  
      pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule getScheduledRule​(java.lang.String id)  
      java.util.List<pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule> getScheduledRules()  
      void removeScheduledRule​(java.lang.String id)  
      java.lang.String scheduleRule​(pl.edu.icm.unity.types.bulkops.ScheduledProcessingRuleParam rule)  
      void updateScheduledRule​(pl.edu.icm.unity.types.bulkops.ScheduledProcessingRule rule)  
    • 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,
                           java.util.concurrent.TimeoutException
        Throws:
        pl.edu.icm.unity.exceptions.AuthorizationException
        java.util.concurrent.TimeoutException
      • scheduleRule

        java.lang.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​(java.lang.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

        java.util.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​(java.lang.String id)
                                                                         throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException