mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,9 +71,10 @@ public class CMISService implements ApplicationContextAware, ApplicationListener
|
||||
*/
|
||||
public enum TypesFilter
|
||||
{
|
||||
Documents,
|
||||
Folders,
|
||||
FoldersAndDocuments,
|
||||
Documents
|
||||
Policies,
|
||||
Any,
|
||||
};
|
||||
|
||||
/** Query Parameters */
|
||||
@@ -342,7 +343,7 @@ public class CMISService implements ApplicationContextAware, ApplicationListener
|
||||
*/
|
||||
public NodeRef[] getChildren(NodeRef parent, TypesFilter typesFilter)
|
||||
{
|
||||
if (typesFilter == TypesFilter.FoldersAndDocuments)
|
||||
if (typesFilter == TypesFilter.Any)
|
||||
{
|
||||
NodeRef[] folders = queryChildren(parent, TypesFilter.Folders);
|
||||
NodeRef[] docs = queryChildren(parent, TypesFilter.Documents);
|
||||
|
Reference in New Issue
Block a user