Class ConstructListResponse

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

public class ConstructListResponse extends GenericResponse
Response containing a list of constructs
See Also:
  • Constructor Details

    • ConstructListResponse

      public ConstructListResponse()
      Create an empty instance
    • ConstructListResponse

      public ConstructListResponse(Message message, ResponseInfo responseInfo)
      Create instance with message and responseinfo
      Parameters:
      message - message
      responseInfo - responseinfo
  • Method Details

    • getConstructs

      public List<Construct> getConstructs()
      Get the constructs
      Returns:
      constructs
    • 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
    • setConstructs

      public void setConstructs(List<Construct> constructs)
      Set the constructs
      Parameters:
      constructs - cons
    • 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