Class OrganizationNodeCache

  • All Implemented Interfaces:
    OBProvidable, OBSingleton

    public class OrganizationNodeCache
    extends Object
    implements OBSingleton
    Cache that stores the hierarchical information of Openbravo organizations. It uses a TimeInvalidatedCache to avoid initializing this information too often. If this information changes (i.e. a new organization is added to Openbravo or an existing organization is moved in the hierarchy, some time will passed until the update is reflected on the cache (see expireAfterDuration in cache builder)
    • Constructor Detail

      • OrganizationNodeCache

        public OrganizationNodeCache()
    • Method Detail

      • getInstance

        public static OrganizationNodeCache getInstance()
        Returns:
        the singleton instance of OrganizationNodeCache