How do I get a DataObject for a Node?
==
DataObject dob = (DataObject) theNode.getLookup().lookup (DataObject.class);
if (dob != null) {
//do something
}
==
DataObject dob = (DataObject) theNode.getLookup().lookup (DataObject.class);
if (dob != null) {
//do something
}