Class PageLoadResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.PageLoadResponse
-
- All Implemented Interfaces:
Serializable
public class PageLoadResponse extends GenericResponse
Response for a page load request.- Author:
- floriangutmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageLoadResponse()
Empty constructor needed by JAXBPageLoadResponse(Message message, ResponseInfo responseInfo, Page page)
Creates a PageLoadResponse with the provided single message and ResponseInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page
getPage()
StagingStatus
getStagingStatus()
void
setPage(Page page)
void
setStagingStatus(StagingStatus stagingStatus)
-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
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 userresponse
- ResponseInfo with the status of the response
-
-
Method Detail
-
getPage
public Page getPage()
-
setPage
public void setPage(Page page)
-
getStagingStatus
public StagingStatus getStagingStatus()
-
setStagingStatus
public void setStagingStatus(StagingStatus stagingStatus)
-
-