congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ListDao
Code IndexAdd Tabnine to your IDE (free)

How to use
ListDao
in
net.sf.taverna.t2.reference

Best Java code snippets using net.sf.taverna.t2.reference.ListDao (Showing top 13 results out of 315)

origin: net.sf.taverna.t2.core/reference-impl

public IdentifiedList<T2Reference> getList(T2Reference id)
    throws ListServiceException {
  checkDao();
  try {
    return listDao.get(id);
  } catch (DaoException de) {
    throw new ListServiceException(de);
  }
}
origin: net.sf.taverna.t2.core/reference-impl

public boolean delete(T2Reference reference)
    throws ReferenceServiceException {
  checkDao();
  IdentifiedList<T2Reference> list=listDao.get(reference);
  if (list==null) return false;
  return listDao.delete(list);
}
origin: net.sf.taverna.t2.core/reference-impl

public void deleteIdentifiedListsForWorkflowRun(String workflowRunId)
    throws ReferenceServiceException {
  checkDao();
  listDao.deleteIdentifiedListsForWFRun(workflowRunId);
}
origin: net.sf.taverna.t2/t2reference-impl

o.store(l);
listReference2.setReferenceType(T2ReferenceType.IdentifiedList);
System.out.println(o.get(listReference2));
origin: net.sf.taverna.t2/t2reference-impl

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);
  }
}
origin: net.sf.taverna.t2/reference-impl

o.store(l);
listReference2.setReferenceType(T2ReferenceType.IdentifiedList);
System.out.println(o.get(listReference2));
origin: net.sf.taverna.t2.core/reference-impl

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);
  }
}
origin: net.sf.taverna.t2/reference-impl

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);
  }
}
origin: net.sf.taverna.t2/t2reference-impl

public IdentifiedList<T2Reference> getList(T2Reference id)
    throws ListServiceException {
  checkDao();
  try {
    return listDao.get(id);
  } catch (DaoException de) {
    throw new ListServiceException(de);
  }
}
origin: net.sf.taverna.t2.core/reference-impl

          containsErrors, depth + 1, context));
  newList.setTypedId(newReference);
  listDao.store(newList);
  return newList;
} catch (Throwable t) {
origin: net.sf.taverna.t2/reference-impl

public IdentifiedList<T2Reference> getList(T2Reference id)
    throws ListServiceException {
  checkDao();
  try {
    return listDao.get(id);
  } catch (DaoException de) {
    throw new ListServiceException(de);
  }
}
origin: net.sf.taverna.t2/t2reference-impl

          containsErrors, depth + 1));
  newList.setTypedId(newReference);
  listDao.store(newList);
  return newList;
} catch (Throwable t) {
origin: net.sf.taverna.t2/reference-impl

          containsErrors, depth + 1));
  newList.setTypedId(newReference);
  listDao.store(newList);
  return newList;
} catch (Throwable t) {
net.sf.taverna.t2.referenceListDao

Javadoc

Data access object handling NamedLists of T2Reference instances.

Most used methods

  • get
    Retrieves a named and populated IdentifiedList of T2Reference from the database by T2Reference
  • store
    Store a named and populated IdentifiedList of T2Reference to the database.
  • delete
  • deleteIdentifiedListsForWFRun

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now