Class ClientPluginDao

    • Field Summary

      • Fields inherited from class de.xima.cmn.dao.AbstractDao

        entityClass, LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientPluginDao()  
    • Constructor Detail

      • ClientPluginDao

        public ClientPluginDao()
    • Method Detail

      • getActivePlugins

        public List<ClientPlugin> getActivePlugins​(IEntityContext ec,
                                                   boolean remoteOnly)
        Description copied from interface: IClientPluginDao
        Gets all plugins that are active. If desired, also limits the plugins to those that are synced remotely with the frontend server.
        Specified by:
        getActivePlugins in interface IClientPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        remoteOnly - If true, restrict the returned plugins to those that are synced remotely.
        Returns:
        All active client plugins.
      • getByUUID

        public ClientPlugin getByUUID​(IEntityContext ec,
                                      Mandant client,
                                      String uuid)
        Description copied from interface: IClientPluginDao
        Returns the client plugin with the given UUID string
        Specified by:
        getByUUID in interface IClientPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        client - Client context in which to look for client plugins.
        uuid - UUID of the client plugin
        Returns:
        The client plugin with the given UUID , or null if no such plugin exists in the given client.
      • getByUUID

        public ClientPlugin getByUUID​(IEntityContext ec,
                                      Mandant client,
                                      UUID uuid)
        Description copied from interface: IClientPluginDao
        Returns the client plugin with the given UUID
        Specified by:
        getByUUID in interface IClientPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        client - Client context in which to look for client plugins.
        uuid - UUID of the client plugin
        Returns:
        The client plugin with the given UUID , or null if no such plugin exists in the given client.