This is the primary interface for performing persistent store operations on localizations.
LocalizationManager
Method Summary |
public |
|
public |
|
public |
|
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
Method Detail |
publicLocalizationResource
addLocalizationResource(LocalizationResource
localizationResource,LocalizationIntersectionId
localizationIntersectionId)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
Add a new localization resource (l10n label) to the definition.
RemoteException
ObjectNotFoundException
MissingDataException
publicLocalizationLocale
createLocalizationLocale(LocalizationLocale
localizationLocale)
throwsRemoteException
,MissingDataException
RemoteException
MissingDataException
publicLocalizationResource
createLocalizationResource(LocalizationResource
localizationResource)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
Create a new localization resource (l10n label) from the supplied resource.
RemoteException
ObjectNotFoundException
MissingDataException
public void deleteLocalizationLocale(Delete a LocalizationLocale record and all LocalizationResources associated to this locale. Table effected (L10N_LOCALE, L10N_RESOURCE)LocalizationLocaleId
localizationLocaleId)
throwsRemoteException
,ObjectNotFoundException
RemoteException
ObjectNotFoundException
public void deleteLocalizationResource(LocalizationLocaleId
localizationLocaleId,LocalizationIntersectionId
localizationIntersectionId)
throwsRemoteException
,ObjectNotFoundException
Delete a single localization definition record (table effected L10N_RESOURCE). Note, this method does not delete any records in the L10N_INTERSECTION table, as this would cause the definition record to be deleted as well.
RemoteException
ObjectNotFoundException
publicLocalizationLocale
getLocalizationLocale(Locale
locale)
throwsRemoteException
RemoteException
publicLocalizationLocale
getLocalizationLocale(LocalizationLocaleId
localizationLocaleId)
throwsRemoteException
RemoteException
publicReturn an array of all the available locales in the system.LocalizationLocale
[] getLocalizationLocales()
throwsRemoteException
RemoteException
publicLocalizationResource
getLocalizationResource(CustomizationContext
customizationContext,LocalizationIntersectionId
localizationIntersectionId)
throwsRemoteException
A single localization resource given the specified localization intersection id and the customization context.
RemoteException
publicRetrieve an array of LocalizationResourceView definitions for the specified abstractLocalizationResource
[] getLocalizationResources(LocalizationIntersectionId
localizationIntersectionId)
throwsRemoteException
LocalizationIntersectionId
.
RemoteException
publicRetrurn a list of all the localization resources in the systemLocalizationResource
[] getLocalizationResources()
throwsRemoteException
RemoteException
publicRetrieve an array of LocalizationResourceView for the suppliedLocalizationResourceView
getLocalizationResourceView(CustomizationContext
customizationContext,LocalizationIntersectionId
localizationIntersectionId)
throwsRemoteException
LocalizationIntersectionId
.
RemoteException
publicUsed to get a minimal set of Locales based on the input array of Locales that matches supported Locales.Locale
[] getMatchingSupportedLocales(Locale
[] locales)
throwsRemoteException
RemoteException
public void updateLocalizationLocale(LocalizationLocale
localizationLocale)
throwsRemoteException
,ObjectNotFoundException
RemoteException
ObjectNotFoundException
public void updateLocalizationResource(LocalizationResource
localizationResource)
throwsRemoteException
,ObjectNotFoundException
Update the localization definition with the new data.
RemoteException
ObjectNotFoundException