ICEfaces
  1. ICEfaces
  2. ICE-7110

Simplify PushRenderer Cloud Push API

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, ICEpush

      Description

      Current code for using this API is functional but too verbose:

              PushRendererMessage pushMessage = new PushRendererMessage();
              pushMessage.setProperty("subject", notificationSubject);
              pushMessage.setProperty("body", notificationMessage);
              PushRenderer.render(NOTIFICATION_GROUP_NAME, pushMessage);

      Something along the lines of:

        PushRenderer.render(NOTIFICATION_GROUP_NAME,
            new PushMessage(notificationSubject, notificationMessage) );

      would be preferred

        Activity

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: