use of com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery in project liferay-ide by liferay.
the class ClubLocalServiceBaseImpl method getActionableDynamicQuery.
@Override
public ActionableDynamicQuery getActionableDynamicQuery() {
ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
actionableDynamicQuery.setBaseLocalService(com.liferay.roster.service.ClubLocalServiceUtil.getService());
actionableDynamicQuery.setClassLoader(getClassLoader());
actionableDynamicQuery.setModelClass(Club.class);
actionableDynamicQuery.setPrimaryKeyPropertyName("clubId");
return actionableDynamicQuery;
}
use of com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery in project liferay-ide by liferay.
the class RosterMemberLocalServiceBaseImpl method getActionableDynamicQuery.
@Override
public ActionableDynamicQuery getActionableDynamicQuery() {
ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
actionableDynamicQuery.setBaseLocalService(com.liferay.roster.service.RosterMemberLocalServiceUtil.getService());
actionableDynamicQuery.setClassLoader(getClassLoader());
actionableDynamicQuery.setModelClass(RosterMember.class);
actionableDynamicQuery.setPrimaryKeyPropertyName("rosterMemberId");
return actionableDynamicQuery;
}
use of com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery in project liferay-ide by liferay.
the class AdminPortletDataHandler method getKBArticleActionableDynamicQuery.
protected ActionableDynamicQuery getKBArticleActionableDynamicQuery(final PortletDataContext portletDataContext) throws Exception {
return new KBArticleExportActionableDynamicQuery(portletDataContext) {
@Override
protected void addCriteria(DynamicQuery dynamicQuery) {
super.addCriteria(dynamicQuery);
OrderFactoryUtil.addOrderByComparator(dynamicQuery, new KBArticleVersionComparator(true));
}
};
}
use of com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery in project liferay-blade-samples by liferay.
the class FooLocalServiceBaseImpl method getActionableDynamicQuery.
@Override
public ActionableDynamicQuery getActionableDynamicQuery() {
ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
actionableDynamicQuery.setBaseLocalService(fooLocalService);
actionableDynamicQuery.setClassLoader(getClassLoader());
actionableDynamicQuery.setModelClass(Foo.class);
actionableDynamicQuery.setPrimaryKeyPropertyName("fooId");
return actionableDynamicQuery;
}
use of com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery in project liferay-blade-samples by liferay.
the class RegionLocalServiceBaseImpl method getActionableDynamicQuery.
@Override
public ActionableDynamicQuery getActionableDynamicQuery() {
ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
actionableDynamicQuery.setBaseLocalService(regionLocalService);
actionableDynamicQuery.setClassLoader(getClassLoader());
actionableDynamicQuery.setModelClass(Region.class);
actionableDynamicQuery.setPrimaryKeyPropertyName("regionId");
return actionableDynamicQuery;
}
Aggregations