public interface GuideThemeService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmbeddingCode(java.lang.String themeContentPath,
java.lang.String formPath)
Function to get the combined embed code(script tag or link tag) of all web font services,
which needs to be included in html code for using fonts from any web font service.
|
java.util.List<java.lang.String> |
getFontList(java.lang.String themeContentPath)
Generates a list of fonts that are available for the theme that is passed as parameter.
|
boolean |
migrateTheme(Resource themeResource)
Update Theme Migration
|
boolean |
updateThemeConfig(java.lang.String themeContentPath,
JSONObject configJson)
Update Theme Configuration values
|
boolean updateThemeConfig(java.lang.String themeContentPath, JSONObject configJson) throws GuideException
themeContentPath
- The repository path of theme asset till jcr:content nodeconfigJson
- the Json object containing the theme configuration informationGuideException
boolean migrateTheme(Resource themeResource) throws GuideException
themeResource
- Theme ResourceGuideException
java.util.List<java.lang.String> getFontList(java.lang.String themeContentPath)
themeContentPath
- The path to jcr:content of themejava.lang.String getEmbeddingCode(java.lang.String themeContentPath, java.lang.String formPath)
themeContentPath
- The path to jcr:content of theme for which web fonts have been configured.formPath
- Path of form resource on which the theme is appliedCopyright © 2010 - 2020 Adobe. All Rights Reserved