com.sapportals.portal.useragent

Interface IUserAgentFamily


Deprecated. Use the UserAgent in project uicore

public interface IUserAgentFamily

The interface that represents a user agent family. A user agent family contains all the user agent sets created by a user agent service.

This interface provides methods that allow finding the user agent set that contains a specified user agent. A user agent can be an element of more then one user agent set.

The order of the user agent sets inside a collection is defined by the order in which the user agent sets are created by the factory.


Method Summary
 IUserAgentSet findFirstUserAgentSet(IUserAgent userAgent)
          Deprecated. Gets the first user agent set that contains the specified user agent.
 String findFirstUserAgentSetName(IUserAgent userAgent)
          Deprecated. Gets the name of the first user agent set that contains the specified user agent.
 Enumeration findUserAgentSets(IUserAgent userAgent)
          Deprecated. Gets the user agent sets that contain the specified user agent.
 

Method Detail

findUserAgentSets

Enumeration findUserAgentSets(IUserAgent userAgent)
Deprecated. 
Gets the user agent sets that contain the specified user agent.

Parameters:
userAgent - a user agent
Returns:
an enumeration of user agent sets for which the method IUserAgentSet.contains(com.sapportals.portal.useragent.IUserAgent) returns true, empty if no user agent sets are found

findFirstUserAgentSet

IUserAgentSet findFirstUserAgentSet(IUserAgent userAgent)
Deprecated. 
Gets the first user agent set that contains the specified user agent.

Parameters:
userAgent - a user agent
Returns:
the first user agent set for which the method IUserAgentSet.contains(com.sapportals.portal.useragent.IUserAgent) returns true, null if no user agent sets are found

findFirstUserAgentSetName

String findFirstUserAgentSetName(IUserAgent userAgent)
Deprecated. 
Gets the name of the first user agent set that contains the specified user agent.

Parameters:
userAgent - a user agent
Returns:
the name of the first user agent set for which the method IUserAgentSet.contains(com.sapportals.portal.useragent.IUserAgent) returns true, null if no user agent sets are found
Access Rights

This class can be accessed from:


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


Copyright 2015 SAP AG Complete Copyright Notice