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 Details

    • PersonPropertyLookup

      public PersonPropertyLookup()
  • Method Details

    • lookup

      public String lookup(String propertyValue)
      Description copied from interface: PropertyLookup
      Lookup the property value with a new value.
      Specified by:
      lookup in interface PropertyLookup<String>
      Returns:
      a new value or null if the property value isn't found.
    • supports

      public Set<String> supports()
      Description copied from interface: PropertyLookup
      The list of property keys that are supported by this class
      Specified by:
      supports in interface PropertyLookup<String>
      Returns:
      Set property keys
    • setSupported

      public void setSupported(Set<String> supported)
    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)