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

How to use
updateOrganismCache
method
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi1.BioSource2xmlPSI1

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

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 ( !"proteinInteractor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a proteinInteractorparent 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.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 ( !"proteinInteractor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a proteinInteractorparent 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 ( !"proteinInteractor".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a proteinInteractorparent 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.psi1BioSource2xmlPSI1updateOrganismCache

Javadoc

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

Popular methods of BioSource2xmlPSI1

  • 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

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 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