Interface PunishmentReasonProvider

All Known Implementing Classes:
PunishmentReasonProviderImpl

public interface PunishmentReasonProvider
  • Method Details

    • closeCache

      void closeCache()
    • refreshCache

      void refreshCache()
    • getReason

      PunishmentReason getReason(int id)
    • getReasonsByType

      List<PunishmentReason> getReasonsByType(int typeId)
    • getAllReasons

      List<PunishmentReason> getAllReasons()
    • create

      PunishmentReason create(int id, int typeId, String reasonText, Long durationSecs, boolean autoFlagIp, boolean autoPunish, int createdBy)
    • delete

      int delete(int id)
    • update

      PunishmentReason update(int id, int typeId, String reasonText, Long durationSecs, boolean autoFlagIp, boolean autoPunish, int changedBy)