Class CloneCategoryRequest

java.lang.Object
com.broadleafcommerce.catalog.clone.category.CloneCategoryRequest
All Implemented Interfaces:
Serializable

public class CloneCategoryRequest extends Object implements Serializable
This is the request DTO which should be sent as the request body of the clone Category request.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • CloneCategoryRequest

      public CloneCategoryRequest()
  • Method Details

    • getCategoryId

      public String getCategoryId()
      The Category id to clone.
    • getName

      public String getName()
      See Also:
    • getUrl

      public String getUrl()
      See Also:
    • getDescription

      public String getDescription()
      See Also:
    • getMetaTitle

      public String getMetaTitle()
      See Also:
    • getExternalId

      public String getExternalId()
      See Also:
    • getParentCategoryContextId

      public String getParentCategoryContextId()
      See Also:
    • getChildUrlAppend

      public String getChildUrlAppend()
      The String to append to the url of any child categories of this clone request, since categories must have a unique url.
    • getCloneRelationships

      public List<String> getCloneRelationships()
      The List of the Category relationships that is used to specify which of the relationships should be cloned. If this list is empty, the relationships will not be cloned.
    • setCategoryId

      public void setCategoryId(String categoryId)
      The Category id to clone.
    • setName

      public void setName(String name)
      See Also:
    • setUrl

      public void setUrl(String url)
      See Also:
    • setDescription

      public void setDescription(String description)
      See Also:
    • setMetaTitle

      public void setMetaTitle(String metaTitle)
      See Also:
    • setExternalId

      public void setExternalId(String externalId)
      See Also:
    • setParentCategoryContextId

      public void setParentCategoryContextId(String parentCategoryContextId)
      See Also:
    • setChildUrlAppend

      public void setChildUrlAppend(String childUrlAppend)
      The String to append to the url of any child categories of this clone request, since categories must have a unique url.
    • setCloneRelationships

      public void setCloneRelationships(List<String> cloneRelationships)
      The List of the Category relationships that is used to specify which of the relationships should be cloned. If this list is empty, the relationships will not be cloned.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object