Interface DomainDataRegion

    • Method Detail

      • getEntityDataAccess

        EntityDataAccess getEntityDataAccess​(NavigableRole rootEntityRole)
        Build a EntityDataAccess instance representing access to destructured entity data stored in this cache region.
        Parameters:
        rootEntityRole - The root entity name for the hierarchy whose data we want to access
        Throws:
        CacheException - If the provider cannot provide the requested access
        API Note:
        Calling this method is illegal if the given entity is not cacheable
      • getNaturalIdDataAccess

        NaturalIdDataAccess getNaturalIdDataAccess​(NavigableRole rootEntityRole)
        Build a NaturalIdDataAccess instance representing access to natural id mappings stored in this cache region.
        Parameters:
        rootEntityRole - The NavigableRole of the root entity whose natural id data we want to access
        Throws:
        CacheException - If the provider cannot provide the requested access
        API Note:
        Calling this method is illegal if the given natural id is not cacheable
      • getCollectionDataAccess

        CollectionDataAccess getCollectionDataAccess​(NavigableRole collectionRole)
        Build a CollectionDataAccess instance representing access to destructured collection data stored in this cache region.
        Parameters:
        collectionRole - The NavigableRole of the collection whose data we want to access
        Throws:
        CacheException - If the provider cannot provide the requested access
        API Note:
        Calling this method is illegal if the given collection is not cacheable