Interface | osid.locale.LocaleProxyManager | ||
---|---|---|---|
Implements | osid.OsidProxyManager | ||
osid.locale.LocaleProfile | |||
Description |
The locale manager provides access to locale sessions and
provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a
| ||
Method | getTranslationSession | ||
Description |
Gets an | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.TranslationSession | a TranslationSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsTranslation() is false | ||
Compliance | optional | This method must be implemented if supportsTranslation() is
true. | |
Method | getTranslationSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceLanguageType | the type of the source language |
osid.type.Type | sourceScriptType | the type of the source script | |
osid.type.Type | targetLanguageType | the type of the target language | |
osid.type.Type | targetScriptType | the type of the target script | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.TranslationSession | a TranslationSession | |
Errors | NULL_ARGUMENT | sourceLanguageType, sourceScriptType, targetLanguageType,
targetScriptType or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsTranslation() or supportsVisibleFederation()
is false | ||
UNSUPPORTED | supportsLanguageTypesForTranslation(sourceLanguageType,
sourceScriptType, targetLanguageType, targetScriptType) is
false | ||
Compliance | optional | This method must be implemented if supportsTranslation() and
supportsVisibleFederation() are true. | |
Method | getTranslationAdminSession | ||
Description |
Gets a language translation administration service for updating a locale dictionary. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.TranslationAdminSession | a TranslationAdminSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsTranslationAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsTranslationAdmin()
is true. | |
Method | getTranslationAdminSessionForType | ||
Description |
Gets a language trabslation administration service for updating a locale dictionary using the given language and script types. | ||
Parameters | osid.type.Type | sourceLanguageType | the type of the source language |
osid.type.Type | sourceScriptType | the type of the source script | |
osid.type.Type | targetLanguageType | the type of the target language | |
osid.type.Type | targetScriptType | the type of the target script | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.TranslationAdminSession | a TranslationAdminSession | |
Errors | NULL_ARGUMENT | sourceLanguageType, sourceScriptType, targetLanguageType,
targetScriptType or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsTranslationAdmin() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsLanguageTypesForTranslation(sourceLanguageType,
sourceScriptType, targetLanguageType, targetScriptType) is
false | ||
Compliance | optional | This method must be implemented if supportsTranslationAdmin()
and supportsVisibleFederation() are true.
| |
Method | getNumericFormattingSession | ||
Description |
Gets an | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.NumericFormattingSession | a NumericFormattingSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsNumericFormatting() is false | ||
Compliance | optional | This method must be implemented if supportsNumericFormatting()
is true. | |
Method | getNumericFormattingSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | numericFormatType | the type of the numeric format |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.NumericFormattingSession | a NumericFormattingSession | |
Errors | NULL_ARGUMENT | numericFormatType or proxy is null
| |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsNumericFormatting() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsNumericFormatType(numericFormatType) is false
| ||
Compliance | optional | This method must be implemented if supportsNumericFormatting()
and supportsVisibleFederation() are true.
| |
Method | getCalendarFormattingSession | ||
Description |
Gets an | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CalendarFormattingSession | a CalendarFormattingSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarFormatting() is false | ||
Compliance | optional | This method must be implemented if supportsCalendarFormatting()
is true. | |
Method | getCalendarFormattingSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | calendarType | the type of the calendar |
osid.type.Type | calendarFormatType | the type of the calendar format | |
osid.type.Type | timeType | the type of the time system | |
osid.type.Type | timeFormatType | the type of the time format | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CalendarFormattingSession | a CalendarFormattingSession | |
Errors | NULL_ARGUMENT | calendarType, calendarFormatType, timeTyp, timeFormatType or
proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarFormatting() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCalendarTypesForFormattinge(calendarType,
calendarFormatType, timeType, timeFormatType) is false | ||
Compliance | optional | This method must be implemented if supportsCalendarFormatting()
and supportsVisibleFederation() are true.
| |
Method | getCurrencyFormattingSession | ||
Description |
Gets an | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CurrencyFormattingSession | a CurrencyFormattingSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCurrencyFormatting() is false | ||
Compliance | optional | This method must be implemented if supportsCurrencyFormatting()
is true. | |
Method | getCurrencyFormattingSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | currencyType | the type of the currency |
osid.type.Type | numericFormatType | the type of the numeric format | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CurrencyFormattingSession | a CurrencyFormattingSession | |
Errors | NULL_ARGUMENT | currencyType, numericFormatType or proxy is
null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCurrencyFormatting() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCurrencyTypesForFomatting(currencyType, numericFormatType)
is false | ||
Compliance | optional | This method must be implemented if supportsCurrencyFormatting()
and supportsVisibleFederation() are true.
| |
Method | getCoordinateFormattingSession | ||
Description |
Gets an | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CoordinateFormattingSession | a CoordinateFormattingSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCoordinateFormatting() is false | ||
Compliance | optional | This method must be implemented if supportsCoordinateFormatting()
is true. | |
Method | getCoordinateFormattingSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | coordinateType | the type of the coordinate |
osid.type.Type | coordinateFormatType | the type of the coordinate format | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CoordinateFormattingSession | a CoordinateFormattingSession | |
Errors | NULL_ARGUMENT | coordinateType, coordinateFormatType, or proxy
is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCoordinateFormatting() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCoordinateTypesForFomatting(coordinateType,
coordinateFormatType) is false | ||
Compliance | optional | This method must be implemented if supportsCoordinateFormatting()
and supportsVisibleFederation() are true.
| |
Method | getUnitConversionSession | ||
Description |
Gets a unit conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.UnitConversionSession | a UnitConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsUnitConversion() is false | ||
Compliance | optional | This method must be implemented if supportsUnitConversion()
is true. | |
Method | getCurrencyConversionSession | ||
Description |
Gets a currency conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CurrencyConversionSession | a CurrencyConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCurrencyConversion() is false | ||
Compliance | optional | This method must be implemented if supportsCurrencyConversion()
is true. | |
Method | getCurrencyConversionSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceCurrencyType | the type of the source currency |
osid.type.Type | targetCurrencyType | the type of the target currency | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CurrencyConversionSession | a CurrencyConversionSession | |
Errors | NULL_ARGUMENT | sourceCurrencyType, targetCurrencyType or proxy
is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCurrencyConversion() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCurrencyTypesForConversion(sourceCurrencyType,
targetCurrencyType) is false | ||
Compliance | optional | This method must be implemented if supportsCurrencyConversion()
and supportsVisibleFederation() are true.
| |
Method | getCalendarConversionSession | ||
Description |
Gets a calendar conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CalendarConversionSession | a CalendarConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarConversion() is false | ||
Compliance | optional | This method must be implemented if supportsCalendarConversion()
is true. | |
Method | getCalendarConversionSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceCalendarType | the type of the source calendar |
osid.type.Type | sourceTimeType | the type of the source time | |
osid.type.Type | targetCalendarType | the type of the target calendar | |
osid.type.Type | targetTimeType | the type of the target time | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CalendarConversionSession | a CalendarConversionSession | |
Errors | NULL_ARGUMENT | sourceCalendarType, sourceTimeType, targetCalendarType,
targetTimeType or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarConversion() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCalendarTypesForConversion(sourceCalendarType,
targetCalendarType) or
supportsTimeTypesForConversion(sourceTimeType, targetTimeType) is
false | ||
Compliance | optional | This method must be implemented if supportsCalendarConversion()
and supportsVisibleFederation() are true.
| |
Method | getCoordinateConversionSession | ||
Description |
Gets a coordinate conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CoordinateConversionSession | a CoordinateConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCoordinateConversion() is false | ||
Compliance | optional | This method must be implemented if supportsCoordinateConversion()
is true. | |
Method | getCoordinateConversionSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceCoordinateType | the type of the source coordinate |
osid.type.Type | targetCoordinateType | the type of the target coordinate | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CoordinateConversionSession | a CoordinateConversionSession | |
Errors | NULL_ARGUMENT | sourceCoordinateType, targetCoordinateType,
or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCoordinateConversion() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsCoordinateRecordTypesForConversion(sourceCoordinateType,
targetCoordinateType) is false | ||
Compliance | optional | This method must be implemented if supportsCoordinateConversion()
and supportsVisibleFederation() are true.
| |
Method | getSpatialUnitConversionSession | ||
Description |
Gets a spatial unit conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.SpatialUnitConversionSession | a SpatialUnitConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsSpatialUnitConversion() is false | ||
Compliance | optional | This method must be implemented if supportsSpatialUnitConversion()
is true. | |
Method | getSpatialUnitConversionSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceSpatialUnitRecordType | the type of the source spatial unit record |
osid.type.Type | targetSpatialUnitRecordType | the type of the target spatial unit record | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.SpatialUnitConversionSession | a SpatialUnitConversionSession | |
Errors | NULL_ARGUMENT | sourceSpatialUnitRecordType,
targetSpatialUnitRecordType or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsSpatialUnitConversion() or
supportsVisibleFederation() is false | ||
UNSUPPORTED |
supportsSpatialUnitRecordTypesForConversion(sourceSpatialUnitRecordType,
targetSpatialUnitRecordType) is false | ||
Compliance | optional | This method must be implemented if supportsSpatialUnitConversion()
and supportsVisibleFederation() are true.
| |
Method | getFormatConversionSession | ||
Description |
Gets a text format conversion session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.FormatConversionSession | a FormatConversionSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsFormatConversion() is false | ||
Compliance | optional | This method must be implemented if supportsFormatConversion()
is true. | |
Method | getFormatConversionSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | sourceFormatType | the type of the text format |
osid.type.Type | targetFormatType | the type of the text format | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.FormatConversionSession | a FormatConversionSession | |
Errors | NULL_ARGUMENT | sourceFormatType, targetFormatType or proxy
is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsFormatConversion() or
supportsVisibleFederation() is false | ||
UNSUPPORTED | supportsFormatTypesForConversion(sourceFormatType,
targetFormatRecordType) is false | ||
Compliance | optional | This method must be implemented if supportsFormatConversion()
and supportsVisibleFederation() are true.
| |
Method | getCalendarInfoSession | ||
Description |
Gets a calendar informational session session. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.locale.CalendarInfoSession | a CalendarInfoSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarInfo() is false | ||
Compliance | optional | This method must be implemented if supportsCalendarInfo() is
true. | |
Method | getCalendarInfoSessionForType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | calendarType | the type of the calendar |
osid.type.Type | timeType | the type of the time system | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.locale.CalendarInfoSession | a CalendarInfoSession | |
Errors | NULL_ARGUMENT | calendarType, timeType or proxy is
null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCalendarType() or supportsVisibleFederation()
is false | ||
UNSUPPORTED | supportsCalendarTimeTypes(calendarType, timeType) is
false | ||
Compliance | optional | This method must be implemented if supportsCalendarInfo()
and supportsVisibleFederation() are true. |