Interface ClipboardService
- All Known Implementing Classes:
ClipboardServiceImpl
public interface ClipboardService
Defines all clipboard related operations
- Since:
- 3.2
- Author:
- joseross
-
Method Summary
-
Method Details
-
pasteItems
List<String> pasteItems(String siteId, Operation operation, String targetPath, PasteItem item) throws ServiceLayerException, UserNotFoundException Performs the given clipboard operation- Parameters:
siteId
- the id of the siteoperation
- the clipboard operationtargetPath
- the target pathitem
- the item to paste- Returns:
- the list of pasted items
- Throws:
ServiceLayerException
- if there is any error during the operationUserNotFoundException
- if the user is not found
-
duplicateItem
String duplicateItem(String siteId, String path) throws ServiceLayerException, UserNotFoundException Duplicates the given item- Parameters:
siteId
- the id of the sitepath
- the path of the item- Returns:
- the path of the new item
- Throws:
ServiceLayerException
- if there is any error copying the itemUserNotFoundException
- if the user is not found
-