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

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

public class ConstructListResponse
extends GenericResponse

Response containing a list of constructs


Constructor Summary
ConstructListResponse()
          Create an empty instance
ConstructListResponse(Message message, ResponseInfo responseInfo)
          Create instance with message and responseinfo
 
Method Summary
 java.util.List<Construct> getConstructs()
          Get the constructs
 java.lang.Integer getNumItems()
          Get total number of items present
 java.lang.Boolean isHasMoreItems()
          Get true if more items are present
 void setConstructs(java.util.List<Construct> constructs)
          Set the constructs
 void setHasMoreItems(java.lang.Boolean hasMoreItems)
          Set true when more items are available
 void setNumItems(java.lang.Integer numItems)
          Set the total number of items present
 
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

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 Detail

getConstructs

public java.util.List<Construct> getConstructs()
Get the constructs

Returns:
constructs

isHasMoreItems

public java.lang.Boolean isHasMoreItems()
Get true if more items are present

Returns:
true if more items are present

getNumItems

public java.lang.Integer getNumItems()
Get total number of items present

Returns:
total number of items present

setConstructs

public void setConstructs(java.util.List<Construct> constructs)
Set the constructs

Parameters:
constructs - cons

setHasMoreItems

public void setHasMoreItems(java.lang.Boolean hasMoreItems)
Set true when more items are available

Parameters:
hasMoreItems - true if more items are available

setNumItems

public void setNumItems(java.lang.Integer numItems)
Set the total number of items present

Parameters:
numItems - total number of items present


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.