2.17.2: 2011-06-17

net.sf.basedb.util.overview.loader
Class RawBioAssayLoader

java.lang.Object
  extended by net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
      extended by net.sf.basedb.util.overview.loader.BasicItemNodeLoader<RawBioAssay>
          extended by net.sf.basedb.util.overview.loader.RawBioAssayLoader
All Implemented Interfaces:
NodeLoader<RawBioAssay>

public class RawBioAssayLoader
extends BasicItemNodeLoader<RawBioAssay>

Node loader implementation for raw bioassays. The forward-loading direction goes from Scan:s -> RawBioAssay:s -> Experiment:s. The reverse-loading direction is the opposite direction.

Version:
2.10
Author:
Nicklas
Last modified
$Date: 2010-11-18 08:26:30 +0100 (Thu, 18 Nov 2010) $

Field Summary
 
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
 
Constructor Summary
RawBioAssayLoader()
           
 
Method Summary
 Node createForwardNode(DbControl dc, OverviewContext context, Node scanNode)
          Create forward-loading raw bioassay nodes from a given scan node.
 Node createReverseNode(DbControl dc, OverviewContext context, Node experimentNode)
          Create a reverse-loading raw bioassay nodes from a given experiment node.
protected  void loadForwardChildNodes(DbControl dc, OverviewContext context, Node rawBioAssayNode)
          Loads all experiment nodes where the given raw bioassay is used.
protected  void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node rawBioAssayNode)
          Load property nodes for a raw bioassay: Annotations: AnnotationLoader.createPropertyNode(DbControl, OverviewContext, Node) Data files: DataFileLoader.createPropertyNode(DbControl, OverviewContext, Node) Platform: PlatformLoader.createPropertyNode(DbControl, OverviewContext, Node) Protocol: ProtocolLoader.createPropertyNode(DbControl, OverviewContext, Node) Software: SoftwareLoader.createPropertyNode(DbControl, OverviewContext, Node) Array design: ArrayDesignLoader.createPropertyNode(DbControl, OverviewContext, Node)
protected  void loadReverseChildNodes(DbControl dc, OverviewContext context, Node rawBioAssayNode)
          Loads the scan node that this raw bioassay is created 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

RawBioAssayLoader

public RawBioAssayLoader()
Method Detail

createForwardNode

public Node createForwardNode(DbControl dc,
                              OverviewContext context,
                              Node scanNode)
Create forward-loading raw bioassay nodes from a given scan node. The returned node is a folder-type node containing item nodes for each raw bioassay that has been created from the scan.

Specified by:
createForwardNode in interface NodeLoader<RawBioAssay>
Overrides:
createForwardNode in class AbstractNodeLoader<RawBioAssay>
Parameters:
dc - The DbControl to use for database access
context - The overview context
scanNode - The parent node
Returns:
The folder node for the raw bioassays

createReverseNode

public Node createReverseNode(DbControl dc,
                              OverviewContext context,
                              Node experimentNode)
Create a reverse-loading raw bioassay nodes from a given experiment node. The returned node is a folder-type node containing nodes for each raw bioassay is part of the experiment.

Specified by:
createReverseNode in interface NodeLoader<RawBioAssay>
Overrides:
createReverseNode in class AbstractNodeLoader<RawBioAssay>
Parameters:
dc - The DbControl to use for database access
context - The overview context
experimentNode - The child node
Returns:
The folder node for the raw bioassays

loadPropertyChildNodes

protected void loadPropertyChildNodes(DbControl dc,
                                      OverviewContext context,
                                      Node rawBioAssayNode)
Load property nodes for a raw bioassay:

Overrides:
loadPropertyChildNodes in class AbstractNodeLoader<RawBioAssay>

loadForwardChildNodes

protected void loadForwardChildNodes(DbControl dc,
                                     OverviewContext context,
                                     Node rawBioAssayNode)
Loads all experiment nodes where the given raw bioassay is used.

Overrides:
loadForwardChildNodes in class AbstractNodeLoader<RawBioAssay>
See Also:
ExperimentLoader.createForwardNode(DbControl, OverviewContext, Node)

loadReverseChildNodes

protected void loadReverseChildNodes(DbControl dc,
                                     OverviewContext context,
                                     Node rawBioAssayNode)
Loads the scan node that this raw bioassay is created from.

Overrides:
loadReverseChildNodes in class AbstractNodeLoader<RawBioAssay>
See Also:
ScanLoader.createReverseNode(DbControl, OverviewContext, Node)

2.17.2: 2011-06-17