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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
TheCategory
id to clone.The String to append to the url of any child categories of this clone request, since categories must have a unique url.TheList
of the Category relationships that is used to specify which of the relationships should be cloned.getName()
getUrl()
int
hashCode()
void
setCategoryId
(String categoryId) TheCategory
id to clone.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.void
setCloneRelationships
(List<String> cloneRelationships) TheList
of the Category relationships that is used to specify which of the relationships should be cloned.void
setDescription
(String description) void
setExternalId
(String externalId) void
setMetaTitle
(String metaTitle) void
void
setParentCategoryContextId
(String parentCategoryContextId) void
toString()
-
Constructor Details
-
CloneCategoryRequest
public CloneCategoryRequest()
-
-
Method Details
-
getCategoryId
TheCategory
id 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
TheList
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
TheCategory
id 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
TheList
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-