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

Provide the ability to group domain services into logical menus, using @MemberOrder.

    Details

      Description

      Suppose we have two closely related domain services, each servicing a different entity, eg:
      Property and Unit.

      We would like these actions to appear as a single menu, eg "Assets".

      The idea is to use @MemberOrder for this, eg:

      class Property {

      @MemberOrder(name="Assets", sequence="1")
      public Property findProperty( ... )

      { ... }

      @MemberOrder(name="Assets", sequence="2")
      public Property newProperty( ... ) { ... }

      }

      and

      class Unit {

      @MemberOrder(name="Assets", sequence="3")
      public Unit findUnit( ... )

      { ... }

      @MemberOrder(name="Assets", sequence="4")
      public Unit newUnit( ... ) { ... }

      }

      These four actions would then appear under an "Assets" menu.

        Attachments

          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: