protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.mobile.device.rules.service.MDRRuleGroupLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(MDRRuleGroup.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("ruleGroupId");
  }
  @Override
  public ActionableDynamicQuery getActionableDynamicQuery() {
    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.mobile.device.rules.service.MDRRuleGroupLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(MDRRuleGroup.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("ruleGroupId");

    return actionableDynamicQuery;
  }