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  String inheritedContent
          Rendered Inherit Content
protected  Map<String,String> inheritedProperties
          Map of Inherit Properties
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
protected  Long time
          Render time
 
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
 String getInheritedContent()
          Get inheritedContent
 Map<String,String> getInheritedProperties()
          Get inheritedProperties
 List<PageRenderResponse.MetaEditable> getMetaeditables()
          Get the meta editables
 Map<String,String> getProperties()
          Get the properties
 List<PageRenderResponse.Tag> getTags()
          Get the tags
 Long getTime()
          Rrender time in milliseconds
 void setContent(String content)
          Set the content
 void setInheritedContent(String inheritedContent)
          Set inheritedContent
 void setInheritedProperties(Map<String,String> inheritedProperties)
          Set inheritedProperties
 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
 void setTime(Long time)
          Set the render time in milliseconds
 
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


inheritedContent

protected String inheritedContent
Rendered Inherit Content


properties

protected Map<String,String> properties
Map of properties


inheritedProperties

protected Map<String,String> inheritedProperties
Map of Inherit 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


time

protected Long time
Render time

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

getTime

public Long getTime()
Rrender time in milliseconds

Returns:
render time in milliseconds

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

setTime

public void setTime(Long time)
Set the render time in milliseconds

Parameters:
time - render time in milliseconds

getInheritedContent

public String getInheritedContent()
Get inheritedContent

Returns:
the inheritedContent

setInheritedContent

public void setInheritedContent(String inheritedContent)
Set inheritedContent

Parameters:
inheritedContent - the inheritedContent to set

getInheritedProperties

public Map<String,String> getInheritedProperties()
Get inheritedProperties

Returns:
the inheritedProperties

setInheritedProperties

public void setInheritedProperties(Map<String,String> inheritedProperties)
Set inheritedProperties

Parameters:
inheritedProperties - the inheritedProperties to set


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.