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:
@@ -22,7 +22,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;
|
||||
|
||||
/**
|
||||
* This is the service interface for the [Alfresco|Addled|Advanced|Aleatoric|Apotheosed|Awful]
|
||||
@@ -70,26 +70,25 @@ public interface AVMService
|
||||
* @param path The simple absolute path to the file node.
|
||||
* @return A List of FolderEntrys.
|
||||
*/
|
||||
public Map<String, AVMNodeDescriptor> getDirectoryListing(int version, String path);
|
||||
public SortedMap<String, AVMNodeDescriptor> getDirectoryListing(int version, String path);
|
||||
|
||||
/**
|
||||
* Get a directory listing from a node descriptor.
|
||||
* @param dir The directory node descriptor.
|
||||
* @return A Map of names to node descriptors.
|
||||
*/
|
||||
public Map<String, AVMNodeDescriptor> getDirectoryListing(AVMNodeDescriptor dir);
|
||||
public SortedMap<String, AVMNodeDescriptor> getDirectoryListing(AVMNodeDescriptor dir);
|
||||
|
||||
/**
|
||||
* Create a new File. Fails if the file already exists.
|
||||
* @param path The simple absolute path to the parent.
|
||||
* @param name The name to give the file.
|
||||
* @param source A possibly null stream to draw initial contents from.
|
||||
*/
|
||||
public OutputStream createFile(String path, String name);
|
||||
|
||||
/**
|
||||
* Create a new directory.
|
||||
* @param parent The simple absolute path to the parent.
|
||||
* @param path The simple absolute path to the parent.
|
||||
* @param name The name to give the folder.
|
||||
*/
|
||||
public void createDirectory(String path, String name);
|
||||
|
Reference in New Issue
Block a user