Organization defined users whose user roles do not expire will also not have their...
[aaf/authz.git] / auth / auth-core / src / main / java / org / onap / aaf / auth / org / Mailer.java
index 86875a4..ad1d5a2 100644 (file)
@@ -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<String> toList, 
-                       List<String> ccList, 
-                       String subject, 
-                       String body,
-                       Boolean urgent) throws OrganizationException;
+    public boolean sendEmail(
+            AuthzTrans trans,
+            String test,
+            List<String> toList,
+            List<String> ccList,
+            String subject,
+            String body,
+            Boolean urgent) throws OrganizationException;
+
+    public String mailFrom();
+
+    public int count();
 
 }