. AVM cut/copy item clipboard support

- AVM files and folders can be cut and copied to the clipboard
 - AVM files and folders can be pasted (copied or moved) around a sandbox
 - The usual "Copy of …" filename logic applies
 - Cut and Copy actions now appear for AVM nodes (as appropriate for user permissions)
 - Refactored logic for cut/copy into specific clipboard item classes - WorkspaceClipboardItem and AVMClipboardItem
. Fixed unreported issue where the DownloadContentServlet was unable to open content for AVM paths containing a space character
. Pager control border style alignment improvement

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-01-26 16:25:03 +00:00
parent 7a187e6a9a
commit 2384aba9bc
9 changed files with 482 additions and 347 deletions

View File

@@ -18,13 +18,8 @@ package org.alfresco.web.bean.clipboard;
import javax.faces.context.FacesContext;
import org.alfresco.model.ApplicationModel;
import org.alfresco.model.ContentModel;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.namespace.QName;
import org.alfresco.web.bean.repository.Node;
import org.alfresco.web.bean.repository.Repository;
/**
* Simple class representing a single item added to the clipboard.
@@ -46,4 +41,8 @@ public interface ClipboardItem
public NodeRef getNodeRef();
public boolean supportsLink();
public boolean canPasteToViewId(String viewId);
public boolean paste(FacesContext fc, String viewId, int action) throws Throwable;
}