Package org.alfresco.rest.api.lookups
Class PersonPropertyLookup
- java.lang.Object
-
- org.alfresco.rest.api.lookups.PersonPropertyLookup
-
- All Implemented Interfaces:
PropertyLookup<java.lang.String>
public class PersonPropertyLookup extends java.lang.Object implements PropertyLookup<java.lang.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 java.lang.String
lookup(java.lang.String propertyValue)
Lookup the property value with a new value.void
setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
void
setSupported(java.util.List<java.lang.String> supported)
java.util.Set<java.lang.String>
supports()
The list of property keys that are supported by this class
-
-
-
Method Detail
-
lookup
public java.lang.String lookup(java.lang.String propertyValue)
Description copied from interface:PropertyLookup
Lookup the property value with a new value.- Specified by:
lookup
in interfacePropertyLookup<java.lang.String>
- Returns:
- a new value or null if the property value isn't found.
-
supports
public java.util.Set<java.lang.String> supports()
Description copied from interface:PropertyLookup
The list of property keys that are supported by this class- Specified by:
supports
in interfacePropertyLookup<java.lang.String>
- Returns:
- Set
property keys
-
setSupported
public void setSupported(java.util.List<java.lang.String> supported)
-
setServiceRegistry
public void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
-
-