Class CloneContentItemRequest

java.lang.Object
com.broadleafcommerce.content.clone.contentitem.CloneContentItemRequest
All Implemented Interfaces:
Serializable

public class CloneContentItemRequest extends Object implements 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 Details

    • CloneContentItemRequest

      public CloneContentItemRequest()
  • Method Details

    • getContentItemId

      public String getContentItemId()
      The ContentItem id to clone.
    • getName

      public String getName()
      See Also:
    • getUri

      public String getUri()
      See Also:
    • getFolderId

      public String getFolderId()
      The id of the folder where the cloned ContentItem should be placed.
    • getCloneRelationships

      public List<String> getCloneRelationships()
      The List 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

      public void setContentItemId(String contentItemId)
      The ContentItem id to clone.
    • setName

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

      public void setUri(String uri)
      See Also:
    • setFolderId

      public void setFolderId(String folderId)
      The id of the folder where the cloned ContentItem should be placed.
    • setCloneRelationships

      public void setCloneRelationships(List<String> cloneRelationships)
      The List 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

      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