Tabnine Logo
BioSource2xmlPSI25.updateOrganismCache
Code IndexAdd Tabnine to your IDE (free)

How to use
updateOrganismCache
method
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi25.BioSource2xmlPSI25

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi25.BioSource2xmlPSI25.updateOrganismCache (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.app/data-conversion

public Element createOrganism( UserSessionDownload session,
                Element parent,
                BioSource bioSource ) {
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null BioSource to build a " + ORGANISM_TAG_NAME + "." );
  } else {
    if ( !"interactor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a interactor parent to build a " + ORGANISM_TAG_NAME + "." );
    }
  }
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null session." );
  }
  Element element = getOrganismFromCache( session, bioSource );
  if ( element == null ) {
    element = create( session, parent, bioSource, ORGANISM_TAG_NAME );
    updateOrganismCache( session, bioSource, element );
  } else {
    parent.appendChild( element );
  }
  return element;
}
origin: uk.ac.ebi.intact.util/data-conversion

public Element createOrganism( UserSessionDownload session,
                Element parent,
                BioSource bioSource ) {
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null BioSource to build a " + ORGANISM_TAG_NAME + "." );
  } else {
    if ( !"interactor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a interactor parent to build a " + ORGANISM_TAG_NAME + "." );
    }
  }
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null session." );
  }
  Element element = getOrganismFromCache( session, bioSource );
  if ( element == null ) {
    element = create( session, parent, bioSource, ORGANISM_TAG_NAME );
    updateOrganismCache( session, bioSource, element );
  } else {
    parent.appendChild( element );
  }
  return element;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public Element createOrganism( UserSessionDownload session,
                Element parent,
                BioSource bioSource ) {
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null BioSource to build a " + ORGANISM_TAG_NAME + "." );
  } else {
    if ( !"interactor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a interactor parent to build a " + ORGANISM_TAG_NAME + "." );
    }
  }
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null session." );
  }
  Element element = getOrganismFromCache( session, bioSource );
  if ( element == null ) {
    element = create( session, parent, bioSource, ORGANISM_TAG_NAME );
    updateOrganismCache( session, bioSource, element );
  } else {
    parent.appendChild( element );
  }
  return element;
}
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi25BioSource2xmlPSI25updateOrganismCache

Javadoc

Store in the cache the XML representation related to the given BioSource instance.

Popular methods of BioSource2xmlPSI25

  • create
  • createNames
  • getHostOrganismFromCache
    Checks if the given BioSource has already been generated as XML content. If so, that content is clo
  • getInstance
  • getOrganismFromCache
    Checks if the given BioSource has already been generated as XML content. If so, that content is clo
  • updateHostOrganismCache
    Store in the cache the XML representation related to the given BioSource instance.

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JCheckBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Github Copilot alternatives
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