mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. 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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user