Interface ClipboardServiceInternal
-
- All Known Implementing Classes:
ClipboardServiceInternalImpl
public interface ClipboardServiceInternalDefines all clipboard related operations- Since:
- 3.2
- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringduplicateItem(String siteId, String path)Duplicates the given itemList<String>pasteItems(String siteId, Operation operation, String targetPath, PasteItem item)Performs the given clipboard operation
-
-
-
Method Detail
-
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
-
-