com.sap.portal.ds.services

Interface IDeviceService

All Superinterfaces:
IService

public interface IDeviceService
extends IService

Returns the IDeviceGroup that matches the device used by the client, according to the user agent
The list of device groups can be managed by a system administrator in the Device Group Manager


Field Summary
static String KEY
           
 
Method Summary
 IDeviceGroup getDeviceGroupByUserAgent(String userAgent)
          Returns the IDeviceGroup that matches a user agent
 String getDisplayNameOfDeviceType(DeviceType deviceType, Locale locale)
          Returns the name of the specified device type, according to locale
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Field Detail

KEY

static final String KEY
See Also:
Constant Field Values
Method Detail

getDeviceGroupByUserAgent

IDeviceGroup getDeviceGroupByUserAgent(String userAgent)
Returns the IDeviceGroup that matches a user agent

Parameters:
userAgent - - the user agent to search for
Returns:
DeviceGroup - the DeviceGroup that matches the user agent
null - if no DeviceGroup matches the user agent

getDisplayNameOfDeviceType

String getDisplayNameOfDeviceType(DeviceType deviceType,
                                  Locale locale)
Returns the name of the specified device type, according to locale

Parameters:
deviceType - - the DeviceType whose name to get
locale - - must not be null
Returns:
DeviceType name according to the locale
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2013 SAP AG Complete Copyright Notice