net.sf.basedb.util.overview.loader
Class BioMaterialListLoader
java.lang.Object
net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<BioMaterialList>
net.sf.basedb.util.overview.loader.BioMaterialListLoader
- All Implemented Interfaces:
- NodeLoader<BioMaterialList>
public class BioMaterialListLoader
- extends BasicItemNodeLoader<BioMaterialList>
Node loader implementation for biomaterial lists. Biomaterial
lists can only be loaded as root nodes. The forward-loading
direction goes to the biomaterial that is member of the list.
- Since:
- 3.2
- Author:
- nicklas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BioMaterialListLoader
public BioMaterialListLoader()
loadForwardChildNodes
protected void loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node listNode)
- Loads the list members.
- Overrides:
loadForwardChildNodes
in class AbstractNodeLoader<BioMaterialList>
loadMemberNodes
public static <T extends BioMaterial> void loadMemberNodes(BasicItemNodeLoader<T> loader,
DbControl dc,
OverviewContext context,
Node listNode)
- Utiltity method to be used by biomaterial loaders to load members of a biomaterial list.
The loader should be one of
SampleLoader
, ExtractLoader
or
BioSourceLoader
. The member nodes are created as child nodes
to the list node without any intermediate folder node.
- Parameters:
loader
- The load implementationlistNode
- The parent biomaterial list node