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
-
-
Constructor Summary
Constructors Constructor Description PasteRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasteItem
getItem()
Operation
getOperation()
String
getSiteId()
String
getTargetPath()
void
setItem(PasteItem item)
void
setOperation(Operation operation)
void
setSiteId(String siteId)
void
setTargetPath(String targetPath)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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)
-
-