Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-951

Allow both String and Long keys

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      This must be considered in tandem with the need for a general find method on RequestFactory (https://jira.springsource.org/browse/ROO-1244), and the desire to have non-proxies in update events. The solution is probably something like:

      interface Proxy {
      ProxyId toId(); // Encapsulates type and id. Name does not conflict with getter properties
      }

      There is no need for ProxyId to be an interface. For that matter, it might not need to have any public methods

      RecordChangeEvent#getRecord() becomes RecordChangeEvent#getProxyId() instead

      Implement RequestFactory#find(ProxyId)

      Perhaps the future-id-aware equality gymnastics needed by https://jira.springsource.org/browse/ROO-1240 could also be embodied by ProxyId?

        Attachments

          Activity

            People

            Assignee:
            sbrubaker Stephanie Brubaker
            Reporter:
            rjrjr@google.com Ray Ryan
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified