mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Working facsimiles of ls and half of cp for Repo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -8,7 +8,6 @@ import java.io.OutputStream;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
/**
|
||||
@@ -28,7 +27,7 @@ public interface RepoRemote
|
||||
* @param dir The node ref of the directory.
|
||||
* @return A Map of names to node refs.
|
||||
*/
|
||||
public Map<String, Pair<NodeRef, QName>> getListing(NodeRef dir);
|
||||
public Map<String, Pair<NodeRef, Boolean>> getListing(NodeRef dir);
|
||||
|
||||
/**
|
||||
* Lookup a node by path relative to a node.
|
||||
@@ -36,7 +35,7 @@ public interface RepoRemote
|
||||
* @param path The relative path.
|
||||
* @return The node ref or null.
|
||||
*/
|
||||
public NodeRef lookup(NodeRef base, String path);
|
||||
public Pair<NodeRef, Boolean> lookup(NodeRef base, String path);
|
||||
|
||||
/**
|
||||
* Create a file relative to a base node.
|
||||
|
@@ -6,7 +6,6 @@ package org.alfresco.service.cmr.remote;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
/**
|
||||
@@ -27,7 +26,7 @@ public interface RepoRemoteTransport
|
||||
* @param dir The node ref of the directory.
|
||||
* @return A Map of names to node refs.
|
||||
*/
|
||||
public Map<String, Pair<NodeRef, QName>> getListing(String ticket, NodeRef dir);
|
||||
public Map<String, Pair<NodeRef, Boolean>> getListing(String ticket, NodeRef dir);
|
||||
|
||||
/**
|
||||
* Lookup a node by path relative to a node.
|
||||
@@ -35,7 +34,7 @@ public interface RepoRemoteTransport
|
||||
* @param path The relative path.
|
||||
* @return The node ref or null.
|
||||
*/
|
||||
public NodeRef lookup(String ticket, NodeRef base, String path);
|
||||
public Pair<NodeRef, Boolean> lookup(String ticket, NodeRef base, String path);
|
||||
|
||||
/**
|
||||
* Create a file relative to a base node.
|
||||
|
Reference in New Issue
Block a user