Interface PunishmentLogProvider
- All Known Implementing Classes:
PunishmentLogProviderImpl
public interface PunishmentLogProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Integer userId, String ipAddress, PunishmentReason reason, int createdBy) getLogs()getLogsByIpAddress(String ipAddress) getLogsByUserId(int userId) modify(Integer userId, String ipAddress, PunishmentReason reason, int createdBy) voidrevoke(Integer userId, String ipAddress, PunishmentLog log, int createdBy)
-
Method Details
-
closeCache
void closeCache() -
refreshCache
void refreshCache() -
getLog
-
getLogsByUserId
-
getLogsByIpAddress
-
getLogs
List<PunishmentLog> getLogs() -
create
-
modify
-
revoke
-