org.hippoecm.hst.jaxrs.model.content
Class NodeRepresentation

java.lang.Object
  extended by 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 $

Constructor Summary
NodeRepresentation()
           
 
Method Summary
 void addLink(Link link)
           
 List<Link> getLinks()
           
 String getLocalizedName()
           
 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 setLinks(List<Link> links)
           
 void setLocalizedName(String localizedName)
           
 void setName(String name)
           
 void setPrimaryNodeTypeName(String primaryNodeTypeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRepresentation

public NodeRepresentation()
Method Detail

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.