Class QueueCache

java.lang.Object
org.bgerp.cache.Cache<QueueCache>
org.bgerp.plugin.inventoru.cache.QueueCache

public class QueueCache extends Cache<QueueCache>
  • Constructor Details

    • QueueCache

      public QueueCache()
  • Method Details

    • getQueue

      public static Queue getQueue(int id)
    • getAll

      public static List<Queue> getAll()
    • getUserQueues

      public static List<Queue> getUserQueues(User user, QueueEntity entity)
      Queues of one entity given to the user — personally or through one of their groups, the same union the kernel applies to process queues. A queue given to nobody is shown to nobody: there is no "everyone" shortcut here, as there is none in the kernel.
    • flush

      public static void flush(Connection con)
    • newInstance

      protected QueueCache newInstance()
      Description copied from class: Cache
      Creates a new cache instance
      Specified by:
      newInstance in class Cache<QueueCache>
      Returns:
      the instance