Interface PunishmentRepository
public interface PunishmentRepository
-
Method Summary
Modifier and TypeMethodDescriptionfindActive(UUID target, PunishmentType type) findActiveOfType(PunishmentType type, int offset, int limit) findByTarget(UUID target) save(Punishment punishment) Persists a new punishment; the returned record has its generatedPunishment.id().update(Punishment punishment)
-
Method Details
-
save
Persists a new punishment; the returned record has its generatedPunishment.id(). -
update
-
findByTarget
-
findByIp
-
findActive
-
findActiveIpBan
-
findActiveOfType
-