public boolean nodeHasParent( DocumentImpl doc, long gid, boolean directParent, boolean includeSelf) { final NodeProxy p = getFirstParent(new NodeProxy(doc, gid), null, includeSelf, 0); if (p != null)
public boolean nodeHasParent(DocumentImpl doc, long gid, boolean directParent, boolean includeSelf) { final NodeProxy p = getFirstParent(new NodeProxy(doc, gid), null, includeSelf, directParent, 0); if(p != null)
	public boolean nodeHasParent(		DocumentImpl doc,		long gid,		boolean directParent,		boolean includeSelf) {		final NodeProxy p = getFirstParent(new NodeProxy(doc, gid), null, includeSelf, 0);		if (p != null)			addInternal(p);		return p != null;	}