com.sapportals.admin.wizardframework.util

Interface ILocalesConfigService

All Superinterfaces:
IService
All Known Subinterfaces:
ILocaleListService

public interface ILocalesConfigService
extends IService

The service that gets a list of valid languages allowed as the master language for an object(source locales), and a list of target languages for translation. Enables manipulations on the valid languages.


Method Summary
 Locale getClosestAvailablePersLocale(Locale requestedLocale)
          Gets the closest available personalization locale for a specified locale.
 Locale getClosestAvailableSourceLocale(Locale requestedLocale)
          Gets the closest available source locale for a specified locale.
 Locale getClosestAvailableTargetLocale(Locale requestedLocale)
          Gets the closest available target locale for a specified locale.
 List getListOfPersLocalesOrderedByDisplayName(Locale displayLocale)
          Gets a list of personalization locales that are sorted by the display name.
 List getListOfSourceLocalesOrderedByDisplayName(Locale displayLocale)
          Gets a list of source locales that are sorted by the display name.
 List getListOfTargetLocalesOrderedByDisplayName(Locale displayLocale)
          Gets a list of target locales that are sorted by the display name.
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Method Detail

getListOfSourceLocalesOrderedByDisplayName

List getListOfSourceLocalesOrderedByDisplayName(Locale displayLocale)
Gets a list of source locales that are sorted by the display name.

Parameters:
displayLocale - a locale display name
Returns:
an ordered list of source locales

getListOfTargetLocalesOrderedByDisplayName

List getListOfTargetLocalesOrderedByDisplayName(Locale displayLocale)
Gets a list of target locales that are sorted by the display name.

Parameters:
displayLocale - a locale display name
Returns:
an ordered list of target locales

getListOfPersLocalesOrderedByDisplayName

List getListOfPersLocalesOrderedByDisplayName(Locale displayLocale)
Gets a list of personalization locales that are sorted by the display name.

Parameters:
displayLocale - a locale display name
Returns:
an ordered list of personalization locales

getClosestAvailableSourceLocale

Locale getClosestAvailableSourceLocale(Locale requestedLocale)
Gets the closest available source locale for a specified locale.

Parameters:
requestedLocale - a locale
Returns:
the closest available source locale

getClosestAvailableTargetLocale

Locale getClosestAvailableTargetLocale(Locale requestedLocale)
Gets the closest available target locale for a specified locale.

Parameters:
requestedLocale - a locale
Returns:
the closest available target locale

getClosestAvailablePersLocale

Locale getClosestAvailablePersLocale(Locale requestedLocale)
Gets the closest available personalization locale for a specified locale.

Parameters:
requestedLocale - a locale
Returns:
the closest available personalization locale
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated api EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated - EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice