Class ConstructListResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.ConstructListResponse
- All Implemented Interfaces:
Serializable
Response containing a list of constructs
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate an empty instanceConstructListResponse
(Message message, ResponseInfo responseInfo) Create instance with message and responseinfo -
Method Summary
Modifier and TypeMethodDescriptionGet the constructsGet total number of items presentTrue 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 presentMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
ConstructListResponse
public ConstructListResponse()Create an empty instance -
ConstructListResponse
Create instance with message and responseinfo- Parameters:
message
- messageresponseInfo
- responseinfo
-
-
Method Details
-
getConstructs
Get the constructs- Returns:
- constructs
-
isHasMoreItems
True if more items are available (paging)- Returns:
- true if more items are present
-
getNumItems
Get total number of items present- Returns:
- total number of items present
-
setConstructs
Set the constructs- Parameters:
constructs
- cons
-
setHasMoreItems
Set true when more items are available- Parameters:
hasMoreItems
- true if more items are available
-
setNumItems
Set the total number of items present- Parameters:
numItems
- total number of items present
-