mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge branch 'master' of https://github.com/geethkokila/product-cdm
This commit is contained in:
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…
Reference in New Issue
Block a user