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 |
publicLocalizationResourceaddLocalizationResource(LocalizationResourcelocalizationResource,LocalizationIntersectionIdlocalizationIntersectionId)
throwsRemoteException,ObjectNotFoundException,MissingDataException
Add a new localization resource (l10n label) to the definition.
RemoteException
ObjectNotFoundException
MissingDataException
publicLocalizationLocalecreateLocalizationLocale(LocalizationLocalelocalizationLocale)
throwsRemoteException,MissingDataException
RemoteException
MissingDataException
publicLocalizationResourcecreateLocalizationResource(LocalizationResourcelocalizationResource)
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)LocalizationLocaleIdlocalizationLocaleId)
throwsRemoteException,ObjectNotFoundException
RemoteException
ObjectNotFoundException
public void deleteLocalizationResource(LocalizationLocaleIdlocalizationLocaleId,LocalizationIntersectionIdlocalizationIntersectionId)
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
publicLocalizationLocalegetLocalizationLocale(Localelocale)
throwsRemoteException
RemoteException
publicLocalizationLocalegetLocalizationLocale(LocalizationLocaleIdlocalizationLocaleId)
throwsRemoteException
RemoteException
publicReturn an array of all the available locales in the system.LocalizationLocale[] getLocalizationLocales()
throwsRemoteException
RemoteException
publicLocalizationResourcegetLocalizationResource(CustomizationContextcustomizationContext,LocalizationIntersectionIdlocalizationIntersectionId)
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(LocalizationIntersectionIdlocalizationIntersectionId)
throwsRemoteException
LocalizationIntersectionId.
RemoteException
publicRetrurn a list of all the localization resources in the systemLocalizationResource[] getLocalizationResources()
throwsRemoteException
RemoteException
publicRetrieve an array of LocalizationResourceView for the suppliedLocalizationResourceViewgetLocalizationResourceView(CustomizationContextcustomizationContext,LocalizationIntersectionIdlocalizationIntersectionId)
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(LocalizationLocalelocalizationLocale)
throwsRemoteException,ObjectNotFoundException
RemoteException
ObjectNotFoundException
public void updateLocalizationResource(LocalizationResourcelocalizationResource)
throwsRemoteException,ObjectNotFoundException
Update the localization definition with the new data.
RemoteException
ObjectNotFoundException