com.gentics.contentnode.rest.model.response
Class PageRenderResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.PageRenderResponse

public class PageRenderResponse
extends GenericResponse

Response for request to render a page


Nested Class Summary
static class PageRenderResponse.Editable
          Class for instances of editables
static class PageRenderResponse.MetaEditable
          Class for instances of meta editables
static class PageRenderResponse.Tag
          Class for instances of tags
 
Field Summary
protected  String content
          Rendered content
protected  List<PageRenderResponse.MetaEditable> metaeditables
          List of meta editables found in the rendered page
protected  Map<String,String> properties
          Map of properties
protected  List<PageRenderResponse.Tag> tags
          List of tags found in the rendered page
 
Constructor Summary
PageRenderResponse()
          Create an instance
PageRenderResponse(Message message, ResponseInfo responseInfo)
          Create an instance with a message and response info
 
Method Summary
 String getContent()
          Get the content
 List<PageRenderResponse.MetaEditable> getMetaeditables()
          Get the meta editables
 Map<String,String> getProperties()
          Get the properties
 List<PageRenderResponse.Tag> getTags()
          Get the tags
 void setContent(String content)
          Set the content
 void setMetaeditables(List<PageRenderResponse.MetaEditable> metaeditables)
          Set the meta editables
 void setProperties(Map<String,String> properties)
          Set the properties
 void setTags(List<PageRenderResponse.Tag> tags)
          Set the tags
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected String content
Rendered content


properties

protected Map<String,String> properties
Map of properties


tags

protected List<PageRenderResponse.Tag> tags
List of tags found in the rendered page


metaeditables

protected List<PageRenderResponse.MetaEditable> metaeditables
List of meta editables found in the rendered page

Constructor Detail

PageRenderResponse

public PageRenderResponse()
Create an instance


PageRenderResponse

public PageRenderResponse(Message message,
                          ResponseInfo responseInfo)
Create an instance with a message and response info

Parameters:
message - message
responseInfo - response info
Method Detail

getContent

public String getContent()
Get the content

Returns:
content

getProperties

public Map<String,String> getProperties()
Get the properties

Returns:
properties

getTags

public List<PageRenderResponse.Tag> getTags()
Get the tags

Returns:
tags

getMetaeditables

public List<PageRenderResponse.MetaEditable> getMetaeditables()
Get the meta editables

Returns:
meta editables

setContent

public void setContent(String content)
Set the content

Parameters:
content - content

setProperties

public void setProperties(Map<String,String> properties)
Set the properties

Parameters:
properties - properties

setTags

public void setTags(List<PageRenderResponse.Tag> tags)
Set the tags

Parameters:
tags - tags

setMetaeditables

public void setMetaeditables(List<PageRenderResponse.MetaEditable> metaeditables)
Set the meta editables

Parameters:
metaeditables - meta editables


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.