Class PluginWrapperModel<E extends IPluginEntity<?,​?,​?>>

    • Constructor Detail

      • PluginWrapperModel

        public PluginWrapperModel​(Locale locale,
                                  E pluginEntity,
                                  IGenericDao<E> dao)
        Creates a new plugin wrapper for a given plugin runtime and database access object.
        Parameters:
        locale - Locale for localizing the plugin name and description.
        pluginEntity - Plugin instance to wrap.
        dao - Database access object for the plugin.
      • PluginWrapperModel

        public PluginWrapperModel​(Locale locale,
                                  E pluginEntity,
                                  IGenericDao<E> dao,
                                  IEntityContext ec)
        Creates a new plugin wrapper for a given plugin runtime and database access object.
        Parameters:
        locale - Locale for localizing the plugin name and description.
        pluginEntity - Plugin instance to wrap.
        dao - Database access object for the plugin.
        ec - Entity context for initializing inactive plugins. When not given, no information will be available for inactive plugins.
      • PluginWrapperModel

        public PluginWrapperModel​(Locale locale,
                                  PluginRuntime pluginRuntime,
                                  IGenericDao<E> dao)
        Creates a new plugin wrapper for a given plugin runtime and database access object.
        Parameters:
        locale - Locale for localizing the plugin name and description.
        pluginRuntime - Runtime of the plugin to wrap.
        dao - Database access object for the plugin.