@Test public void getParent() { assertEquals("objects:wiki:Path.To.Page", this.objectsOfTypeTreeNode.getParent(NODE_ID)); }
@Override public String getParent(String nodeId) { DocumentReference[] parts = resolve(nodeId); if (parts != null) { return "objects:" + this.defaultEntityReferenceSerializer.serialize(parts[0]); } return null; }
ObjectsOfTypeTreeNode extends AbstractTreeNode { @Override public String getParent(String nodeId) { DocumentReference[] parts = resolve(nodeId); if (parts != null) { return "objects:" + this.defaultEntityReferenceSerializer.serialize(parts[0]); } return null; } }
ObjectsOfTypeTreeNode extends AbstractTreeNode { @Override public String getParent(String nodeId) { DocumentReference[] parts = resolve(nodeId); if (parts != null) { return "objects:" + this.defaultEntityReferenceSerializer.serialize(parts[0]); } return null; }  }
ObjectsOfTypeTreeNode extends AbstractTreeNode { @Override public String getParent(String nodeId) { DocumentReference[] parts = resolve(nodeId); if (parts != null) { return "objects:" + this.defaultEntityReferenceSerializer.serialize(parts[0]); } return null; }  @Override List<String> getChildren(String nodeId, int offset, int limit); @Override int getChildCount(String nodeId); @Override String getParent(String nodeId); }
ObjectsOfTypeTreeNode extends AbstractTreeNode { @Override public String getParent(String nodeId) { DocumentReference[] parts = resolve(nodeId); if (parts != null) { return "objects:" + this.defaultEntityReferenceSerializer.serialize(parts[0]); } return null; }  @Override List<String> getChildren(String nodeId, int offset, int limit); @Override int getChildCount(String nodeId); @Override String getParent(String nodeId);  }