Interface KcPersonRepositoryService


  • public interface KcPersonRepositoryService
    • Method Detail

      • findKcPersonByUserName

        KcPersonContract findKcPersonByUserName​(String userName)
        Finds a KcPerson by user name. The user name cannot be blank. Will return null if not found.
        Parameters:
        userName - the user name. cannot be blank.
        Returns:
        the KcPerson or null
        Throws:
        IllegalArgumentException - if the user name is blank.
      • findKcPersonByPersonId

        KcPersonContract findKcPersonByPersonId​(String personId)
        Finds a KcPerson by person id. The person id cannot be blank. Will return null if not found.
        Parameters:
        personId - the person id. cannot be blank.
        Returns:
        the KcPerson or null
        Throws:
        IllegalArgumentException - if the person id is blank.