|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.overview.loader.AbstractNodeLoader<I> net.sf.basedb.util.overview.loader.BasicItemNodeLoader<Extract> net.sf.basedb.util.overview.loader.ExtractLoader
public class ExtractLoader
Node loader implementation for extracts. The forward-loading
direction goes from Sample
:s -> Extract
:s ->
LabeledExtract
:s. The reverse-loading direction is the opposite
direction. In both cases we also need to consider pooled extracts.
Field Summary |
---|
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader |
---|
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator |
Constructor Summary | |
---|---|
ExtractLoader()
|
Method Summary | |
---|---|
Node |
createForwardNode(DbControl dc,
OverviewContext context,
Node parentNode)
Create forward-loading extract nodes from a given parent sample of extract. |
private Node |
createForwardNode(Extract parentExtract,
DbControl dc,
OverviewContext context,
Node parentNode)
Create forward-loading extract nodes for the (pooled) extract that has a given extract among their parents. |
private Node |
createForwardNode(Sample sample,
DbControl dc,
OverviewContext context,
Node parentNode)
Create forward-loading extract nodes for the extracts that has a given sample as their parent. |
Node |
createReverseNode(DbControl dc,
OverviewContext context,
Node parentNode)
Create reverse-loading extract nodes from a labeled extract node or from a pooled extract. |
private Node |
createReverseNode(Extract product,
DbControl dc,
OverviewContext context,
Node parentNode)
Create reverse-loading extract nodes of a pooled extract. |
private Node |
createReverseNode(LabeledExtract labeledExtract,
DbControl dc,
OverviewContext context,
Node parentNode)
Create a reverse-loading extract node from a labeled extract. |
protected void |
loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node extractNode)
Loads the pooled extracts and labled extracts that has been created from this extract. |
protected void |
loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node extractNode)
Loads property nodes of an extract. |
protected void |
loadReverseChildNodes(DbControl dc,
OverviewContext context,
Node extractNode)
If the extract is a pooled extract, loads the parent extracts that it was pooled from. |
Methods inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader |
---|
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeValidator, getNodeValidatorFactory, postValidateFolder |
Methods inherited from class net.sf.basedb.util.overview.loader.AbstractNodeLoader |
---|
createPropertyNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtractLoader()
Method Detail |
---|
public Node createForwardNode(DbControl dc, OverviewContext context, Node parentNode)
createForwardNode
in interface NodeLoader<Extract>
createForwardNode
in class AbstractNodeLoader<Extract>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node
public Node createReverseNode(DbControl dc, OverviewContext context, Node parentNode)
createReverseNode
in interface NodeLoader<Extract>
createReverseNode
in class AbstractNodeLoader<Extract>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The child node
protected void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node extractNode)
AnnotationLoader.createPropertyNode(DbControl, OverviewContext, Node)
ProtocolLoader.createPropertyNode(DbControl, OverviewContext, Node)
loadPropertyChildNodes
in class AbstractNodeLoader<Extract>
protected void loadForwardChildNodes(DbControl dc, OverviewContext context, Node extractNode)
loadForwardChildNodes
in class AbstractNodeLoader<Extract>
createForwardNode(DbControl, OverviewContext, Node)
,
createForwardNode(DbControl, OverviewContext, Node)
protected void loadReverseChildNodes(DbControl dc, OverviewContext context, Node extractNode)
loadReverseChildNodes
in class AbstractNodeLoader<Extract>
createReverseNode(DbControl, OverviewContext, Node)
,
SampleLoader.createReverseNode(DbControl, OverviewContext, Node)
private Node createReverseNode(Extract product, DbControl dc, OverviewContext context, Node parentNode)
private Node createReverseNode(LabeledExtract labeledExtract, DbControl dc, OverviewContext context, Node parentNode)
private Node createForwardNode(Sample sample, DbControl dc, OverviewContext context, Node parentNode)
private Node createForwardNode(Extract parentExtract, DbControl dc, OverviewContext context, Node parentNode)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |