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:
Britt Park
2006-06-27 23:29:57 +00:00
parent 39728a6f86
commit be6dd8c9dc
26 changed files with 86 additions and 81 deletions

View File

@@ -24,7 +24,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
import org.hibernate.LockMode;
import org.hibernate.Query;
@@ -76,7 +76,6 @@ class SuperRepository
* Create a new one. It's given issuers and a storage directory.
* @param nodeIssuer
* @param contentIssuer
* @param branchIssuer
* @param layerIssuer
* @param storage
*/
@@ -108,7 +107,6 @@ class SuperRepository
* Create a file.
* @param path The path to the containing directory.
* @param name The name for the new file.
* @param source A (possibly null) InputStream with content for the new file.
*/
public OutputStream createFile(String path, String name)
{
@@ -542,7 +540,7 @@ class SuperRepository
* @param path The path to the directory.
* @return A List of FolderEntries.
*/
public Map<String, AVMNodeDescriptor> getListing(int version, String path)
public SortedMap<String, AVMNodeDescriptor> getListing(int version, String path)
{
fLookupCount.set(1);
String [] pathParts = SplitPath(path);
@@ -554,9 +552,9 @@ class SuperRepository
/**
* Get a directory listing from a directory node descriptor.
* @param dir The directory node descriptor.
* @return
* @return A SortedMap listing.
*/
public Map<String, AVMNodeDescriptor> getListing(AVMNodeDescriptor dir)
public SortedMap<String, AVMNodeDescriptor> getListing(AVMNodeDescriptor dir)
{
fLookupCount.set(1);
AVMNode node = (AVMNode)fSession.get().get(AVMNodeImpl.class, dir.getId());
@@ -894,7 +892,7 @@ class SuperRepository
/**
* Get the single instance of SuperRepository.
* @return
* @return The single instance.
*/
public static SuperRepository GetInstance()
{