Class BioPlateEventLoader
java.lang.Object
net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<BioPlateEvent>
net.sf.basedb.util.overview.loader.BioPlateEventLoader
- All Implemented Interfaces:
NodeLoader<BioPlateEvent>
Node loader implementation for bioplate events. Events are
forward-loading property nodes of a bioplate. The reverse
direction is not loading anything.
- Since:
- 3.3
- Author:
- nicklas
-
Field Summary
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateForwardNode
(DbControl dc, OverviewContext context, Node plateNode) Create a forward-loading node from a bioplate.protected void
loadForwardChildNodes
(DbControl dc, OverviewContext context, Node eventNode) Loads the bioplates that are part of the event.protected void
loadPropertyChildNodes
(DbControl dc, OverviewContext context, Node eventNode) Loads property nodes of an event.Methods inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeNameGenerator, getNodeValidator, getNodeValidatorFactory, postValidateFolder
Methods inherited from class net.sf.basedb.util.overview.loader.AbstractNodeLoader
createPropertyNode, createReverseNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode, loadReverseChildNodes
-
Constructor Details
-
BioPlateEventLoader
public BioPlateEventLoader()
-
-
Method Details
-
createForwardNode
Create a forward-loading node from a bioplate. Note that events that already exists in the parent chain are not loaded again to avoid infinite recursive loading.- Specified by:
createForwardNode
in interfaceNodeLoader<BioPlateEvent>
- Overrides:
createForwardNode
in classAbstractNodeLoader<BioPlateEvent>
- Parameters:
dc
- The DbControl to use for database accesscontext
- The overview contextplateNode
- The parent node- Returns:
- A folder node with the events, or null if there are no events for the bioplate
-
loadForwardChildNodes
Loads the bioplates that are part of the event.- Overrides:
loadForwardChildNodes
in classAbstractNodeLoader<BioPlateEvent>
- See Also:
-
loadPropertyChildNodes
Loads property nodes of an event.- Overrides:
loadPropertyChildNodes
in classAbstractNodeLoader<BioPlateEvent>
-