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 boolean
boolean
TheList
of the ContentItem relationships that is used to specify which of the relationships should be cloned.TheContentItem
id to clone.The id of the folder where the clonedContentItem
should be placed.getName()
getUri()
int
hashCode()
void
setCloneRelationships
(List<String> cloneRelationships) TheList
of the ContentItem relationships that is used to specify which of the relationships should be cloned.void
setContentItemId
(String contentItemId) TheContentItem
id to clone.void
setFolderId
(String folderId) The id of the folder where the clonedContentItem
should be placed.void
void
toString()
-
Constructor Details
-
CloneContentItemRequest
public CloneContentItemRequest()
-
-
Method Details
-
getContentItemId
TheContentItem
id to clone. -
getName
- See Also:
-
getUri
- See Also:
-
getFolderId
The id of the folder where the clonedContentItem
should be placed. -
getCloneRelationships
TheList
of 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
TheContentItem
id to clone. -
setName
- See Also:
-
setUri
- See Also:
-
setFolderId
The id of the folder where the clonedContentItem
should be placed. -
setCloneRelationships
TheList
of 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
-