Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    Description

      For example:

      DynamicQuery dq = DynamicQueryFactoryUtil.forClass(User.class)
      .setProjection(
      ProjectionFactoryUtil.projectionList()
      .add(ProjectionFactoryUtil.property("emailAddress"))
      .add(ProjectionFactoryUtil.property("lastLoginDate"))
      .add(ProjectionFactoryUtil.property("lastLoginIP")))
      .add(PropertyFactoryUtil.forName("lastLoginDate").gt(last24Hours.getTime()))
      .addOrder(OrderFactoryUtil.asc("emailAddress"));

      List results = UserLocalServiceUtil.dynamicQuery(dq);

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            raymond.auge Raymond Auge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                5.1.0