Batch, Remove unneeded Classes, refine, etc
[aaf/authz.git] / auth / auth-core / src / main / java / org / onap / aaf / auth / org / Organization.java
index 69cfc7d..597f269 100644 (file)
@@ -290,7 +290,19 @@ public interface Organization {
      * @return
      */
     public List<Identity> getApprovers(AuthzTrans trans, String user) throws OrganizationException ;
+
+    /**
+     * Get Identities for Escalation Level
+     * 1 = self
+     * 2 = expects both self and immediate responsible party
+     * 3 = expects self, immediate report and any higher that the Organization wants to escalate to in the
+     *     hierarchy.
+     *     
+     * Note: this is used to notify of imminent danger of Application's Cred or Role expirations.
+     */
+    public List<Identity> getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException ;
     
+
     /*
      * 
      * @param user
@@ -555,6 +567,12 @@ public interface Organization {
                return false;
        }
 
+               @Override
+               public List<Identity> getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException {
+                       // TODO Auto-generated method stub
+                       return null;
+               }
+
     };
 }