Class MultiTagCreateResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.MultiTagCreateResponse
-
- All Implemented Interfaces:
Serializable
public class MultiTagCreateResponse extends GenericResponse
Response containing data about the created tags- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiTagCreateResponse()
Create 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,CreatedTag>
getCreated()
Map of created tags.List<PageRenderResponse.Tag>
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 data-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
MultiTagCreateResponse
public MultiTagCreateResponse()
Create empty instance
-
MultiTagCreateResponse
public MultiTagCreateResponse(Message message, ResponseInfo responseInfo)
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 Detail
-
getCreated
public Map<String,CreatedTag> getCreated()
Map of created tags. Keys are the IDs (from the request), values are objects containing tag data- Returns:
- map of created tags
-
getTags
public List<PageRenderResponse.Tag> getTags()
Tag data of the created tags- Returns:
- tag data
-
setCreated
public void setCreated(Map<String,CreatedTag> created)
Set the map of created tags- Parameters:
created
- map od created tags
-
setTags
public void setTags(List<PageRenderResponse.Tag> tags)
Set tag data- Parameters:
tags
- tag data
-
-