Interface KcPersonRepositoryService
public interface KcPersonRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionfindKcPersonByPersonId(String personId) Finds a KcPerson by person id.findKcPersonByUserName(String userName) Finds a KcPerson by user name.
-
Method Details
-
findKcPersonByUserName
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
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.
-