Class UserMultiMatchService
java.lang.Object
dev.getelements.elements.service.match.UserMultiMatchService
- All Implemented Interfaces:
MultiMatchService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMatch(MultiMatch match) Creates aMultiMatch.voidDeletes allMultiMatchinstances.voiddeleteMatch(String matchId) Deletes aMultiMatchwith the supplied ID, as determined byMultiMatch.getId().Gets theMultiMatchwith the specified id.getMatches(int offset, int count) Gets all matches.getMatches(int offset, int count, String search) Gets all matches, specifying search criteria.voidsetCurrentProfileSupplier(Supplier<Profile> currentProfileSupplier) voidsetMultiMatchDao(MultiMatchDao multiMatchDao) updateMatch(String matchId, MultiMatch match) Updates aMultiMatch.
-
Constructor Details
-
UserMultiMatchService
public UserMultiMatchService()
-
-
Method Details
-
getMatch
Description copied from interface:MultiMatchServiceGets theMultiMatchwith the specified id.- Specified by:
getMatchin interfaceMultiMatchService- Parameters:
matchId- the Match ID as specified byMultiMatch.getId()- Returns:
- the
MultiMatch
-
getMatches
Description copied from interface:MultiMatchServiceGets all matches.- Specified by:
getMatchesin interfaceMultiMatchService- Parameters:
offset- the offsetcount- the count- Returns:
- a
Paginationinstance containing the requested data
-
getMatches
Description copied from interface:MultiMatchServiceGets all matches, specifying search criteria.- Specified by:
getMatchesin interfaceMultiMatchService- Parameters:
offset- the offsetcount- the count- Returns:
- a
Paginationinstance containing the requested data
-
createMatch
Description copied from interface:MultiMatchServiceCreates aMultiMatch.- Specified by:
createMatchin interfaceMultiMatchService- Parameters:
match- theMultiMatchobject- Returns:
- the
MultiMatch, as it was written to the database
-
updateMatch
Description copied from interface:MultiMatchServiceUpdates aMultiMatch.- Specified by:
updateMatchin interfaceMultiMatchService- Parameters:
match- theMultiMatchobject- Returns:
- the
MultiMatch, as it was written to the database
-
deleteMatch
Description copied from interface:MultiMatchServiceDeletes aMultiMatchwith the supplied ID, as determined byMultiMatch.getId().- Specified by:
deleteMatchin interfaceMultiMatchService- Parameters:
matchId- the match ID
-
deleteAllMatches
public void deleteAllMatches()Description copied from interface:MultiMatchServiceDeletes allMultiMatchinstances.- Specified by:
deleteAllMatchesin interfaceMultiMatchService
-
getCurrentProfileSupplier
-
setCurrentProfileSupplier
-
getMultiMatchDao
-
setMultiMatchDao
-