public ProcessAPIImpl() { this(new ProcessManagementAPIImplDelegate(), new DocumentAPIImpl(), new ProcessConfigurationAPIImpl(), new TaskInvolvementDelegate(), new ProcessInvolvementDelegate()); }
@Override @AvailableWhenTenantIsPaused public void resume() throws UpdateException { setTenantPaused(false); resolveDependenciesForAllProcesses(); }
@Override @AvailableWhenTenantIsPaused public TenantResource getBusinessDataModelResource() { return getTenantResource(TenantResourceType.BDM); }
@Override public void deleteOrganization() throws DeletionException { final OrganizationAPIImpl organizationAPIImpl = new OrganizationAPIImpl(getTenantAccessor(), 100); organizationAPIImpl.deleteOrganization(); }
@Override public Object call() throws Exception { try { checkMethodAccessibility(apiImpl, apiInterfaceName, method, session, /* Already in a transaction */true); return invokeAPI(method, apiImpl, parametersValues); } catch (final Throwable cause) { throw new ServerAPIRuntimeException(cause); } } };
@Override public Serializable execute(final long commandId, final Map<String, Serializable> parameters) throws CommandNotFoundException, CommandParameterizationException, CommandExecutionException { return execute(new SCommandFetcherById(commandId), parameters); }
@Override @AvailableWhenTenantIsPaused public void pause() throws UpdateException { setTenantPaused(true); }
@Override public Object call() throws Exception { try { return invokeAPI(method, apiImpl); } catch (final Throwable cause) { throw new ServerAPIRuntimeException(cause); } } };
@Override public Serializable execute(final String commandName, final Map<String, Serializable> parameters) throws CommandNotFoundException, CommandParameterizationException, CommandExecutionException { return execute(new SCommandFetcherByName(commandName), parameters); }
@Override public void update(final long commandId, final CommandUpdater updateDescriptor) throws UpdateException { update(new SCommandFetcherById(commandId), updateDescriptor); }
@Override public long getNumberOfCustomInfoDefinitions() { return createCustomUserInfoDefinitionAPI().count(); }
public ProcessAPIImpl() { this(new ProcessManagementAPIImplDelegate(), new DocumentAPIImpl(), new ProcessConfigurationAPIImpl(), new TaskInvolvementDelegate(), new ProcessInvolvementDelegate()); }
@Override @AvailableWhenTenantIsPaused public void resume() throws UpdateException { setTenantPaused(false); resolveDependenciesForAllProcesses(); }
@Override public void deleteOrganization() throws DeletionException { final OrganizationAPIImpl organizationAPIImpl = new OrganizationAPIImpl(getTenantAccessor(), 100); organizationAPIImpl.deleteOrganization(); }
@Override public Object call() throws Exception { try { checkMethodAccessibility(apiImpl, apiInterfaceName, method, session, /* Already in a transaction */true); return invokeAPI(method, apiImpl, parametersValues); } catch (final Throwable cause) { throw new ServerAPIRuntimeException(cause); } } };
@Override @AvailableWhenTenantIsPaused public TenantResource getBusinessDataModelResource() { return getTenantResource(TenantResourceType.BDM); }
@Override public Serializable execute(final long commandId, final Map<String, Serializable> parameters) throws CommandNotFoundException, CommandParameterizationException, CommandExecutionException { return execute(new SCommandFetcherById(commandId), parameters); }
@Override @AvailableWhenTenantIsPaused public void pause() throws UpdateException { setTenantPaused(true); }
@Override public Object call() throws Exception { try { return invokeAPI(method, apiImpl); } catch (final Throwable cause) { throw new ServerAPIRuntimeException(cause); } } };
@Override public Serializable execute(final String commandName, final Map<String, Serializable> parameters) throws CommandNotFoundException, CommandParameterizationException, CommandExecutionException { return execute(new SCommandFetcherByName(commandName), parameters); }