Class AmetysDisplayCodeProvider

All Implemented Interfaces:
DisplayCodeProvider, PluginAware, Supporter<Content>, Configurable

Implementation of DisplayCodeProvider that returns the Ametys code of the program item
  • Field Details

  • Constructor Details

  • Method Details

    • supports

      public boolean supports(Content content)
      Description copied from interface: Supporter
      Check if an element is supported
      Parameters:
      content - The element
      Returns:
      true if the element is supported, false otherwise
    • getDisplayCode

      Description copied from interface: DisplayCodeProvider
      Get the display code of this content
      Parameters:
      content - the content
      Returns:
      the display code