revert-70aa11f8
inosh-perera 10 years ago
commit b7ca60d802

@ -28,7 +28,7 @@ public interface PolicyDAO {
int addPolicy(String deviceID, String deviceType, Policy policy) throws PolicyManagerDAOException; 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; Policy getPolicy() throws PolicyManagerDAOException;

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

Loading…
Cancel
Save