public IdentifiedList<T2Reference> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
public void deleteIdentifiedListsForWorkflowRun(String workflowRunId) throws ReferenceServiceException { checkDao(); listDao.deleteIdentifiedListsForWFRun(workflowRunId); }
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> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
containsErrors, depth + 1, context)); newList.setTypedId(newReference); listDao.store(newList); return newList; } catch (Throwable t) {
public IdentifiedList<T2Reference> getList(T2Reference id) throws ListServiceException { checkDao(); try { return listDao.get(id); } catch (DaoException de) { throw new ListServiceException(de); } }
containsErrors, depth + 1)); newList.setTypedId(newReference); listDao.store(newList); return newList; } catch (Throwable t) {
containsErrors, depth + 1)); newList.setTypedId(newReference); listDao.store(newList); return newList; } catch (Throwable t) {