Class 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
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PersonPropertyLookup

        public PersonPropertyLookup()
    • 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 interface PropertyLookup<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 interface PropertyLookup<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)