Class CloneContentItemRequest
java.lang.Object
com.broadleafcommerce.content.clone.contentitem.CloneContentItemRequest
- All Implemented Interfaces:
Serializable
This is the request DTO which should be sent as the request body of the clone
ContentItem
request.- Author:
- Susana Cruz (susanaccruz)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTheListof the ContentItem relationships that is used to specify which of the relationships should be cloned.TheContentItemid to clone.The id of the folder where the clonedContentItemshould be placed.getName()getUri()inthashCode()voidsetCloneRelationships(List<String> cloneRelationships) TheListof the ContentItem relationships that is used to specify which of the relationships should be cloned.voidsetContentItemId(String contentItemId) TheContentItemid to clone.voidsetFolderId(String folderId) The id of the folder where the clonedContentItemshould be placed.voidvoidtoString()
-
Constructor Details
-
CloneContentItemRequest
public CloneContentItemRequest()
-
-
Method Details
-
getContentItemId
TheContentItemid to clone. -
getName
- See Also:
-
getUri
- See Also:
-
getFolderId
The id of the folder where the clonedContentItemshould be placed. -
getCloneRelationships
TheListof the ContentItem relationships that is used to specify which of the relationships should be cloned. If this list is empty, the relationships will not be cloned. -
setContentItemId
TheContentItemid to clone. -
setName
- See Also:
-
setUri
- See Also:
-
setFolderId
The id of the folder where the clonedContentItemshould be placed. -
setCloneRelationships
TheListof the ContentItem 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
-