Class StoreQueueCache

java.lang.Object
org.bgerp.cache.Cache<StoreQueueCache>
org.bgerp.plugin.inventory.cache.StoreQueueCache

public class StoreQueueCache extends Cache<StoreQueueCache>
  • Constructor Details

    • StoreQueueCache

      public StoreQueueCache()
  • Method Details

    • getQueue

      public static StoreQueue getQueue(int id)
    • getAll

      public static List<StoreQueue> getAll()
    • getUserQueues

      public static List<StoreQueue> getUserQueues(User user)
      Returns queues visible to the user. An empty user.ids in config means all users may see the queue.
    • flush

      public static void flush(Connection con)
    • newInstance

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