You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.

IProcessEngine.java
package com.aquima.interactions.process;

public interface IProcessEngine
    extends IProcessEngineDefinitions, IProcessEngineBehavior, IProcessData, IProcessExpressionHandler {

  void registerDelegate(IProcessTaskDelegate processTaskDelegate);

  void registerCaseEvaluator(ICaseEvaluator evaluator);

  ICaseEvaluator getCaseEvaluator();

  ProcessSettings getProcessSettings();
}
IProcessEngineDefinitions.java
package com.aquima.interactions.process;

public interface IProcessEngineDefinitions {

  IMetaModel getCaseModel();

  IRole[] getRoles();

  IProcessDefinition getProcessByName(String name);

  IProcessTaskDefinition getTaskByName(String name);

  IProcessTaskDefinition getProcessTaskDefinition(GUID nodeId);

  IProcessEventDefinition getProcessEventByName(String eventName);

  IMessageEventDefinition getMessageEventByName(String eventName);

  GUID[] getNodeIds();

  IProcessNodeDefinition getNodeDefinition(GUID nodeId);

  IProcessDefinition[] getCaseProcesses();

  ProcessTypeDefinition getTypeByName(String typeName);

  IAuthorizationAlgorithmDefinition getAuthorizationAlgorithm(String name);

  IPriorityAlgorithmDefinition getPriorityAlgorithm(String name);

  IRoutingAlgorithmDefinition getRoutingAlgorithm(String name);

  IExpressionParser getExpressionParser();
}  
IProcessEngineBehaviour.java
package com.aquima.interactions.process;

public interface IProcessEngineBehavior {

  void closeCase(IUserData userData, long caseId);

  void notifyEvent(IMessageEvent messageEvent, IUserData user, IProcessCaseChangeListener listener);

  void notifyEvent(IMessageEvent messageEvent, IUserData user, IProcessCaseChangeListener listener, Set<Long> specificCaseIds);

  void evaluateTimer(DateTimeValue currentTime);

  void reopenTask(long taskId);

  void reopenTask(long taskId, IUserData userData);

  long replayMessageEvent(long eventId, Long caseId);

  long replayMessageEvent(long eventId, Long caseId, IUserData userData);

  long replayTimerEvent(long eventId);

  long replayTimerEvent(long eventId, IUserData userData);

  void cancelStartedTasks();
}
IProcessData.java
package com.aquima.interactions.process;

public interface IProcessData {

  IProcessTask getTask(long taskId);

  ITaskModel getTaskModel(long taskId);

  IProcessTask[] getAvailableTasks(IUserData userData, Long caseId);

  IProcessTask[] getUnassignedTasks();

  IProcessTaskView[] findTasks(TaskCriteria taskFilter);

  IProcessCaseView[] findCases(CaseCriteria caseFilter);

  IProcessCase[] getAvailableCases(IUserData userData);

  IProcessCase getCase(long caseId);

  ICaseModel[] findWaitingCases(String messageEventName, Set<Long> specificCaseIds);

  TaskViewResult findByCriteria(TaskViewCriteria criteria);

  CaseViewResult findByCriteria(CaseViewCriteria criteria);

  ICaseStateModel getCaseState(long caseId);
}
IProcessExpressionHandler.java
package com.aquima.interactions.process;

public interface IProcessExpressionHandler {

  IMultilingualText evaluateIMultilingualText(IMultilingualText displayNameContent, IProfile profile);
}
  • No labels