public class ClipboardBean extends Object implements Serializable
The clipboard bean is responsible for processing Cut/Copy requests to the clipboard and for executing the various Paste calls available to the user.
| Constructor and Description |
|---|
ClipboardBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyNode(javax.faces.event.ActionEvent event)
Action handler called to add a node to the clipboard for a Copy operation
|
void |
cutNode(javax.faces.event.ActionEvent event)
Action handler called to add a node to the clipboard for a Cut operation
|
List<String> |
getCustomPasteViewIds() |
List<ClipboardItem> |
getItems() |
void |
pasteAll(javax.faces.event.ActionEvent event)
Action handler call from the browse screen to Paste All clipboard items into the current Space
|
void |
pasteItem(javax.faces.event.ActionEvent event)
Action handler called to paste one or all items from the clipboard
|
void |
setCustomPasteViewIds(List<String> customPasteViewIds) |
void |
setItems(List<ClipboardItem> items) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public List<ClipboardItem> getItems()
public void setItems(List<ClipboardItem> items)
items - List representing the items on the user clipboard.public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void copyNode(javax.faces.event.ActionEvent event)
public void cutNode(javax.faces.event.ActionEvent event)
public void pasteAll(javax.faces.event.ActionEvent event)
public void pasteItem(javax.faces.event.ActionEvent event)
Copyright © 2005–2018 Alfresco Software. All rights reserved.