Required SJRequest Params:
requestedNodeUniqueID -- id of the label.
versionNumber -- Version number (NOT unique ID) of the label requested.
Info about response:
nodeUniqueID -- Unique Id of root project of the label.
objectArray -- Array of LabelVersionMappingBeans, one for each file in the label.
public static NodeName buildNodeNameObject(ControllerNode node){
if (node instanceof VersionNode){
throw new BadMethodArgumentException("Cannot call buildNodeNameObject() for VersionNode.");
}
NodeName oNameObject = new NodeName();
oNameObject.setName(node.getNodeName());
ControllerNode oParentNode = node.getParent();
if (oParentNode != null){
//Note reflexive call to this same method below.
If this ControllerNode is shared, this returns the "original"
ControllerNode of the share, unless this IS the original
ControllerNode, in which case this should be null.