org.hippoecm.hst.pagecomposer.jaxrs.model
Class ComponentWrapper
java.lang.Object
org.hippoecm.hst.pagecomposer.jaxrs.model.ComponentWrapper
public class ComponentWrapper
- extends Object
Component node wrapper that will be mapped automatically by the JAXRS (Jettison or JAXB) for generating the JSON/XML
Constructor Summary |
ComponentWrapper(javax.jcr.Node node,
Locale locale,
String currentMountCanonicalContentPath)
Constructs a component node wrapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentWrapper
public ComponentWrapper(javax.jcr.Node node,
Locale locale,
String currentMountCanonicalContentPath)
throws javax.jcr.RepositoryException,
ClassNotFoundException
- Constructs a component node wrapper
- Parameters:
node
- JcrNode for a component.locale
- the locale to get localized names, can be null
- Throws:
javax.jcr.RepositoryException
- Thrown if the reposiotry exception occurred during reading of the properties.
ClassNotFoundException
- thrown when this class can't instantiate the component class.
getProperties
public List<ComponentWrapper.Property> getProperties()
setProperties
public void setProperties(List<ComponentWrapper.Property> properties)
getSuccess
public Boolean getSuccess()
setSuccess
public void setSuccess(Boolean success)
Copyright © 2008-2012 Hippo. All Rights Reserved.