public void deleteReferenceSetsForWorkflowRun(String workflowRunId) throws ReferenceServiceException { checkDao(); referenceSetDao.deleteReferenceSetsForWFRun(workflowRunId); } }
/** * {@inheritDoc} */ public ReferenceSet getReferenceSet(T2Reference id) throws ReferenceSetServiceException { checkDao(); try { return referenceSetDao.get(id); } catch (DaoException de) { throw new ReferenceSetServiceException(de); } }
/** * {@inheritDoc} */ public ReferenceSet getReferenceSet(T2Reference id) throws ReferenceSetServiceException { checkDao(); try { return referenceSetDao.get(id); } catch (DaoException de) { throw new ReferenceSetServiceException(de); } }
public boolean delete(T2Reference reference) throws ReferenceServiceException { checkDao(); ReferenceSet set=referenceSetDao.get(reference); if (set==null) return false; return referenceSetDao.delete(set); }
/** * {@inheritDoc} */ public ReferenceSet getReferenceSet(T2Reference id) throws ReferenceSetServiceException { checkDao(); try { return referenceSetDao.get(id); } catch (DaoException de) { throw new ReferenceSetServiceException(de); } }
Set<ExternalReferenceSPI> references, ReferenceContext context) throws ReferenceSetServiceException { checkDao(); checkGenerator();
Set<Class<ExternalReferenceSPI>> ensureTypes, ReferenceContext context) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); if (context == null) {
Set<Class<ExternalReferenceSPI>> ensureTypes, ReferenceContext context) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); if (context == null) {
Set<Class<ExternalReferenceSPI>> ensureTypes, ReferenceContext context) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); if (context == null) {
/** * {@inheritDoc} */ public ReferenceSet registerReferenceSet( Set<ExternalReferenceSPI> references) throws ReferenceSetServiceException { checkDao(); checkGenerator(); ReferenceSetImpl rsi = new ReferenceSetImpl(); rsi .setExternalReferences(new HashSet<ExternalReferenceSPI>( references)); T2Reference id = t2ReferenceGenerator.nextReferenceSetReference(); rsi.setTypedId(T2ReferenceImpl.getAsImpl(id)); try { referenceSetDao.store(rsi); return rsi; } catch (DaoException de) { throw new ReferenceSetServiceException(de); } } }
/** * {@inheritDoc} */ public ReferenceSet registerReferenceSet( Set<ExternalReferenceSPI> references, ReferenceContext context) throws ReferenceSetServiceException { checkDao(); checkGenerator(); context = EmptyReferenceContext.checkContext(context); ReferenceSetImpl rsi = new ReferenceSetImpl(); rsi .setExternalReferences(new HashSet<ExternalReferenceSPI>( references)); T2Reference id = getGenerator(context).nextReferenceSetReference(); rsi.setTypedId(T2ReferenceImpl.getAsImpl(id)); try { referenceSetDao.store(rsi); return rsi; } catch (DaoException de) { throw new ReferenceSetServiceException(de); } } }