Interface SetupResourceService

All Known Implementing Classes:
SimpleSetupResourceService

public interface SetupResourceService
API for a centrally managed manager of SetupResource instances.
Version:
1.0
Author:
matt
  • Method Details

    • getSetupResource

      SetupResource getSetupResource(String resourceUID, Locale locale)
      Get a specific resource for a resource UID.
      Parameters:
      resourceUID - The ID of the resource to get.
      locale - The desired locale.
      Returns:
      The resource, or null if not available.
    • getSetupResourcesForConsumer

      Collection<SetupResource> getSetupResourcesForConsumer(String consumerType, Locale locale)
      Get a set of resources for a specific consumer type.
      Parameters:
      consumerType - The consumer type to get resources for.
      locale - The desired locale.
      Returns:
      All matching resources, never null.