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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstructListResponse()
Create an empty instanceConstructListResponse(Message message, ResponseInfo responseInfo)
Create instance with message and responseinfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Construct>
getConstructs()
Get the constructsInteger
getNumItems()
Get total number of items presentBoolean
isHasMoreItems()
True if more items are available (paging)void
setConstructs(List<Construct> constructs)
Set the constructsvoid
setHasMoreItems(Boolean hasMoreItems)
Set true when more items are availablevoid
setNumItems(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
-
-
-
-
Constructor Detail
-
ConstructListResponse
public ConstructListResponse()
Create an empty instance
-
ConstructListResponse
public ConstructListResponse(Message message, ResponseInfo responseInfo)
Create instance with message and responseinfo- Parameters:
message
- messageresponseInfo
- responseinfo
-
-
Method Detail
-
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
-
-