Class PasteRequest

java.lang.Object
org.craftercms.studio.model.rest.clipboard.PasteRequest

public class PasteRequest extends Object
Holds all data needed for a clipboard operation
Since:
3.2
Author:
joseross
  • Field Details

    • siteId

      @NotEmpty protected @NotEmpty String siteId
      The id of the site
    • operation

      @NotNull protected @NotNull Operation operation
      The operation to perform
    • targetPath

      protected String targetPath
      The target path
    • item

      @Valid @NotNull protected @Valid @NotNull PasteItem item
      The item to be copied/moved
  • Constructor Details

    • PasteRequest

      public PasteRequest()
  • Method Details

    • getSiteId

      public String getSiteId()
    • setSiteId

      public void setSiteId(String siteId)
    • getOperation

      public Operation getOperation()
    • setOperation

      public void setOperation(Operation operation)
    • getTargetPath

      public String getTargetPath()
    • setTargetPath

      public void setTargetPath(String targetPath)
    • getItem

      public PasteItem getItem()
    • setItem

      public void setItem(PasteItem item)