Package com.enonic.xp.admin.widget

## Interface WidgetDescriptorService

-     @PublicApi
      public interface WidgetDescriptorService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Descriptors<WidgetDescriptor>` | `getAllowedByInterfaces​(String... interfaceName)` |
    `Descriptors<WidgetDescriptor>` | `getByApplication​(ApplicationKey applicationKey)` |
    `Descriptors<WidgetDescriptor>` | `getByInterfaces​(String... interfaceName)` |
    `WidgetDescriptor` | `getByKey​(DescriptorKey descriptorKey)` |

- - ### Method Detail

    - #### getByInterfaces

          Descriptors<WidgetDescriptor> getByInterfaces​(String... interfaceName)

    - #### getAllowedByInterfaces

          Descriptors<WidgetDescriptor> getAllowedByInterfaces​(String... interfaceName)

    - #### getByApplication

          Descriptors<WidgetDescriptor> getByApplication​(ApplicationKey applicationKey)

    - #### getByKey

          WidgetDescriptor getByKey​(DescriptorKey descriptorKey)