Class PlayerSearchServiceImpl
java.lang.Object
net.andresbustamante.yafoot.core.services.impl.PlayerSearchServiceImpl
- All Implemented Interfaces:
PlayerSearchService
- Author:
- andresbustamante
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindPlayerByEmail
(String email, UserContext context) Look for a player by using its email address (unique).Look for a player by using its technical identifier.
-
Constructor Details
-
PlayerSearchServiceImpl
-
-
Method Details
-
findPlayerByEmail
@Transactional(readOnly=true) public Player findPlayerByEmail(String email, UserContext context) throws ApplicationException Description copied from interface:PlayerSearchService
Look for a player by using its email address (unique).- Specified by:
findPlayerByEmail
in interfacePlayerSearchService
- Parameters:
email
- Email address to searchcontext
- User context- Returns:
- Player details for this email
- Throws:
ApplicationException
- If the user is not allowed to make this research
-
findPlayerById
Description copied from interface:PlayerSearchService
Look for a player by using its technical identifier.- Specified by:
findPlayerById
in interfacePlayerSearchService
- Parameters:
id
- Player's ID- Returns:
- Player details for this ID
- Throws:
DatabaseException
-