mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Checkpoint of AVMSyncService support changes. Fix of AVMNodeConverter not liking
trailing '/'s. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -133,6 +133,22 @@ public class AVMServiceImpl implements AVMService
|
||||
return fAVMRepository.getListing(version, path, includeDeleted);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a listing of all the directly contained children of a directory.
|
||||
* @param dir The directory descriptor.
|
||||
* @param includeDeleted Whether to include deleted children.
|
||||
* @return A Map of Strings to descriptors.
|
||||
*/
|
||||
public SortedMap<String, AVMNodeDescriptor>
|
||||
getDirectoryListingDirect(AVMNodeDescriptor dir, boolean includeDeleted)
|
||||
{
|
||||
if (dir == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal null descriptor.");
|
||||
}
|
||||
return fAVMRepository.getListingDirect(dir, includeDeleted);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the listing of nodes contained directly in a directory. This is the
|
||||
* same as getDirectoryListing for PlainDirectories, but returns only those that
|
||||
@@ -172,6 +188,7 @@ public class AVMServiceImpl implements AVMService
|
||||
}
|
||||
return fAVMRepository.getListingDirect(version, path, includeDeleted);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a directory listing from a node descriptor.
|
||||
* @param dir The directory node descriptor.
|
||||
|
Reference in New Issue
Block a user