Class TemplateListResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.TemplateListResponse
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TemplateUsageListResponse

public class TemplateListResponse extends GenericResponse
Response for a template list request
Author:
norbert
See Also:
  • Constructor Details

    • TemplateListResponse

      public TemplateListResponse()
      Empty constructor
    • TemplateListResponse

      public TemplateListResponse(Message message, ResponseInfo responseInfo)
  • Method Details

    • getTemplates

      public List<Template> getTemplates()
      Get the list of templates
      Returns:
      list of templates
    • isHasMoreItems

      public Boolean isHasMoreItems()
      True if more items are available (paging)
      Returns:
      true if more items are present
    • getNumItems

      public Integer getNumItems()
      Get total number of items present
      Returns:
      total number of items present
    • setTemplates

      public void setTemplates(List<Template> templates)
      Set the list of templates
      Parameters:
      templates - list of templates
    • setHasMoreItems

      public void setHasMoreItems(Boolean hasMoreItems)
      Set true when more items are available
      Parameters:
      hasMoreItems - true if more items are available
    • setNumItems

      public void setNumItems(Integer numItems)
      Set the total number of items present
      Parameters:
      numItems - total number of items present