Interface SlingModelFilter


@ProviderType public interface SlingModelFilter
The SlingModelFilter can be used by ComponentExporters in order to filter Resources and properties that are exported.
  • Method Details

    • filterProperties

      Map<String,Object> filterProperties(Map<String,Object> properties)
      Returns the filtered properties to be exported.
      Parameters:
      properties - The properties to be filtered.
      Returns:
      Returns the filtered properties to be exported.
    • filterChildResources

      Iterable<Resource> filterChildResources(Iterable<Resource> childResources)
      Returns the filtered child Resources to be exported.
      Parameters:
      childResources - The child resources to be filtered.
      Returns:
      Returns the filtered child Resources to be exported.