Class MultiTagCreateResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.MultiTagCreateResponse
- All Implemented Interfaces:
Serializable
Response containing data about the created tags
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate empty instanceMultiTagCreateResponse
(Message message, ResponseInfo responseInfo) Create instance with message and response infoMultiTagCreateResponse
(Message message, ResponseInfo responseInfo, Map<String, CreatedTag> created, List<PageRenderResponse.Tag> tags) Create instance with message, response info and data -
Method Summary
Modifier and TypeMethodDescriptionMap of created tags.getTags()
Tag data of the created tagsvoid
setCreated
(Map<String, CreatedTag> created) Set the map of created tagsvoid
setTags
(List<PageRenderResponse.Tag> tags) Set tag dataMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
MultiTagCreateResponse
public MultiTagCreateResponse()Create empty instance -
MultiTagCreateResponse
Create instance with message and response info- Parameters:
message
- message (may be null)responseInfo
- response info
-
MultiTagCreateResponse
public MultiTagCreateResponse(Message message, ResponseInfo responseInfo, Map<String, CreatedTag> created, List<PageRenderResponse.Tag> tags) Create instance with message, response info and data- Parameters:
message
- message (may be null)responseInfo
- response infocreated
- map of created tagstags
- tag data
-
-
Method Details
-
getCreated
Map of created tags. Keys are the IDs (from the request), values are objects containing tag data- Returns:
- map of created tags
-
getTags
Tag data of the created tags- Returns:
- tag data
-
setCreated
Set the map of created tags- Parameters:
created
- map od created tags
-
setTags
Set tag data- Parameters:
tags
- tag data
-