Interface AutoTranslateMergeService

  • All Known Implementing Classes:
    AutoTranslateMergeServiceImpl

    public interface AutoTranslateMergeService
    Service for handling merge operations related to auto-translation. Provides methods to retrieve properties for resources in the context of translations.
    • Method Detail

      • saveTranslation

        void saveTranslation​(@Nonnull
                             org.apache.sling.api.resource.Resource resource,
                             @Nonnull
                             String propertyName,
                             @Nonnull
                             String content,
                             @Nonnull
                             boolean markAsMerged)
                      throws com.day.cq.wcm.api.WCMException
        Saves the new content to a property.
        Parameters:
        resource - the resource to save the translation to.
        propertyName - the name of the property to save the translation to.
        content - the new content to save.
        markAsMerged - whether to mark the property as merged
        Throws:
        com.day.cq.wcm.api.WCMException