* Note that considered id is the JCR path
*
* Relies on common approach for JCR file handling implementation.
* Note that considered id is the JCR path
*
* Relies on common approach for JCR file handling implementation.
"Cannot open file children Node that are not of "
+ NodeType.NT_RESOURCE + " type.");
Node child = result.getNodes().nextNode();
if (child == null || !child.isNodeType(NodeType.NT_RESOURCE))
"Cannot open file children Node that are not of "
+ NodeType.NT_RESOURCE + " type.");
Node child = result.getNodes().nextNode();
if (child == null || !child.isNodeType(NodeType.NT_RESOURCE))
"ERROR: IN the current implemented model, "
+ NodeType.NT_FILE
+ " file node must have one and only one child of the nt:ressource, where actual data is stored");
return child;
} catch (RepositoryException re) {
"ERROR: IN the current implemented model, "
+ NodeType.NT_FILE
+ " file node must have one and only one child of the nt:ressource, where actual data is stored");
return child;
} catch (RepositoryException re) {