@Override public ProcessDefinition deploy(final BusinessArchive businessArchive, final Map<String, String> options) throws DeploymentException { return getAPI(options).deploy(businessArchive); }
@Override public void deleteAllProcesses(final Map<String, String> options) throws UndeletableInstanceException, RemoteException, UndeletableProcessException { getAPI(options).deleteAllProcesses(); }
@Override public Boolean checkUserCredentialsWithPasswordHash(final String username, final String passwordHash, final Map<String, String> options) throws RemoteException { return getAPI(options).checkUserCredentialsWithPasswordHash(username, passwordHash); }
@Override public void deployJar(final String jarName, final byte[] jar, final Map<String, String> options) throws DeploymentException { getAPI(options).deployJar(jarName, jar); }
@Override public List<Rule> getRules(final RuleType ruleType, final int fromIndex, final int pageSige, final Map<String, String> options) throws RemoteException { return getAPI(options).getRules(ruleType, fromIndex, pageSige); }
@Override public void setResource(final ProcessDefinitionUUID processUUID, final String resourcePath, final byte[] content, final Map<String, String> options) throws ProcessNotFoundException { getAPI(options).setResource(processUUID, resourcePath, content); }
@Override public void deleteProcess(final ProcessDefinitionUUID processUUID, final Map<String, String> options) throws ProcessNotFoundException, UndeletableProcessException, UndeletableInstanceException { getAPI(options).deleteProcess(processUUID); }
@Override public void archive(final ProcessDefinitionUUID processUUID, final Map<String, String> options) throws DeploymentException { getAPI(options).archive(processUUID); }
@Override public Rule getRuleByUUID(final String ruleUUID, final Map<String, String> options) throws RuleNotFoundException, RemoteException { return getAPI(options).getRuleByUUID(ruleUUID); }
@Override public void updateMigrationDate(final ProcessDefinitionUUID processUUID, final Date migrationDate, final Map<String, String> options) throws ProcessNotFoundException, RemoteException { getAPI(options).updateMigrationDate(processUUID, migrationDate); }
@Override public void addMetaData(final String key, final String value, final Map<String, String> options) throws RemoteException { getAPI(options).addMetaData(key, value); }
@Override public void disable(final ProcessDefinitionUUID processUUID, final Map<String, String> options) throws DeploymentException { getAPI(options).disable(processUUID); }
@Override public Boolean isUserAdmin(final String username, final Map<String, String> options) throws UserNotFoundException, RemoteException { return getAPI(options).isUserAdmin(username); }
@Override public Rule createRule(final String name, final String label, final String description, final RuleType type, final Map<String, String> options) throws RemoteException, RuleAlreadyExistsException { return getAPI(options).createRule(name, label, description, type); }
@Override public void deleteRuleByUUID(final String ruleUUID, final Map<String, String> options) throws RuleNotFoundException, RemoteException { getAPI(options).deleteRuleByUUID(ruleUUID); }
@Override public Rule updateRuleByUUID(final String ruleUUID, final String name, final String label, final String description, final Map<String, String> options) throws RuleNotFoundException, RuleAlreadyExistsException, RemoteException { return getAPI(options).updateRuleByUUID(ruleUUID, name, label, description); }
@Override public String getMetaData(final String key, final Map<String, String> options) throws RemoteException { return getAPI(options).getMetaData(key); }
@Override public void enable(final ProcessDefinitionUUID processUUID, final Map<String, String> options) throws DeploymentException { getAPI(options).enable(processUUID); }
@Override public Boolean checkUserCredentials(final String username, final String password, final Map<String, String> options) throws RemoteException { return getAPI(options).checkUserCredentials(username, password); }
@Override public PrivilegePolicy getRuleTypePolicy(final RuleType ruleType, final Map<String, String> options) throws RemoteException { return getAPI(options).getRuleTypePolicy(ruleType); }