public interface GuideLocalizationService
Modifier and Type | Method and Description |
---|---|
void |
createDictionary(Resource guideContainerResource)
Creates dictionary nodes for a guide container resource.
|
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
This would create dictionary for all the locales in
GuideLocalizationService |
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource,
java.util.List localeList)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
for the list of locales provided
|
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource,
java.lang.String locale)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
for the locale provided
|
JSONObject |
getAvailableLocales(Resource containerResource)
Get language codes for all the available dictionaries
|
java.util.Map<java.lang.String,java.lang.String> |
getLocaleTitleCodeMap()
Get Map of code and title of supported locales
|
java.lang.String[] |
getSupportedLocales()
Get a list of supported locales.
|
void |
updateDictionaryBaseName(Resource guideContainerResource)
Updates dictionary nodes to reflect the current guide container resource path in the base name.
|
void createDictionary(Resource guideContainerResource) throws GuideException
guideContainerResource
- The guide container resource for which the dictionary is to be created.GuideException
void updateDictionaryBaseName(Resource guideContainerResource) throws GuideException
guideContainerResource
- The guide container resource for which the dictionary is to be updated.GuideException
java.util.Map<java.lang.String,java.lang.String> getLocaleTitleCodeMap()
java.lang.String[] getSupportedLocales()
JSONObject createDictionaryWithFragmentContent(Resource containerResource) throws GuideException
GuideLocalizationService
containerResource
- GuideException
JSONObject createDictionaryWithFragmentContent(Resource containerResource, java.util.List localeList) throws GuideException
containerResource
- localeList
- GuideException
JSONObject createDictionaryWithFragmentContent(Resource containerResource, java.lang.String locale) throws GuideException
containerResource
- locale
- GuideException
JSONObject getAvailableLocales(Resource containerResource) throws GuideException
containerResource
- GuideException
Copyright © 2010 - 2020 Adobe. All Rights Reserved