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

      • getAvailableLicensedItems

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

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

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

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

        public List<String> getTags()
        A list of all tags from all plugin items, sorted by name.
        Returns:
        A list of all tags.
      • 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.
      • numberOfTags

        public long numberOfTags​(String tagName)
        Returns the number of plugin store items with the given tag name.
        Parameters:
        tagName - tag name to filter for
        Returns:
        The number of plugin store models that have the specified tag.