Class CloneCategoryRequest
java.lang.Object
com.broadleafcommerce.catalog.clone.category.CloneCategoryRequest
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTheCategoryid to clone.The String to append to the url of any child categories of this clone request, since categories must have a unique url.TheListof the Category relationships that is used to specify which of the relationships should be cloned.getName()getUrl()inthashCode()voidsetCategoryId(String categoryId) TheCategoryid to clone.voidsetChildUrlAppend(String childUrlAppend) The String to append to the url of any child categories of this clone request, since categories must have a unique url.voidsetCloneRelationships(List<String> cloneRelationships) TheListof the Category relationships that is used to specify which of the relationships should be cloned.voidsetDescription(String description) voidsetExternalId(String externalId) voidsetMetaTitle(String metaTitle) voidvoidsetParentCategoryContextId(String parentCategoryContextId) voidtoString()
-
Constructor Details
-
CloneCategoryRequest
public CloneCategoryRequest()
-
-
Method Details
-
getCategoryId
TheCategoryid to clone. -
getName
- See Also:
-
getUrl
- See Also:
-
getDescription
- See Also:
-
getMetaTitle
- See Also:
-
getExternalId
- See Also:
-
getParentCategoryContextId
- See Also:
-
getChildUrlAppend
The String to append to the url of any child categories of this clone request, since categories must have a unique url. -
getCloneRelationships
TheListof 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
TheCategoryid to clone. -
setName
- See Also:
-
setUrl
- See Also:
-
setDescription
- See Also:
-
setMetaTitle
- See Also:
-
setExternalId
- See Also:
-
setParentCategoryContextId
- See Also:
-
setChildUrlAppend
The String to append to the url of any child categories of this clone request, since categories must have a unique url. -
setCloneRelationships
TheListof 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
-
canEqual
-
hashCode
public int hashCode() -
toString
-