mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Slightly less broken RepoLs. Checkpoint. Also gave Pair a reasonable toString method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -8,6 +8,8 @@ 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;
|
||||
|
||||
/**
|
||||
* A highly simplified remote interface for the repo.
|
||||
@@ -26,7 +28,7 @@ public interface RepoRemote
|
||||
* @param dir The node ref of the directory.
|
||||
* @return A Map of names to node refs.
|
||||
*/
|
||||
public Map<String, NodeRef> getListing(NodeRef dir);
|
||||
public Map<String, Pair<NodeRef, QName>> getListing(NodeRef dir);
|
||||
|
||||
/**
|
||||
* Lookup a node by path relative to a node.
|
||||
|
@@ -3,11 +3,11 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.remote;
|
||||
|
||||
import java.io.InputStream;
|
||||
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;
|
||||
|
||||
/**
|
||||
* Over the wire, and authentication safe flavor of
|
||||
@@ -27,7 +27,7 @@ public interface RepoRemoteTransport
|
||||
* @param dir The node ref of the directory.
|
||||
* @return A Map of names to node refs.
|
||||
*/
|
||||
public Map<String, NodeRef> getListing(String ticket, NodeRef dir);
|
||||
public Map<String, Pair<NodeRef, QName>> getListing(String ticket, NodeRef dir);
|
||||
|
||||
/**
|
||||
* Lookup a node by path relative to a node.
|
||||
|
Reference in New Issue
Block a user