Class TagsExportService
- java.lang.Object
-
- com.adobe.acs.commons.exporters.impl.tags.TagsExportService
-
public class TagsExportService extends Object
-
-
Constructor Summary
Constructors Constructor Description TagsExportService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringexportLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr)Export all tags under passed root path in localized structure ex.StringexportLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr, String lang)Export all tags under passed root path in localized structure ex.StringexportNonLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr)Export all tags under passed root path in non-localized structure ex.
-
-
-
Method Detail
-
exportNonLocalizedTagsForPath
public String exportNonLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr)
Export all tags under passed root path in non-localized structure ex. 'product {{product}}'- Parameters:
path- root path from which export will beginrr- ResourceResolver object- Returns:
- tags structure as single String
-
exportLocalizedTagsForPath
public String exportLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr)
Export all tags under passed root path in localized structure ex. 'es[Produtos] fr[Products in french] en[Products] {{products}}' If tag does not contain assigned localization as default is used 'en'- Parameters:
path- root path from which export will beginrr- ResourceResolver object- Returns:
- tags structure as single String
-
exportLocalizedTagsForPath
public String exportLocalizedTagsForPath(String path, org.apache.sling.api.resource.ResourceResolver rr, String lang)
Export all tags under passed root path in localized structure ex. 'es[Produtos] fr[Products in french] en[Products] {{products}}'- Parameters:
path- root path from which export will beginrr- ResourceResolver objectlang- localization, which will be used as default if tag do not contain any- Returns:
- tags structure as single String
-
-