Class AbstractLocaleResolvePolicy
- java.lang.Object
-
- com.microstrategy.web.objects.localization.AbstractLocaleResolvePolicy
-
- All Implemented Interfaces:
LocaleResolvePolicy
- Direct Known Subclasses:
ClientLocaleResolvePolicy
,ServerLocaleResolvePolicy
,UserOrClientLocaleResolvePolicy
public abstract class AbstractLocaleResolvePolicy extends java.lang.Object implements LocaleResolvePolicy
an implementation of LocaleResolvePolicy, provide resolve() method to set locale and locale resolve policy when creating session.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractLocaleResolvePolicy(java.util.Locale clientLocale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMetaDataLocaleResolution()
int
getWarehouseLocaleResolution()
void
resolve(WebIServerSession iSession)
set metadata,warehouse,display,number,message locale resolution value to iSession-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.objects.localization.LocaleResolvePolicy
getDisplayLocaleResolution, getMessageLocaleResolution, getNumberLocaleResolution
-
-
-
-
Method Detail
-
getMetaDataLocaleResolution
public int getMetaDataLocaleResolution()
- Specified by:
getMetaDataLocaleResolution
in interfaceLocaleResolvePolicy
- Returns:
- the metadata locale resolve policy
-
getWarehouseLocaleResolution
public int getWarehouseLocaleResolution()
- Specified by:
getWarehouseLocaleResolution
in interfaceLocaleResolvePolicy
- Returns:
- the warehouse locale resolve policy
-
resolve
public void resolve(WebIServerSession iSession)
Description copied from interface:LocaleResolvePolicy
set metadata,warehouse,display,number,message locale resolution value to iSession- Specified by:
resolve
in interfaceLocaleResolvePolicy
-
-