package org.umu.cops.ospep;

import org.umu.cops.prpep.COPSPepDataProcess;
import org.umu.cops.stack.COPSDecisionMsg;

import java.util.List;

/**
 * Abstract class for implementing policy data processing classes for outsourcing PEPs.
 */
public interface COPSPepOSDataProcess extends COPSPepDataProcess {
    /**
     * Applies the decisions from the PDP
     * @param man   The request state manager
     * @param dMsg  The decisions message
     * @return <tt>true</tt> if failed (reports indicate failure), <tt>false</tt> otherwise
     */
    boolean setDecisions(COPSPepOSReqStateMan man, COPSDecisionMsg dMsg);

    /**
     * Gets the report data
     * @param man   The request state manager
     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
     */
    List getReportData(COPSPepOSReqStateMan man);

    /**
     * Gets the supplied client data
     * @param man   The request state manager
     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
     */
    List getClientData(COPSPepOSReqStateMan man);

    /**
     * Gets the account data
     * @param man   The request state manager
     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
     */
    List getAcctData(COPSPepOSReqStateMan man);

}

@@ -147,22 +147,17 @@
 %0A * 
-Abstract class
+Interface
  for
@@ -294,16 +294,17 @@
 ocess %7B%0A
+%0A
     /**%0A

Fix class javadoc comment.