Class PluginStoreModel

  • All Implemented Interfaces:
    Serializable

    public final class PluginStoreModel
    extends Object
    implements Serializable
    Model for the plugin store that can be opened via the plugin menu page. Contains meta data for the store as well as a list of items.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • PluginStoreModel

        public PluginStoreModel​(List<PluginStoreItem> items)
        Creates a new store model with the given data.
        Parameters:
        items - A list of all plugins.
    • Method Detail

      • getInstalledItems

        public List<PluginStoreItem> getInstalledItems()
        A list of all store items (plugins) that are currently installed.
        Returns:
        A list of all available installed plugins.
      • getAvailableItems

        public List<PluginStoreItem> getAvailableItems()
        A list of all store items (plugins) that are currently not installed but available to install.
        Returns:
        A list of all available not installed plugins.
      • getUnavailableItems

        public List<PluginStoreItem> getUnavailableItems()
        A list of all store items (plugins) that are currently not installed and unavailable e.g. due to not included in the current license.
        Returns:
        A list of all unavailable not installed plugins.
      • empty

        public static PluginStoreModel empty()
        Returns an empty store model with no items.
        Returns:
        An empty store model.
      • getItems

        public List<PluginStoreItem> getItems()
        A list of all store items (plugins) that are currently installed.
        Returns:
        A list of all plugins.