merge-requests/1/head
inosh-perera 10 years ago
commit b7ca60d802

@ -28,7 +28,7 @@ public interface PolicyDAO {
int addPolicy(String deviceID, String deviceType, Policy policy) throws PolicyManagerDAOException;
void updatePolicy(int id) throws PolicyManagerDAOException;
void updatePolicy(int id, Policy policy) throws PolicyManagerDAOException;
Policy getPolicy() throws PolicyManagerDAOException;

@ -39,7 +39,6 @@ public class PolicyDAOImpl implements PolicyDAO {
@Override
public int addPolicy(Policy policy) throws PolicyManagerDAOException {
return 0;
}
@ -54,7 +53,7 @@ public class PolicyDAOImpl implements PolicyDAO {
}
@Override
public void updatePolicy(int id) throws PolicyManagerDAOException {
public void updatePolicy(int id, Policy policy) throws PolicyManagerDAOException {
}

Loading…
Cancel
Save