Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-497

Allow service actions to be rendered as contributed collections or as contributed properties.

    Details

      Description

      Thus:

      a non-void service action that accepts a single argument of the entity type is rendered as a property if it returns a scalar, or a collection if it returns a list<T>.

      To prevent the service action from being contributed, use @NotContributed annotation, which is extended to:

      @NotContributed ... not contributed at all
      @NotContributed(As.ACTION) .... but is contributed as a property/collection (dependent on return type)
      @NoContributed(As.ASSOCIATION) .... but is contributed as an action

      Contributed collections are implicitly eagerly rendered.
      Contributed properties can be hidden from tables by annotating the service action with @Hidden(where=ALL_TABLES), in the usual fashion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danhaywood Dan Haywood
                Reporter:
                danhaywood Dan Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: