@Override public Serializable getProcessInputValueAfterInitialization(long processInstanceId, String name) throws ContractDataNotFoundException { try { return getTenantAccessor().getContractDataService().getArchivedProcessDataValue(processInstanceId, name); } catch (SContractDataNotFoundException | SBonitaReadException e) { throw new ContractDataNotFoundException(e); } }
@Override public Serializable getProcessInputValueDuringInitialization(long processInstanceId, String name) throws ContractDataNotFoundException { try { return getTenantAccessor().getContractDataService().getProcessDataValue(processInstanceId, name); } catch (SContractDataNotFoundException | SBonitaReadException e) { throw new ContractDataNotFoundException(e); } }
@Override public Serializable getProcessInputValueAfterInitialization(long processInstanceId, String name) throws ContractDataNotFoundException { try { return getTenantAccessor().getContractDataService().getArchivedProcessDataValue(processInstanceId, name); } catch (SContractDataNotFoundException | SBonitaReadException e) { throw new ContractDataNotFoundException(e); } }
@Override public Serializable getProcessInputValueDuringInitialization(long processInstanceId, String name) throws ContractDataNotFoundException { try { return getTenantAccessor().getContractDataService().getProcessDataValue(processInstanceId, name); } catch (SContractDataNotFoundException | SBonitaReadException e) { throw new ContractDataNotFoundException(e); } }
@Override public Serializable getUserTaskContractVariableValue(final long userTaskInstanceId, final String name) throws ContractDataNotFoundException { final ContractDataService contractDataService = getTenantAccessor().getContractDataService(); try { return contractDataService.getArchivedUserTaskDataValue(userTaskInstanceId, name); } catch (final SContractDataNotFoundException scdnfe) { throw new ContractDataNotFoundException(scdnfe); } catch (final SBonitaReadException sbe) { throw new RetrieveException(sbe); } }
@Override public Serializable getUserTaskContractVariableValue(final long userTaskInstanceId, final String name) throws ContractDataNotFoundException { final ContractDataService contractDataService = getTenantAccessor().getContractDataService(); try { return contractDataService.getArchivedUserTaskDataValue(userTaskInstanceId, name); } catch (final SContractDataNotFoundException scdnfe) { throw new ContractDataNotFoundException(scdnfe); } catch (final SBonitaReadException sbe) { throw new RetrieveException(sbe); } }