Added API methods to query AVM store properties by key pattern.

Cleaned up some warnings in AVMInterpreter.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-12 05:43:36 +00:00
parent be6a222554
commit 37b5003ae4
9 changed files with 213 additions and 9 deletions

View File

@@ -584,6 +584,23 @@ public interface AVMService
* does not exist.
*/
public Map<QName, PropertyValue> getStoreProperties(String store);
/**
* Queries a given store for properties with keys that match a given pattern.
* @param store The name of the store.
* @param keyPattern The sql 'like' pattern, inserted into a QName.
* @return A Map of the matching key value pairs.
*/
public Map<QName, PropertyValue> queryStorePropertyKey(String store, QName keyPattern);
/**
* Queries all AVM stores for properties with keys that matcha given pattern.
* @param keyPattern The sql 'like' pattern, inserted into a QName.
* @return A Map of store names to Maps of property key value pairs that match
* the pattern.
*/
public Map<String, Map<QName, PropertyValue>>
queryStoresPropertyKeys(QName keyPattern);
/**
* Delete a property on a store by name.