public void deleteIdentifiedListsForWorkflowRun(String workflowRunId) throws ReferenceServiceException { checkDao(); listDao.deleteIdentifiedListsForWFRun(workflowRunId); }
public IdentifiedList<T2Reference> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
public IdentifiedList<T2Reference> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
public boolean delete(T2Reference reference) throws ReferenceServiceException { checkDao(); IdentifiedList<T2Reference> list=listDao.get(reference); if (list==null) return false; return listDao.delete(list); }
public IdentifiedList<T2Reference> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
public IdentifiedList<T2Reference> registerEmptyList(int depth) throws ListServiceException { checkDao(); checkGenerator(); T2ReferenceImpl newReference = T2ReferenceImpl .getAsImpl(t2ReferenceGenerator.nextListReference(false, depth)); T2ReferenceListImpl newList = new T2ReferenceListImpl(); newList.setTypedId(newReference); try { listDao.store(newList); return newList; } catch (DaoException de) { throw new ListServiceException(de); } }
public IdentifiedList<T2Reference> registerEmptyList(int depth, ReferenceContext context) throws ListServiceException { if (depth < 1) { throw new ListServiceException("Can't register empty lists of depth " + depth); } checkDao(); checkGenerator(); T2ReferenceImpl newReference = T2ReferenceImpl .getAsImpl(t2ReferenceGenerator.nextListReference(false, depth, context)); T2ReferenceListImpl newList = new T2ReferenceListImpl(); newList.setTypedId(newReference); try { listDao.store(newList); return newList; } catch (DaoException de) { throw new ListServiceException(de); } }
public IdentifiedList<T2Reference> registerEmptyList(int depth, ReferenceContext context) throws ListServiceException { checkDao(); checkGenerator(); context = EmptyReferenceContext.checkContext(context); T2ReferenceImpl newReference = T2ReferenceImpl.getAsImpl(getGenerator( context).nextListReference(false, depth)); T2ReferenceListImpl newList = new T2ReferenceListImpl(); newList.setTypedId(newReference); try { listDao.store(newList); return newList; } catch (DaoException de) { throw new ListServiceException(de); } }
public IdentifiedList<T2Reference> registerList(List<T2Reference> items, ReferenceContext context) throws ListServiceException { checkDao(); checkGenerator(); if (items.isEmpty()) {
public IdentifiedList<T2Reference> registerList(List<T2Reference> items) throws ListServiceException { checkDao(); checkGenerator(); if (items.isEmpty()) {
public IdentifiedList<T2Reference> registerList(List<T2Reference> items, ReferenceContext context) throws ListServiceException { checkDao(); checkGenerator(); context = EmptyReferenceContext.checkContext(context);