mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Queries are implemented, and appear to work as expected. Added getKeys() method
to AttributeService. Fixed NPE in MapAttributeImpl. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,6 +28,7 @@ package org.alfresco.service.cmr.attributes;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.repo.attributes.Attribute;
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
/**
|
||||
* This provides services for reading, writing, and querying global attributes.
|
||||
@@ -62,7 +63,7 @@ public interface AttributeService
|
||||
* @param query
|
||||
* @return A List of matching attributes.
|
||||
*/
|
||||
public List<Attribute> query(String path, AttrQuery query);
|
||||
public List<Pair<String, Attribute>> query(String path, AttrQuery query);
|
||||
|
||||
/**
|
||||
* Get all the keys for a given attribute path.
|
||||
|
Reference in New Issue
Block a user