Class SystemPluginDao

    • Field Summary

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

        entityClass, LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemPluginDao()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<SystemPlugin> getActivePlugins​(IEntityContext ec, boolean remoteOnly)
      Gets all plugins that are active.
      SystemPlugin getByUUID​(IEntityContext ec, String uuid)
      Returns the system plugin with the given UUID string
      SystemPlugin getByUUID​(IEntityContext ec, UUID uuid)
      Returns the system plugin with the given UUID
      • Methods inherited from class de.xima.cmn.dao.AbstractDao

        all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
      • Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao

        all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
    • Constructor Detail

      • SystemPluginDao

        public SystemPluginDao()
    • Method Detail

      • getActivePlugins

        public List<SystemPlugin> getActivePlugins​(IEntityContext ec,
                                                   boolean remoteOnly)
        Description copied from interface: ISystemPluginDao
        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 ISystemPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        remoteOnly - If true, restrict the returned plugins to those that are synced remotely.
        Returns:
        All active system plugins.
      • getByUUID

        public SystemPlugin getByUUID​(IEntityContext ec,
                                      String uuid)
        Description copied from interface: ISystemPluginDao
        Returns the system plugin with the given UUID string
        Specified by:
        getByUUID in interface ISystemPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        uuid - UUID of the system plugin
        Returns:
        The system plugin with the given UUID, or null if no such plugin exists.
      • getByUUID

        public SystemPlugin getByUUID​(IEntityContext ec,
                                      UUID uuid)
        Description copied from interface: ISystemPluginDao
        Returns the system plugin with the given UUID
        Specified by:
        getByUUID in interface ISystemPluginDao
        Parameters:
        ec - Entity context for accessing the database.
        uuid - UUID of the system plugin
        Returns:
        The system plugin with the given UUID, or null if no such plugin exists.