mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Changed signatures of directory listing returning methods to
SortedMap where appropriate. Fixed embarassing accumulation of broken javadocs. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,7 +21,7 @@ import java.io.OutputStream;
|
||||
import java.io.RandomAccessFile;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.SortedMap;
|
||||
|
||||
/**
|
||||
* The repository interface. Methods for filesystem like, versioning,
|
||||
@@ -69,7 +69,7 @@ interface Repository
|
||||
* Create a new file. The designated file cannot already exist.
|
||||
* @param path The path to the directory to contain the new file.
|
||||
* @param name The name to give the new file.
|
||||
* @param source An InputStream of data to put in the file. May be null.
|
||||
* @return An OutputStream.
|
||||
*/
|
||||
public OutputStream createFile(String path, String name);
|
||||
|
||||
@@ -95,7 +95,7 @@ interface Repository
|
||||
* @param path The path to the directory.
|
||||
* @return A listing.
|
||||
*/
|
||||
public Map<String, AVMNodeDescriptor> getListing(int version, String path);
|
||||
public SortedMap<String, AVMNodeDescriptor> getListing(int version, String path);
|
||||
|
||||
/**
|
||||
* Get an output stream to a file.
|
||||
|
Reference in New Issue
Block a user