public class SoftwareLoader extends BasicItemNodeLoader<Software>
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
Constructor and Description |
---|
SoftwareLoader() |
Modifier and Type | Method and Description |
---|---|
Node |
createPropertyNode(DbControl dc,
OverviewContext context,
Node parentNode)
Create a property node for the given parent node.
|
protected void |
loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node softwareNode)
Loads annotations and software parameters for the given software node.
|
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeNameGenerator, getNodeValidator, getNodeValidatorFactory, postValidateFolder
createForwardNode, createReverseNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode, loadForwardChildNodes, loadReverseChildNodes
public Node createPropertyNode(DbControl dc, OverviewContext context, Node parentNode)
NodeLoader
The direction of the node(s) should usually be ChildNodeDirection.NONE
, but
it may also be ChildNodeDirection.PROPERTY
in case the property has sub-properties.
One example is the ProtocolLoader
which loads the
protocol parameters as child nodes.
In case there is an error (permission denied, etc.) ChildNodeDirection.NONE
should be used. If there is no property item null
should be returned (but this may also indicate that more than one node
was created).
Errors, missing items, etc. should be reported as failures to the OverviewContext
.
createPropertyNode
in interface NodeLoader<Software>
createPropertyNode
in class AbstractNodeLoader<Software>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent nodeprotected void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node softwareNode)
loadPropertyChildNodes
in class AbstractNodeLoader<Software>
RawBioAssayLoader.createForwardNode(DbControl, OverviewContext, Node)