X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fauth-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Forg%2FMailer.java;h=ad1d5a238f9a490049e17324b6c37542bf2941bb;hb=274e4bc9d5afa66a788dfab966984e8d60a22b6d;hp=86875a4a18ccaeb1c159b1d8c11b7febf945e788;hpb=e0a2e0d0c79dcaf4532d0ca3aeefd3f5546af404;p=aaf%2Fauthz.git diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Mailer.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Mailer.java index 86875a4a..ad1d5a23 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Mailer.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Mailer.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,14 +25,17 @@ import java.util.List; import org.onap.aaf.auth.env.AuthzTrans; public interface Mailer { - public int sendEmail( - AuthzTrans trans, - boolean testMode, - String mailFrom, - List toList, - List ccList, - String subject, - String body, - Boolean urgent) throws OrganizationException; + public boolean sendEmail( + AuthzTrans trans, + String test, + List toList, + List ccList, + String subject, + String body, + Boolean urgent) throws OrganizationException; + + public String mailFrom(); + + public int count(); }