Policy 1707 Second commit
[policy/engine.git] / POLICY-SDK-APP / src / main / java / org / openecomp / policy / controller / PolicyController.java
index 72dfb16..7d8701e 100644 (file)
@@ -361,6 +361,10 @@ public class PolicyController extends RestrictedBaseController {
        public void deleteData(Object entity) {
                commonClassDao.delete(entity);
        }
+       
+       public List<Object> getData(@SuppressWarnings("rawtypes") Class className){
+               return commonClassDao.getData(className);
+       }
 
        public PolicyVersion getPolicyEntityFromPolicyVersion(String query){
                PolicyVersion policyVersionEntity = (PolicyVersion) commonClassDao.getEntityItem(PolicyVersion.class, "policyName", query);