Interface DeviceMapper


  • public interface DeviceMapper
    Maps HTTP requests to Device instances
    Since:
    CQ 5.4.0
    • Method Detail

      • getCapabilities

        java.util.Map<java.lang.String,​DeviceCapability> getCapabilities()
        Returns a map of all DeviceCapabilitys available in the system.
        Returns:
        An unmodifiable map of capabilities.
      • getDeviceInstance

        Device getDeviceInstance​(SlingHttpServletRequest request)
        Creates a new Device instance for the supplied request.
        Parameters:
        request - The request to retrieve the device instance from.
        Returns:
        null if no mapping found.
      • getFilters

        java.util.Map<java.lang.String,​DeviceGroupFilter> getFilters()
        Returns a map of all DeviceGroupFilters available in the system.
        Returns:
        An unmodifiable map of filters.