Annotation Interface PdoTableContextMenuItemService


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) @MappedService(PdoTableContextMenuItem.class) public @interface PdoTableContextMenuItemService
Annotation to express that the annotated class is a PdoTableContextMenuItem.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The ordinal to sort the menu-items within the context menu.
    0 comes first.
    Determines the serviced PDO class.
    The PDO-class usually is an interface extending the persistent and the domain interfaces.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines the group the item belongs to.
    Separators will be inserted between groups.
  • Element Details

    • value

      Class<? extends PersistentDomainObject> value
      Determines the serviced PDO class.
      The PDO-class usually is an interface extending the persistent and the domain interfaces.

      The class may be also a super-interface. For example, PersistentDomainObject will apply to all PDOs.

      Returns:
      the PDO class
    • ordinal

      int ordinal
      The ordinal to sort the menu-items within the context menu.
      0 comes first.

      If the same ordinal is defined more than once, the menu item closest in the the PDO-inheritance tree will override all others.

      Returns:
      the ordinal
    • group

      String group
      Defines the group the item belongs to.
      Separators will be inserted between groups.
      Returns:
      the group, empty for default group
      Default:
      ""