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:
  • Constructor Details

    • 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 info
      created - map of created tags
      tags - tag data
  • Method Details

    • 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