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

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

public class PageLoadResponse
extends GenericResponse

Response for a page load request.

Author:
floriangutmann

Constructor Summary
PageLoadResponse()
          Empty constructor needed by JAXB
PageLoadResponse(Message message, ResponseInfo responseInfo, Page page)
          Creates a PageLoadResponse with the provided single message and ResponseInfo.
 
Method Summary
 Page getPage()
           
 void setPage(Page page)
           
 
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

PageLoadResponse

public PageLoadResponse()
Empty constructor needed by JAXB


PageLoadResponse

public PageLoadResponse(Message message,
                        ResponseInfo responseInfo,
                        Page page)
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

getPage

public Page getPage()

setPage

public void setPage(Page page)


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.