Package pl.edu.icm.unity.engine.api
Interface BulkProcessingManagement
-
public interface BulkProcessingManagementDefines 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 voidapplyRule(TranslationRule rule)Schedule a rule to be invoked immediately.voidapplyRuleSync(TranslationRule rule, long timeout)ScheduledProcessingRulegetScheduledRule(String id)List<ScheduledProcessingRule>getScheduledRules()voidremoveScheduledRule(String id)StringscheduleRule(ScheduledProcessingRuleParam rule)voidupdateScheduledRule(ScheduledProcessingRule rule)
-
-
-
Method Detail
-
applyRule
void applyRule(TranslationRule rule) throws AuthorizationException
Schedule a rule to be invoked immediately.- Parameters:
rule-- Throws:
AuthorizationException
-
applyRuleSync
void applyRuleSync(TranslationRule rule, long timeout) throws AuthorizationException, TimeoutException
-
scheduleRule
String scheduleRule(ScheduledProcessingRuleParam rule) throws EngineException
- Throws:
EngineException
-
removeScheduledRule
void removeScheduledRule(String id) throws EngineException
- Throws:
EngineException
-
updateScheduledRule
void updateScheduledRule(ScheduledProcessingRule rule) throws EngineException
- Throws:
EngineException
-
getScheduledRules
List<ScheduledProcessingRule> getScheduledRules() throws EngineException
- Throws:
EngineException
-
getScheduledRule
ScheduledProcessingRule getScheduledRule(String id) throws EngineException
- Throws:
EngineException
-
-