Package com.liferay.portal.kernel.dao.orm

Examples of com.liferay.portal.kernel.dao.orm.Order


     
      DynamicQuery locationQuery = DynamicQueryFactoryUtil.forClass(Location.class)
          .add(RestrictionsFactoryUtil.eq("name", locationName))
          .setProjection(ProjectionFactoryUtil.property("locationId"));
     
      Order order = OrderFactoryUtil.desc("modifiedDate");
     
      DynamicQuery eventQuery = DynamicQueryFactoryUtil.forClass(Event.class)
          .add(RestrictionsFactoryUtil.eq("name", eventName))
          .add(RestrictionsFactoryUtil.eq("description", eventDescription))
          .add(PropertyFactoryUtil.forName("locationId").in(locationQuery))
View Full Code Here

TOP

Related Classes of com.liferay.portal.kernel.dao.orm.Order

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.