org.hippoecm.hst.jaxrs.model.content
Class NodeRepresentation
java.lang.Object
org.hippoecm.hst.jaxrs.model.content.NodeRepresentation
- Direct Known Subclasses:
- HippoDocumentRepresentation, HippoFolderRepresentation, HippoGalleryImageSetRepresentation, HippoHtmlRepresentation, HippoResourceRepresentation
public abstract class NodeRepresentation
- extends Object
NodeRepresentation
- Version:
- $Id: NodeRepresentation.java 31236 2011-11-16 07:49:23Z aschrijvers $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeRepresentation
public NodeRepresentation()
represent
public NodeRepresentation represent(HippoBean hippoBean)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getName
public String getName()
setName
public void setName(String name)
getLocalizedName
public String getLocalizedName()
setLocalizedName
public void setLocalizedName(String localizedName)
getPath
public String getPath()
getPrimaryNodeTypeName
public String getPrimaryNodeTypeName()
setPrimaryNodeTypeName
public void setPrimaryNodeTypeName(String primaryNodeTypeName)
isLeaf
public boolean isLeaf()
getLinks
public List<Link> getLinks()
setLinks
public void setLinks(List<Link> links)
addLink
public void addLink(Link link)
getRequestContext
protected HstRequestContext getRequestContext()
getRequestContext()
is a utility method that should not be serialized/deserialized hence the
XmlTransient
annotation
- Returns:
Copyright © 2008-2012 Hippo. All Rights Reserved.