|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.lbl.genome.common.CommUnit
public class CommUnit
Title: CommUnit
Description: Communication Unit
Copyright: Copyright (c) 2002 Ernst Orlando Lawrence Berkeley National Laboratory
Company: LBNL
Field Summary | |
---|---|
protected static java.lang.String |
CHROM_INFO
|
protected java.lang.String |
codeBaseURL
|
boolean |
debug
|
protected static java.lang.String |
GET_ANNO
|
protected static java.lang.String |
GET_AVAIL_CURVES
|
protected static java.lang.String |
GET_CURVE
|
protected static java.lang.String |
GET_GENES
|
protected static java.lang.String |
GET_INIT
|
protected static int |
RETRIES
|
protected java.lang.String |
servletURL
|
protected static java.lang.String |
UP2DATE
|
protected static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
CommUnit()
CommUnit |
|
CommUnit(java.lang.String s,
java.lang.String cb)
CommUnit |
|
CommUnit(java.lang.String s,
java.lang.String cb,
boolean dbg)
CommUnit |
Method Summary | |
---|---|
java.util.Vector |
checkCurves(java.util.Vector curves,
java.lang.String pos)
check Curves for visibility in the specified position |
java.util.Vector |
getAnno(java.lang.String base,
java.lang.String src,
java.lang.String pos,
java.lang.String genes,
java.lang.String curveId)
getAnno returns a Vector of ChromSegments (use getName() on each segment to find out the type) input: base (hg12, mm2, etc), src (refseq at the moment), position |
java.lang.String[][] |
getAvailCurves()
getCurves Returns a list of curves available as an array [id] [name] |
java.lang.String[][] |
getAvailCurves(java.lang.String url)
getCurves returns a list of curves available at a given url as an array [id][name] |
ChromInfo |
getChromInfo(java.lang.String base,
java.lang.String name)
get ChromInfo |
CurveModel |
getCurve(CurveInfo curve,
java.lang.String pos,
CurveModel cmodel,
VistaApp va)
get Curve |
Gene[] |
getGenes(java.lang.String gene,
java.lang.String base,
java.lang.String curveid,
java.lang.String genes)
getGenes returns an array of Genes whose names contain the given string |
java.util.HashMap |
getInitInfo()
getInitInfo returns a hashmap genome id -> GenomeInfo |
java.util.HashMap |
getInitInfo(java.lang.String runs,
java.lang.String pos,
java.lang.String show,
java.lang.String bg)
get Init Info |
java.util.HashMap |
getUp2Date(java.lang.String runs)
update init information |
java.lang.String |
getVersion()
getVersion returns current version |
Document |
sendRequest(java.lang.String src)
send Request |
void |
setCodeBaseURL(java.lang.String cb)
set CodeBase URL |
void |
setServletURL(java.lang.String s)
set Servlet URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String GET_CURVE
protected static final java.lang.String GET_AVAIL_CURVES
protected static final java.lang.String GET_ANNO
protected static final java.lang.String GET_INIT
protected static final java.lang.String GET_GENES
protected static final java.lang.String UP2DATE
protected static final java.lang.String CHROM_INFO
protected static final java.lang.String VERSION
protected static final int RETRIES
protected java.lang.String servletURL
protected java.lang.String codeBaseURL
public boolean debug
Constructor Detail |
---|
public CommUnit()
public CommUnit(java.lang.String s, java.lang.String cb)
s
- Stringcb
- Stringpublic CommUnit(java.lang.String s, java.lang.String cb, boolean dbg)
s
- Stringcb
- Stringdbg
- booleanMethod Detail |
---|
public void setServletURL(java.lang.String s)
s
- Stringpublic void setCodeBaseURL(java.lang.String cb)
cb
- Stringpublic java.util.HashMap getInitInfo()
public java.util.HashMap getInitInfo(java.lang.String runs, java.lang.String pos, java.lang.String show, java.lang.String bg)
runs
- Stringpos
- Stringshow
- Stringbg
- String
public java.util.HashMap getUp2Date(java.lang.String runs)
runs
- String
public Gene[] getGenes(java.lang.String gene, java.lang.String base, java.lang.String curveid, java.lang.String genes) throws GeneNotFoundException
gene
- Stringbase
- Stringcurveid
- Stringgenes
- String
GeneNotFoundException
public java.lang.String getVersion()
public java.lang.String[][] getAvailCurves()
public java.lang.String[][] getAvailCurves(java.lang.String url)
url
- String
public java.util.Vector getAnno(java.lang.String base, java.lang.String src, java.lang.String pos, java.lang.String genes, java.lang.String curveId)
base
- Stringsrc
- Stringpos
- Stringgenes
- StringcurveId
- String
public ChromInfo getChromInfo(java.lang.String base, java.lang.String name) throws VGBException
base
- Stringname
- String
VGBException
public CurveModel getCurve(CurveInfo curve, java.lang.String pos, CurveModel cmodel, VistaApp va)
curve
- CurveInfopos
- Stringcmodel
- CurveModelva
- VistaApp
public java.util.Vector checkCurves(java.util.Vector curves, java.lang.String pos)
curves
- Vectorpos
- String
public Document sendRequest(java.lang.String src)
src
- String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |