com.businessobjects.rebean.wi
Class MultilingualOptions

java.lang.Object
  extended by com.businessobjects.rebean.wi.MultilingualOptions

public class MultilingualOptions
extends java.lang.Object

The MultilingualOptions class is used for overriding the server's default multilingual behaviour.

Since:
12.0
See Also:
ReportEngine.openDocument(int, OpenDocumentParameters)

Constructor Summary
MultilingualOptions()
          Constructor
 
Method Summary
 void disableMultilingual()
          Disables multi-lingual behavior on the server side.
 void disableMultilingual(java.lang.String locale)
          Disables multi-lingual behavior on the server side, but provides a way to specify a content locale.
 void enableMultilingual()
          Enables multi-lingual behavior on the server side using the logged on user preferred viewing locale.
 void enableMultilingual(java.lang.String locale)
          Enables multi-lingual behavior on the server side using specified locale, thus overriding default settings.
 java.lang.String getLocale()
          Returns the locale override, if any.
 boolean isMultilingualEnabled()
          Returns true if server side multilingual behavior is enabled, false otherwise.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultilingualOptions

public MultilingualOptions()
Constructor

Method Detail

enableMultilingual

public void enableMultilingual()
Enables multi-lingual behavior on the server side using the logged on user preferred viewing locale.


enableMultilingual

public void enableMultilingual(java.lang.String locale)
Enables multi-lingual behavior on the server side using specified locale, thus overriding default settings.

Parameters:
locale - the desired locale identifier

disableMultilingual

public void disableMultilingual()
Disables multi-lingual behavior on the server side.


disableMultilingual

public void disableMultilingual(java.lang.String locale)
Disables multi-lingual behavior on the server side, but provides a way to specify a content locale.

Parameters:
locale -

isMultilingualEnabled

public boolean isMultilingualEnabled()
Returns true if server side multilingual behavior is enabled, false otherwise.

Returns:
true if server side multilingual behavior is enabled, false otherwise.

getLocale

public java.lang.String getLocale()
Returns the locale override, if any.

Returns:
the locale override, if any.