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

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

public class PagePreviewResponse
extends GenericResponse

Response for a page preview request


Constructor Summary
PagePreviewResponse()
          Empty constructor needed by JAXB
PagePreviewResponse(Message message, ResponseInfo responseInfo, java.lang.String preview)
          Creates a PageLoadResponse with the provided single message and ResponseInfo.
 
Method Summary
 java.lang.String getPreview()
           
 void setPreview(java.lang.String preview)
           
 
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
 

Constructor Detail

PagePreviewResponse

public PagePreviewResponse()
Empty constructor needed by JAXB


PagePreviewResponse

public PagePreviewResponse(Message message,
                           ResponseInfo responseInfo,
                           java.lang.String preview)
Creates a PageLoadResponse with the provided single message and ResponseInfo.

Parameters:
message - The messages that should be displayed to the user
response - ResponseInfo with the status of the response
Method Detail

getPreview

public java.lang.String getPreview()

setPreview

public void setPreview(java.lang.String preview)


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.