@Test public void shouldLogUtkastRevoked() { logService.logUtkastRevoked(INTYGS_ID, HSA_ID, REASON, REVOKE_MESSAGE); verifyLog(Level.INFO, "UTKAST_REVOKED Utkast 'INTYGS_ID' revoked by 'HSA_ID' reason 'REASON' message 'REVOKE_MESSAGE'"); }
@Override public void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage) { logEvent(MonitoringEvent.UTKAST_REVOKED, intygsId, hsaId, reason, revokeMessage); }
MonitoringLogServiceImpl implements MonitoringLogService { @Override public void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage) { logEvent(MonitoringEvent.UTKAST_REVOKED, intygsId, hsaId, reason, revokeMessage); } }
MonitoringLogServiceImpl implements MonitoringLogService { @Override public void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage) { logEvent(MonitoringEvent.UTKAST_REVOKED, intygsId, hsaId, reason, revokeMessage); }  }
MonitoringLogServiceImpl implements MonitoringLogService { @Override public void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage) { logEvent(MonitoringEvent.UTKAST_REVOKED, intygsId, hsaId, reason, revokeMessage); }  @Override void logMailSent(String unitHsaId, String reason); @Override void logMailMissingAddress(String unitHsaId, String reason); @Override void logUserLogin(String userHsaId, String role, String roleTypeName, String authScheme, String origin); @Override void logUserLogout(String userHsaId, String authScheme); @Override void logUserSessionExpired(String userHsaId, String authScheme); @Override void logMissingMedarbetarUppdrag(String userHsaId); @Override void logMissingMedarbetarUppdrag(String userHsaId, String enhetsId); @Override void logQuestionReceived(String fragestallare, String intygsId, String externReferens, Long internReferens, String enhet,
        Amne amne,
        List<String> frageIds); @Override void logAnswerReceived(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logQuestionSent(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logAnswerSent(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logIntygRead(String intygsId, String intygsTyp); @Override void logIntygRevokeStatusRead(String intygsId, String intygsTyp); @Override void logIntygPrintPdf(String intygsId, String intygsTyp, boolean isEmployerCopy); @Override void logIntygSigned(String intygsId, String intygsTyp, String userHsaId, String authScheme, RelationKod relationCode); @Override void logIntygRegistered(String intygsId, String intygsTyp); @Override void logIntygSent(String intygsId, String intygsTyp, String recipient); @Override void logIntygRevoked(String intygsId, String intygsTyp, String userHsaId, String reason); @Override void logIntygCopied(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedRenewal(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedReplacement(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedCompletion(String copyIntygsId, String originalIntygId); @Override void logUtkastCreated(String intygsId, String intygsTyp, String unitHsaId, String userHsaId, int nrPrefillElements); @Override void logUtkastCreatedTemplateManual(String intygsId, String intygsTyp, String userHsaId, String unitHsaId,
        String originalIntygsId, String originalIntygsTyp); @Override void logUtkastCreatedTemplateAuto(String intygsId, String intygsTyp, String userHsaId, String unitHsaId,
        String originalIntygsId, String originalIntygsTyp); @Override void logUtkastEdited(String intygsId, String intygsTyp); @Override void logUtkastConcurrentlyEdited(String intygsId, String intygsTyp); @Override void logUtkastDeleted(String intygsId, String intygsTyp); @Override void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage); @Override void logUtkastRead(String intygsId, String intygsTyp); @Override void logUtkastPrint(String intygsId, String intygsTyp); @Override void logUtkastSignFailed(String errorMessage, String intygsId); @Override void logUtkastLocked(String intygsId, String intygsTyp); @Override void logPULookup(Personnummer personNummer, String result); @Override void logPrivatePractitionerTermsApproved(String userId, Personnummer personId, Integer avtalVersion); @Override void logNotificationSent(String hanType, String unitId, String intygsId); @Override void logArendeReceived(String intygsId, String intygsTyp, String unitHsaId, ArendeAmne amne, List<String> frageIds,
        boolean isAnswer); @Override void logArendeCreated(String intygsId, String intygsTyp, String unitHsaId, ArendeAmne amne, boolean isAnswer); @Override void logIntegratedOtherUnit(String intygsId, String intygsTyp, String unitId); @Override void logIntegratedOtherCaregiver(String intygsId, String intygsTyp, String caregiverId, String unitId); @Override void logDiagnoskodverkChanged(String intygsId, String intygsTyp); @Override void logBrowserInfo(String browserName, String browserVersion, String osFamily, String osVersion, String width, String height,
        String netIdVersion); @Override void logIdpConnectivityCheck(String ip, String connectivity); @Override void logRevokedPrint(String intygsId, String intygsType); @Override void logUtkastPatientDetailsUpdated(String intygsId, String intygsTyp); @Override void logUtkastMarkedAsReadyToSignNotificationSent(String intygsId, String intygsTyp); @Override void logGetSrsForDiagnose(String diagnosisCode); @Override void logSrsLoaded(String userClientContext, String intygsId, String caregiverId, String careUnitId, String diagnosisCode); @Override void logSrsPanelActivated(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsConsentAnswered(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsQuestionAnswered(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsCalculateClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsHideQuestionsClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsShowQuestionsClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresShowMoreClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresExpandOneClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresLinkClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsStatisticsActivated(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsStatisticsLinkClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresDisplayed(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSamlStatusForFailedLogin(String issuer, String samlStatus); @Override void logTestCertificateErased(String certificateId, String careUnit, String createdUser); @Override void logMessageImported(String certificateId, String messageId, String caregiverId, String careUnitId, String messageType); @Override void logSignResponseReceived(String transactionId); @Override void logSignResponseInvalid(String transactionId, String intygsId, String s); @Override void logSignRequestCreated(String transactionId, String intygsId); @Override void logSignServiceErrorReceived(String transactionId, String intygsId, String resultMajor, String resultMinor,
        String resultMessage); }
MonitoringLogServiceImpl implements MonitoringLogService { @Override public void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage) { logEvent(MonitoringEvent.UTKAST_REVOKED, intygsId, hsaId, reason, revokeMessage); }  @Override void logMailSent(String unitHsaId, String reason); @Override void logMailMissingAddress(String unitHsaId, String reason); @Override void logUserLogin(String userHsaId, String role, String roleTypeName, String authScheme, String origin); @Override void logUserLogout(String userHsaId, String authScheme); @Override void logUserSessionExpired(String userHsaId, String authScheme); @Override void logMissingMedarbetarUppdrag(String userHsaId); @Override void logMissingMedarbetarUppdrag(String userHsaId, String enhetsId); @Override void logQuestionReceived(String fragestallare, String intygsId, String externReferens, Long internReferens, String enhet,
        Amne amne,
        List<String> frageIds); @Override void logAnswerReceived(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logQuestionSent(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logAnswerSent(String externReferens, Long internReferens, String intygsId, String enhet, Amne amne); @Override void logIntygRead(String intygsId, String intygsTyp); @Override void logIntygRevokeStatusRead(String intygsId, String intygsTyp); @Override void logIntygPrintPdf(String intygsId, String intygsTyp, boolean isEmployerCopy); @Override void logIntygSigned(String intygsId, String intygsTyp, String userHsaId, String authScheme, RelationKod relationCode); @Override void logIntygRegistered(String intygsId, String intygsTyp); @Override void logIntygSent(String intygsId, String intygsTyp, String recipient); @Override void logIntygRevoked(String intygsId, String intygsTyp, String userHsaId, String reason); @Override void logIntygCopied(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedRenewal(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedReplacement(String copyIntygsId, String originalIntygId); @Override void logIntygCopiedCompletion(String copyIntygsId, String originalIntygId); @Override void logUtkastCreated(String intygsId, String intygsTyp, String unitHsaId, String userHsaId, int nrPrefillElements); @Override void logUtkastCreatedTemplateManual(String intygsId, String intygsTyp, String userHsaId, String unitHsaId,
        String originalIntygsId, String originalIntygsTyp); @Override void logUtkastCreatedTemplateAuto(String intygsId, String intygsTyp, String userHsaId, String unitHsaId,
        String originalIntygsId, String originalIntygsTyp); @Override void logUtkastEdited(String intygsId, String intygsTyp); @Override void logUtkastConcurrentlyEdited(String intygsId, String intygsTyp); @Override void logUtkastDeleted(String intygsId, String intygsTyp); @Override void logUtkastRevoked(String intygsId, String hsaId, String reason, String revokeMessage); @Override void logUtkastRead(String intygsId, String intygsTyp); @Override void logUtkastPrint(String intygsId, String intygsTyp); @Override void logUtkastSignFailed(String errorMessage, String intygsId); @Override void logUtkastLocked(String intygsId, String intygsTyp); @Override void logPULookup(Personnummer personNummer, String result); @Override void logPrivatePractitionerTermsApproved(String userId, Personnummer personId, Integer avtalVersion); @Override void logNotificationSent(String hanType, String unitId, String intygsId); @Override void logArendeReceived(String intygsId, String intygsTyp, String unitHsaId, ArendeAmne amne, List<String> frageIds,
        boolean isAnswer); @Override void logArendeCreated(String intygsId, String intygsTyp, String unitHsaId, ArendeAmne amne, boolean isAnswer); @Override void logIntegratedOtherUnit(String intygsId, String intygsTyp, String unitId); @Override void logIntegratedOtherCaregiver(String intygsId, String intygsTyp, String caregiverId, String unitId); @Override void logDiagnoskodverkChanged(String intygsId, String intygsTyp); @Override void logBrowserInfo(String browserName, String browserVersion, String osFamily, String osVersion, String width, String height,
        String netIdVersion); @Override void logIdpConnectivityCheck(String ip, String connectivity); @Override void logRevokedPrint(String intygsId, String intygsType); @Override void logUtkastPatientDetailsUpdated(String intygsId, String intygsTyp); @Override void logUtkastMarkedAsReadyToSignNotificationSent(String intygsId, String intygsTyp); @Override void logGetSrsForDiagnose(String diagnosisCode); @Override void logSrsLoaded(String userClientContext, String intygsId, String caregiverId, String careUnitId, String diagnosisCode); @Override void logSrsPanelActivated(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsConsentAnswered(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsQuestionAnswered(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsCalculateClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsHideQuestionsClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsShowQuestionsClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresShowMoreClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresExpandOneClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresLinkClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsStatisticsActivated(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsStatisticsLinkClicked(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSrsMeasuresDisplayed(String userClientContext, String intygsId, String caregiverId, String careUnitId); @Override void logSamlStatusForFailedLogin(String issuer, String samlStatus); @Override void logTestCertificateErased(String certificateId, String careUnit, String createdUser); @Override void logMessageImported(String certificateId, String messageId, String caregiverId, String careUnitId, String messageType); @Override void logSignResponseReceived(String transactionId); @Override void logSignResponseInvalid(String transactionId, String intygsId, String s); @Override void logSignRequestCreated(String transactionId, String intygsId); @Override void logSignServiceErrorReceived(String transactionId, String intygsId, String resultMajor, String resultMinor,
        String resultMessage);  }