Package com.day.cq.wcm.mobile.api.device
Interface DeviceMapper
public interface DeviceMapper
Maps HTTP requests to Device instances
- Since:
- CQ 5.4.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of allDeviceCapabilitys available in the system.getDeviceInstance(SlingHttpServletRequest request) Creates a new Device instance for the supplied request.Returns a map of allDeviceGroupFilters available in the system.
-
Method Details
-
getCapabilities
Map<String,DeviceCapability> getCapabilities()Returns a map of allDeviceCapabilitys available in the system.- Returns:
- An unmodifiable map of capabilities.
-
getDeviceInstance
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
Map<String,DeviceGroupFilter> getFilters()Returns a map of allDeviceGroupFilters available in the system.- Returns:
- An unmodifiable map of filters.
-