Package org.alfresco.rest.api.lookups
Class PropertyLookupRegistry
java.lang.Object
org.alfresco.rest.api.lookups.PropertyLookupRegistry
Acts as a central point for property lookups
- Author:
- Gethin James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLooks up the property value using a PropertyLookupvoid
setLookups
(List<PropertyLookup> lookups) Set the supported property lookup classes.supports()
The list of property keys that are supported by this class
-
Constructor Details
-
PropertyLookupRegistry
public PropertyLookupRegistry()
-
-
Method Details
-
setLookups
Set the supported property lookup classes.- Parameters:
lookups
-
-
supports
The list of property keys that are supported by this class- Returns:
- Set
property keys
-
lookup
Looks up the property value using a PropertyLookup- Parameters:
propertyName
- the property name/typepropertyValue
- the value to lookup- Returns:
- Object to be serialized as json
-