Interface LocaleProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, LocaleProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
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 Proxy for passing
information from server environments. The sessions included in this
manager are:
-
TranslationSession: a session translate strings -
TranslationAdminSession: asession to update the string translations for a locale -
NumericFormattingSession: a session for formatting and parsing numbers -
CalendarFormattingSession: a session for formatting and parsing dates and times -
CurrencyFormattingSession: a session for formatting and parsing currency amounts -
CoordinateFormattingSession: a session for formatting and parsing coordinates -
UnitConversionSession: a session to convert measurement units -
CurrencyConversionSession:a session to convert currency -
CalendarConversionSession: a session to convert dates across calendars -
CoordinateConversionSession: a session to convert coordinate systems -
SpatialUnitConversionSession: a session to convert spatial units -
FormatConversionSession: a session to convert text formats -
CalendarInfoSession: a session for examining calendaring and time systems
-
Method Summary
Modifier and TypeMethodDescriptionGets a calendar conversion session.getCalendarConversionSessionForType(Type sourceCalendarType, Type sourceTimeType, Type targetCalendarType, Type targetTimeType, Proxy proxy) Gets anOsidSessionassociated with the calendar conversion service and the given calendar types.Gets anOsidSessionassociated with the calendar formatting service.getCalendarFormattingSessionForType(Type calendarType, Type calendarFormatType, Type timeType, Type timeFormatType, Proxy proxy) Gets anOsidSessionassociated with the calendar formatting service and the given calendar and time types.getCalendarInfoSession(Proxy proxy) Gets a calendar informational session session.getCalendarInfoSessionForType(Type calendarType, Type timeType, Proxy proxy) Gets anOsidSessionassociated with the calendar informational service and the given calendar and time types.Gets a coordinate conversion session.getCoordinateConversionSessionForType(Type sourceCoordinateType, Type targetCoordinateType, Proxy proxy) Gets anOsidSessionassociated with the coordinate conversion service and the given coordinate types.Gets anOsidSessionassociated with the coordinate formatting service.getCoordinateFormattingSessionForType(Type coordinateType, Type coordinateFormatType, Proxy proxy) Gets anOsidSessionassociated with the coordinate formatting service and the given coordinate and format types.Gets a currency conversion session.getCurrencyConversionSessionForType(Type sourceCurrencyType, Type targetCurrencyType, Proxy proxy) Gets anOsidSessionassociated with the currency conversion service and the given currency types.Gets anOsidSessionassociated with the currency formatting service.getCurrencyFormattingSessionForType(Type currencyType, Type numericFormatType, Proxy proxy) Gets anOsidSessionassociated with the currency formatting service and the given currency and numeric format types.getFormatConversionSession(Proxy proxy) Gets a text format conversion session.getFormatConversionSessionForType(Type sourceFormatType, Type targetFormatType, Proxy proxy) Gets anOsidSessionassociated with the text format conversion service and the given format types.getNumericFormattingSession(Proxy proxy) Gets anOsidSessionassociated with the numeric formatting service.getNumericFormattingSessionForType(Type numericFormatType, Proxy proxy) Gets anOsidSessionassociated with the numeric formatting service and the given numeric format type.Gets a spatial unit conversion session.getSpatialUnitConversionSessionForType(Type sourceSpatialUnitRecordType, Type targetSpatialUnitRecordType, Proxy proxy) Gets anOsidSessionassociated with the spatial unit conversion service and the given spatial unit record types.getTranslationAdminSession(Proxy proxy) Gets a language translation administration service for updating a locale dictionary.getTranslationAdminSessionForType(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType, Proxy proxy) Gets a language trabslation administration service for updating a locale dictionary using the given language and script types.getTranslationSession(Proxy proxy) Gets anOsidSessionassociated with the language translation service.getTranslationSessionForType(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType, Proxy proxy) Gets anOsidSessionassociated with the language translation service and the given language and script types.getUnitConversionSession(Proxy proxy) Gets a unit conversion session.Methods inherited from interface LocaleProfile
getCalendarTypesForFormatting, getCalendarTypesForSource, getCalendarTypesForTimeType, getCoordinateFormatTypesForCoordinateType, getCoordinateTypesForFormatting, getCoordinateTypesForSource, getCurrencyFormatTypesForCurrencyType, getCurrencyTypesForFormatting, getCurrencyTypesForSource, getDateFormatTypesForCalendarType, getFormatTypesForSource, getLanguageTypesForSource, getNumericFormatTypes, getScriptTypesForLanguageType, getSourceCalendarTypes, getSourceCoordinateTypes, getSourceCurrencyTypes, getSourceFormatTypes, getSourceLanguageTypes, getSourceSpatialUnitRecordTypes, getSourceTimeTypes, getSourceUnitTypes, getSpatialUnitRecordTypesForSource, getTimeFormatTypesForTimeType, getTimeTypesForCalendarType, getTimeTypesForFormatting, getTimeTypesForSource, getUnitTypesForSource, supportsCalendarConversion, supportsCalendarFormatting, supportsCalendarInfo, supportsCalendarTimeTypes, supportsCalendarTypesForConversion, supportsCalendarTypesForFormatting, supportsCoordinateConversion, supportsCoordinateFormatting, supportsCoordinateTypesForConversion, supportsCoordinateTypesForFormatting, supportsCurrencyConversion, supportsCurrencyFormatting, supportsCurrencyTypesForConversion, supportsCurrencyTypesForFormatting, supportsFormatConversion, supportsFormatTypesForConversion, supportsLanguageTypesForTranslation, supportsNumericFormatting, supportsNumericFormatTypes, supportsSpatialUnitConversion, supportsSpatialUnitRecordTypesForConversion, supportsTimeTypesForConversion, supportsTranslation, supportsTranslationAdmin, supportsUnitConversion, supportsUnitTypesForConversion, supportsVisibleFederationModifier and TypeMethodDescriptionGets all the calendar types for which formats are available.getCalendarTypesForSource(Type sourceCalendarType) Gets the list of target calendar types for a given source calendar type.getCalendarTypesForTimeType(Type timeType) Gets the list of calendar types supported for a given time type where they are both used in aDateTime.getCoordinateFormatTypesForCoordinateType(Type coordinateType) Gets the list of coordinate format types for a given coordinate type.Gets all the coordinate types for which formatting is available.getCoordinateTypesForSource(Type sourceCoordinateType) Gets the list of target coordinate types for a given source coordinate type.getCurrencyFormatTypesForCurrencyType(Type currencyType) Gets the list of currency format types for a given currency type.Gets all the currency types for which formatting is available.getCurrencyTypesForSource(Type sourceCurrencyType) Gets the list of target currency types for a given source currency type.getDateFormatTypesForCalendarType(Type calendarType) Gets the list of date format types for a given calendar type.getFormatTypesForSource(Type sourceFormatType) Gets the list of target format types for a given source spatial unit type.getLanguageTypesForSource(Type sourceLanguageType, Type sourceScriptType) Gets the list of target language types for a given source language type.Gets all the numeric format types supported.getScriptTypesForLanguageType(Type languageType) Gets the list of script types available for a given language type.Gets the list of source calendar types.Gets the list of source coordinate types.Gets the list of source currency types.Gets the list of source format types.Gets all the source language types supported.Gets the list of source spatial unit record types.Gets the list of source time types.Gets all the source unit types supported.getSpatialUnitRecordTypesForSource(Type sourceSpatialUnitRecordType) Gets the list of target spatial unit types for a given source spatial unit type.getTimeFormatTypesForTimeType(Type timeType) Gets the list of time format types for a given time type.getTimeTypesForCalendarType(Type calendarType) Gets the list of time types supported for a given calendar type where they are both used in aDateTime.Gets all the time types for which formatting is available.getTimeTypesForSource(Type sourceTimeType) Gets the list of target time types for a given source time type.getUnitTypesForSource(Type sourceUnitType) Gets the list of target measure types for a given source measure type.booleanTests if calendar conversion is supported.booleanTests if calendar formatting is supported.booleanTests if a calendar informational service is supported.booleansupportsCalendarTimeTypes(Type calendarType, Type timeType) Tests if a given calendar and time type are used together in aDateTime.booleansupportsCalendarTypesForConversion(Type sourceCalendarType, Type targetCalendarType) Tests if a given calendar conversion is supported.booleansupportsCalendarTypesForFormatting(Type calendarType, Type timeType, Type dateFormatType, Type timeFormatType) Tests if a given calendaring formatting is supported.booleanTests if coordnate conversion is supported.booleanTests if coordinate formatting is supported.booleansupportsCoordinateTypesForConversion(Type sourceCoordinateType, Type targetCoordinateType) Tests if a given coordinate type for conversion is supported.booleansupportsCoordinateTypesForFormatting(Type coordinateType, Type coordinateFormatType) Tests if a given coordinate formatting is supported.booleanTests if currency conversion is supported.booleanTests if currency formatting is supported.booleansupportsCurrencyTypesForConversion(Type sourceCurrencyType, Type targetCurrencyType) Tests if a given currency conversion is supported.booleansupportsCurrencyTypesForFormatting(Type currencyType, Type numericFormatType) Tests if a given currency formatting is supported.booleanTests if format conversion is supported.booleansupportsFormatTypesForConversion(Type sourceFormatType, Type targetFormatType) Tests if a given format conversion is supported.booleansupportsLanguageTypesForTranslation(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType) Tests if a given language translation is supported.booleanTests if numeric formatting is supported.booleansupportsNumericFormatTypes(Type numericFormatType) Tests if a given numeric format type is supported.booleanTests if spatial unit conversion is supported.booleansupportsSpatialUnitRecordTypesForConversion(Type sourceSpatialUnitRecordType, Type targetSpatialUnitRecordType) Tests if a given spatial unit conversion is supported.booleansupportsTimeTypesForConversion(Type sourceTimeType, Type targetTimeType) Tests if a given time conversion is supported.booleanTests if translation is supported.booleanTests if translation administration is supported.booleanTests if unit conversion is supported.booleansupportsUnitTypesForConversion(Type sourceUnitType, Type targetUnitType) Tests if a given measure conversion is supported.booleanTests if visible federation is supported.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getTranslationSession
Gets anOsidSessionassociated with the language translation service.- Parameters:
proxy- a proxy- Returns:
- a
TranslationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTranslation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTranslation()} is {@code true} .
-
getTranslationSessionForType
TranslationSession getTranslationSessionForType(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the language translation service and the given language and script types.- Parameters:
sourceLanguageType- the type of the source languagesourceScriptType- the type of the source scripttargetLanguageType- the type of the target languagetargetScriptType- the type of the target scriptproxy- a proxy- Returns:
- a
TranslationSession - Throws:
NullArgumentException-sourceLanguageType, sourceScriptType, targetLanguageType, targetScriptTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTranslation()orsupportsVisibleFederation()isfalseUnsupportedException-supportsLanguageTypesForTranslation(sourceLanguageType, sourceScriptType, targetLanguageType, targetScriptType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsTranslation()} and {@code supportsVisibleFederation()} are {@code true} .
-
getTranslationAdminSession
Gets a language translation administration service for updating a locale dictionary.- Parameters:
proxy- a proxy- Returns:
- a
TranslationAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTranslationAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTranslationAdmin()} is {@code true} .
-
getTranslationAdminSessionForType
TranslationAdminSession getTranslationAdminSessionForType(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType, Proxy proxy) throws OperationFailedException Gets a language trabslation administration service for updating a locale dictionary using the given language and script types.- Parameters:
sourceLanguageType- the type of the source languagesourceScriptType- the type of the source scripttargetLanguageType- the type of the target languagetargetScriptType- the type of the target scriptproxy- a proxy- Returns:
- a
TranslationAdminSession - Throws:
NullArgumentException-sourceLanguageType, sourceScriptType, targetLanguageType, targetScriptTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTranslationAdmin()orsupportsVisibleFederation()isfalseUnsupportedException-supportsLanguageTypesForTranslation(sourceLanguageType, sourceScriptType, targetLanguageType, targetScriptType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsTranslationAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getNumericFormattingSession
Gets anOsidSessionassociated with the numeric formatting service.- Parameters:
proxy- a proxy- Returns:
- a
NumericFormattingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsNumericFormatting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsNumericFormatting()} is {@code true} .
-
getNumericFormattingSessionForType
NumericFormattingSession getNumericFormattingSessionForType(Type numericFormatType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the numeric formatting service and the given numeric format type.- Parameters:
numericFormatType- the type of the numeric formatproxy- a proxy- Returns:
- a
NumericFormattingSession - Throws:
NullArgumentException-numericFormatTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsNumericFormatting()orsupportsVisibleFederation()isfalseUnsupportedException-supportsNumericFormatType(numericFormatType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsNumericFormatting()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCalendarFormattingSession
Gets anOsidSessionassociated with the calendar formatting service.- Parameters:
proxy- a proxy- Returns:
- a
CalendarFormattingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarFormatting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarFormatting()} is {@code true} .
-
getCalendarFormattingSessionForType
CalendarFormattingSession getCalendarFormattingSessionForType(Type calendarType, Type calendarFormatType, Type timeType, Type timeFormatType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the calendar formatting service and the given calendar and time types.- Parameters:
calendarType- the type of the calendarcalendarFormatType- the type of the calendar formattimeType- the type of the time systemtimeFormatType- the type of the time formatproxy- a proxy- Returns:
- a
CalendarFormattingSession - Throws:
NullArgumentException-calendarType, calendarFormatType, timeTyp, timeFormatTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarFormatting()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCalendarTypesForFormattinge(calendarType, calendarFormatType, timeType, timeFormatType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarFormatting()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCurrencyFormattingSession
Gets anOsidSessionassociated with the currency formatting service.- Parameters:
proxy- a proxy- Returns:
- a
CurrencyFormattingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCurrencyFormatting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCurrencyFormatting()} is {@code true} .
-
getCurrencyFormattingSessionForType
CurrencyFormattingSession getCurrencyFormattingSessionForType(Type currencyType, Type numericFormatType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the currency formatting service and the given currency and numeric format types.- Parameters:
currencyType- the type of the currencynumericFormatType- the type of the numeric formatproxy- a proxy- Returns:
- a
CurrencyFormattingSession - Throws:
NullArgumentException-currencyType, numericFormatTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCurrencyFormatting()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCurrencyTypesForFomatting(currencyType, numericFormatType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCurrencyFormatting()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCoordinateFormattingSession
CoordinateFormattingSession getCoordinateFormattingSession(Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the coordinate formatting service.- Parameters:
proxy- a proxy- Returns:
- a
CoordinateFormattingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCoordinateFormatting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCoordinateFormatting()} is {@code true} .
-
getCoordinateFormattingSessionForType
CoordinateFormattingSession getCoordinateFormattingSessionForType(Type coordinateType, Type coordinateFormatType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the coordinate formatting service and the given coordinate and format types.- Parameters:
coordinateType- the type of the coordinatecoordinateFormatType- the type of the coordinate formatproxy- a proxy- Returns:
- a
CoordinateFormattingSession - Throws:
NullArgumentException-coordinateType, coordinateFormatType,orproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCoordinateFormatting()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCoordinateTypesForFomatting(coordinateType, coordinateFormatType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCoordinateFormatting()} and {@code supportsVisibleFederation()} are {@code true} .
-
getUnitConversionSession
Gets a unit conversion session.- Parameters:
proxy- a proxy- Returns:
- a
UnitConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsUnitConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsUnitConversion()} is {@code true} .
-
getCurrencyConversionSession
Gets a currency conversion session.- Parameters:
proxy- a proxy- Returns:
- a
CurrencyConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCurrencyConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCurrencyConversion()} is {@code true} .
-
getCurrencyConversionSessionForType
CurrencyConversionSession getCurrencyConversionSessionForType(Type sourceCurrencyType, Type targetCurrencyType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the currency conversion service and the given currency types.- Parameters:
sourceCurrencyType- the type of the source currencytargetCurrencyType- the type of the target currencyproxy- a proxy- Returns:
- a
CurrencyConversionSession - Throws:
NullArgumentException-sourceCurrencyType, targetCurrencyTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCurrencyConversion()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCurrencyTypesForConversion(sourceCurrencyType, targetCurrencyType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCurrencyConversion()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCalendarConversionSession
Gets a calendar conversion session.- Parameters:
proxy- a proxy- Returns:
- a
CalendarConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarConversion()} is {@code true} .
-
getCalendarConversionSessionForType
CalendarConversionSession getCalendarConversionSessionForType(Type sourceCalendarType, Type sourceTimeType, Type targetCalendarType, Type targetTimeType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the calendar conversion service and the given calendar types.- Parameters:
sourceCalendarType- the type of the source calendarsourceTimeType- the type of the source timetargetCalendarType- the type of the target calendartargetTimeType- the type of the target timeproxy- a proxy- Returns:
- a
CalendarConversionSession - Throws:
NullArgumentException-sourceCalendarType, sourceTimeType, targetCalendarType, targetTimeTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarConversion()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCalendarTypesForConversion(sourceCalendarType, targetCalendarType)orsupportsTimeTypesForConversion(sourceTimeType, targetTimeType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarConversion()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCoordinateConversionSession
CoordinateConversionSession getCoordinateConversionSession(Proxy proxy) throws OperationFailedException Gets a coordinate conversion session.- Parameters:
proxy- a proxy- Returns:
- a
CoordinateConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCoordinateConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCoordinateConversion()} is {@code true} .
-
getCoordinateConversionSessionForType
CoordinateConversionSession getCoordinateConversionSessionForType(Type sourceCoordinateType, Type targetCoordinateType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the coordinate conversion service and the given coordinate types.- Parameters:
sourceCoordinateType- the type of the source coordinatetargetCoordinateType- the type of the target coordinateproxy- a proxy- Returns:
- a
CoordinateConversionSession - Throws:
NullArgumentException-sourceCoordinateType,targetCoordinateType, orproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCoordinateConversion()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCoordinateRecordTypesForConversion(sourceCoordinateType, targetCoordinateType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCoordinateConversion()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSpatialUnitConversionSession
SpatialUnitConversionSession getSpatialUnitConversionSession(Proxy proxy) throws OperationFailedException Gets a spatial unit conversion session.- Parameters:
proxy- a proxy- Returns:
- a
SpatialUnitConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSpatialUnitConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSpatialUnitConversion()} is {@code true} .
-
getSpatialUnitConversionSessionForType
SpatialUnitConversionSession getSpatialUnitConversionSessionForType(Type sourceSpatialUnitRecordType, Type targetSpatialUnitRecordType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the spatial unit conversion service and the given spatial unit record types.- Parameters:
sourceSpatialUnitRecordType- the type of the source spatial unit recordtargetSpatialUnitRecordType- the type of the target spatial unit recordproxy- a proxy- Returns:
- a
SpatialUnitConversionSession - Throws:
NullArgumentException-sourceSpatialUnitRecordType,targetSpatialUnitRecordType orproxy isnullOperationFailedException- unable to complete requestUnimplementedException-supportsSpatialUnitConversion()orsupportsVisibleFederation()isfalseUnsupportedException-supportsSpatialUnitRecordTypesForConversion(sourceSpatialUnitRecordType, targetSpatialUnitRecordType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsSpatialUnitConversion()} and {@code supportsVisibleFederation()} are {@code true} .
-
getFormatConversionSession
Gets a text format conversion session.- Parameters:
proxy- a proxy- Returns:
- a
FormatConversionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFormatConversion()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFormatConversion()} is {@code true} .
-
getFormatConversionSessionForType
FormatConversionSession getFormatConversionSessionForType(Type sourceFormatType, Type targetFormatType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the text format conversion service and the given format types.- Parameters:
sourceFormatType- the type of the text formattargetFormatType- the type of the text formatproxy- a proxy- Returns:
- a
FormatConversionSession - Throws:
NullArgumentException-sourceFormatType, targetFormatTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFormatConversion()orsupportsVisibleFederation()isfalseUnsupportedException-supportsFormatTypesForConversion(sourceFormatType, targetFormatRecordType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsFormatConversion()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCalendarInfoSession
Gets a calendar informational session session.- Parameters:
proxy- a proxy- Returns:
- a
CalendarInfoSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarInfo()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarInfo()} is {@code true} .
-
getCalendarInfoSessionForType
CalendarInfoSession getCalendarInfoSessionForType(Type calendarType, Type timeType, Proxy proxy) throws OperationFailedException Gets anOsidSessionassociated with the calendar informational service and the given calendar and time types.- Parameters:
calendarType- the type of the calendartimeType- the type of the time systemproxy- a proxy- Returns:
- a
CalendarInfoSession - Throws:
NullArgumentException-calendarType, timeTypeorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCalendarType()orsupportsVisibleFederation()isfalseUnsupportedException-supportsCalendarTimeTypes(calendarType, timeType)isfalse- Compliance:
optional- This method must be implemented if {@code supportsCalendarInfo()} and {@code supportsVisibleFederation()} are {@code true} .
-