org.alfresco.web.bean.clipboard
Class ClipboardBean

java.lang.Object
  extended by org.alfresco.web.bean.clipboard.ClipboardBean
All Implemented Interfaces:
java.io.Serializable

public class ClipboardBean
extends java.lang.Object
implements java.io.Serializable

Bean backing the Clipboard shelf functionality.

The clipboard bean is responsible for processing Cut/Copy requests to the clipboard and for executing the various Paste calls available to the user.

See Also:
Serialized Form

Constructor Summary
ClipboardBean()
           
 
Method Summary
 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
 java.util.List 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 setItems(java.util.List items)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardBean

public ClipboardBean()
Method Detail

getItems

public java.util.List getItems()
Returns:
Returns a list representing the items on the user clipboard.

setItems

public void setItems(java.util.List items)
Parameters:
items - List representing the items on the user clipboard.

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

copyNode

public void copyNode(javax.faces.event.ActionEvent event)
Action handler called to add a node to the clipboard for a Copy operation


cutNode

public void cutNode(javax.faces.event.ActionEvent event)
Action handler called to add a node to the clipboard for a Cut operation


pasteAll

public void pasteAll(javax.faces.event.ActionEvent event)
Action handler call from the browse screen to Paste All clipboard items into the current Space


pasteItem

public void pasteItem(javax.faces.event.ActionEvent event)
Action handler called to paste one or all items from the clipboard



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.