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

Implement relationship properties and partial DTOs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M1
    • Fix Version/s: 1.1.0.M3
    • Component/s: GWT
    • Labels:
      None

      Description

      Per the "Sparsely populated records" section of https://wave.google.com/wave/#restored:search:jira,restored:wave:googlewave.com!w%252BWU4iAICkI.1, this must be possible:

      Range range = table.getRange();
      requestFactory.employeeRequest()
      .findEmployeeEntries(range.getStart(), range.getLength())
      .with("name")
      .with("supervisor.name")
      .fire(new Receiver<List<Employee>>()

      { ... }

      );

      Remember to handle List<SomeEntity> as well.

      Ideally this will include throwing runtime exceptions when client code calls the getter for an unrequested property, but perhaps that will need to be spun off to a separate M3 task.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cromwellian Ray Cromwell
                Reporter:
                cramsdale Chris Ramsdale
              • Votes:
                7 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: