Class TemplateLoadResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.TemplateLoadResponse
All Implemented Interfaces:
Serializable

public class TemplateLoadResponse extends GenericResponse
Response for a template load request.
See Also:
  • Constructor Details

    • TemplateLoadResponse

      public TemplateLoadResponse()
      Empty constructor needed by JAXB
    • TemplateLoadResponse

      public TemplateLoadResponse(Message message, ResponseInfo responseInfo, Template template)
      Creates a TemplateLoadResponse 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
      template - The template that should be returned
  • Method Details

    • getTemplate

      public Template getTemplate()
    • setTemplate

      public void setTemplate(Template template)