コード例 #1
0
  protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.WebDAVPropsLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(WebDAVProps.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("webDavPropsId");
  }
コード例 #2
0
  @Override
  public ActionableDynamicQuery getActionableDynamicQuery() {
    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.WebDAVPropsLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(WebDAVProps.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("webDavPropsId");

    return actionableDynamicQuery;
  }