Package org.alfresco.rest.api.lookups
Class PersonPropertyLookup
- java.lang.Object
-
- org.alfresco.rest.api.lookups.PersonPropertyLookup
-
- All Implemented Interfaces:
PropertyLookup<String>
public class PersonPropertyLookup extends Object implements PropertyLookup<String>
Looks up information about a person. Pass in a userId and the display name is returned.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Constructor Description PersonPropertyLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlookup(String propertyValue)Lookup the property value with a new value.voidsetServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)voidsetSupported(List<String> supported)Set<String>supports()The list of property keys that are supported by this class
-
-
-
Method Detail
-
lookup
public String lookup(String propertyValue)
Description copied from interface:PropertyLookupLookup the property value with a new value.- Specified by:
lookupin interfacePropertyLookup<String>- Returns:
- a new value or null if the property value isn't found.
-
supports
public Set<String> supports()
Description copied from interface:PropertyLookupThe list of property keys that are supported by this class- Specified by:
supportsin interfacePropertyLookup<String>- Returns:
- Set
property keys
-
setServiceRegistry
public void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
-
-