public abstract class NodeRepresentation extends Object
Constructor and Description |
---|
NodeRepresentation() |
Modifier and Type | Method and Description |
---|---|
void |
addLink(Link link) |
String |
getDisplayName() |
List<Link> |
getLinks() |
String |
getLocalizedName()
Deprecated.
use
getDisplayName() instead |
String |
getName() |
String |
getPath() |
String |
getPrimaryNodeTypeName() |
protected HstRequestContext |
getRequestContext()
getRequestContext() is a utility method that should not be serialized/deserialized hence the
XmlTransient annotation |
boolean |
isLeaf() |
NodeRepresentation |
represent(HippoBean hippoBean) |
void |
setDisplayName(String displayName) |
void |
setLinks(List<Link> links) |
void |
setLocalizedName(String localizedName)
Deprecated.
use
setDisplayName(String) instead |
void |
setName(String name) |
void |
setPrimaryNodeTypeName(String primaryNodeTypeName) |
public NodeRepresentation represent(HippoBean hippoBean) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String getName()
public void setName(String name)
public String getDisplayName()
public void setDisplayName(String displayName)
@Deprecated public String getLocalizedName()
getDisplayName()
instead@Deprecated public void setLocalizedName(String localizedName)
setDisplayName(String)
insteadpublic String getPath()
public String getPrimaryNodeTypeName()
public void setPrimaryNodeTypeName(String primaryNodeTypeName)
public boolean isLeaf()
public void addLink(Link link)
protected HstRequestContext getRequestContext()
getRequestContext()
is a utility method that should not be serialized/deserialized hence the
XmlTransient
annotationCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.