/**
* @see RepositoryService#getNodeInfo(SessionInfo, NodeId)
*/
public NodeInfo getNodeInfo(SessionInfo sessionInfo, NodeId nodeId) throws RepositoryException {
// set of properties to be retrieved
DavPropertyNameSet nameSet = new DavPropertyNameSet();
nameSet.add(ItemResourceConstants.JCR_INDEX);
nameSet.add(ItemResourceConstants.JCR_PARENT);
nameSet.add(ItemResourceConstants.JCR_NAME);
nameSet.add(ItemResourceConstants.JCR_PRIMARYNODETYPE);
nameSet.add(ItemResourceConstants.JCR_MIXINNODETYPES);
nameSet.add(ItemResourceConstants.JCR_REFERENCES);
nameSet.add(ItemResourceConstants.JCR_UUID);
nameSet.add(ItemResourceConstants.JCR_PATH);
nameSet.add(DavPropertyName.RESOURCETYPE);
DavMethodBase method = null;
try {
String uri = getItemUri(nodeId, sessionInfo);
method = new PropFindMethod(uri, nameSet, DEPTH_1);