A C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- activate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- activate(AutoTranslateConfig) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- activate(ComponentContext) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- addContentPaths(Resource, Map<String, String>) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
-
We look for content paths in the component and it's parent.
- additionalInstructions - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
-
Optionally, additional instructions to add to the system prompt.
- additionalInstructions() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- additionalInstructions() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- additionalInstructions() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
- AemAIConfigurationPlugin - Class in com.composum.ai.aem.core.impl
-
Implements AEM specific methods of
AIConfigurationPlugin
. - AemAIConfigurationPlugin() - Constructor for class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
- AemAITranslationMergeServlet - Class in com.composum.ai.aem.core.impl
-
Servlet with functionality for the AI Translation Merge tool.
- AemAITranslationMergeServlet() - Constructor for class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
- AemApproximateMarkdownServicePlugin - Class in com.composum.ai.aem.core.impl
-
Special handling for cq:PageContent and components
- AemApproximateMarkdownServicePlugin() - Constructor for class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- AemContentCreationPromptsServlet - Class in com.composum.ai.aem.core.impl
-
Datasource for the prompts of the content creation dialog.
- AemContentCreationPromptsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemContentCreationPromptsServlet
- AemContentCreationSelectorsServlet - Class in com.composum.ai.aem.core.impl
-
Servlet that reads the content selectors from a JSON file, adds links in the content and provides that to the dialog.
- AemContentCreationSelectorsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
- AemSidePanelPromptsServlet - Class in com.composum.ai.aem.core.impl
-
Datasource for the prompts of the sidebar AI dialog.
- AemSidePanelPromptsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemSidePanelPromptsServlet
- AI_NEW_ORIGINAL_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Suffix for the property name of an inheritance cancelled property that saves the original value of the property as it is currently in the translation source, as an indicator what needs to be merged.
- AI_NEW_TRANSLATED_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Suffix for the property name of an inheritance cancelled property that saves the
- AI_ORIGINAL_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Suffix for the property name of a property that saves the original value of the property as it has been used to create a translation, to track when it has to be re-translated.
- AI_PREFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Prefix for property names of saved values.
- AI_TRANSLATED_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Suffix for the property name of a property that saves the translated value of the property, to track whether it has been manually changed after automatic translation and as used as translation when the translation source is still the same as saved in
AITranslatePropertyWrapper.AI_ORIGINAL_SUFFIX
. - AI_TRANSLATION_ERRORMARKER - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Attribute that is set on jcr:content of a page when the translation of a page failed, to make it easy to find such pages.
- aiTemplatingService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
- AITranslatePropertyWrapper - Class in com.composum.ai.aem.core.impl.autotranslate
- AITranslatePropertyWrapper(ValueMap, ModifiableValueMap, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- allAiKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- allGeneralKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- allKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- allLcKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- allowedAttributeRegexes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- allowedAttributeRegexes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- annotationType() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- AutoPageTranslateService - Interface in com.composum.ai.aem.core.impl.autotranslate
-
Actual logic for translating a livecopy.
- AutoPageTranslateService.Stats - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoPageTranslateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
-
Translated would normally be properties that "obviously" contain text, like jcr:title, jcr:description, text, title etc.
- AutoPageTranslateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule - Class in com.composum.ai.aem.core.impl.autotranslate
-
Simple implementation of this for content translation rules.
- AutoPageTranslateServiceImpl.PropertyToTranslate - Class in com.composum.ai.aem.core.impl.autotranslate
- autoSave - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
-
If true the changes are saved (
ResourceResolver.commit()
) after each page. - AutoTranslateCaConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
-
This serves both as OSGI configuration (default for the configurations) and, if used, as Sling CAConfig configuration.
- autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- AutoTranslateConfigService - Interface in com.composum.ai.aem.core.impl.autotranslate
-
Serves the configurations for the automatic translation.
- AutoTranslateConfigServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
-
Serves the configurations for the automatic translation service.
- AutoTranslateConfigServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- AutoTranslateListModel - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateListModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- AutoTranslateLiveAction - Interface in com.composum.ai.aem.core.impl.autotranslate.rollout
-
Action to translate a resource in a live copy with the automatic translation service.
- AutoTranslateLiveActionFactory - Class in com.composum.ai.aem.core.impl.autotranslate.rollout
-
Produces
AutoTranslateLiveActionImpl
s. - AutoTranslateLiveActionFactory() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- AutoTranslateLiveActionImpl - Class in com.composum.ai.aem.core.impl.autotranslate.rollout
-
Implementation for the rollout configuration.
- AutoTranslateLiveActionImpl(ValueMap, BaseActionFactory<? extends LiveAction>, AutoPageTranslateService, AIConfigurationService, AutoTranslateService) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- AutoTranslateMergeModel - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateMergeModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
- AutoTranslateMergeService - Interface in com.composum.ai.aem.core.impl.autotranslate
-
Service for handling merge operations related to auto-translation.
- AutoTranslateMergeService.AutoTranslateProperty - Class in com.composum.ai.aem.core.impl.autotranslate
-
Represents a translated property associated with a resource.
- AutoTranslateMergeServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
-
Implementation of the AutoTranslateMergeService.
- AutoTranslateMergeServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- AutoTranslateProperty(String, AITranslatePropertyWrapper, String, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- AutoTranslateRuleConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
-
A rule to be added to the Composum AI Automatic Translation Configuration with translation instructions for pages matching the rule.
- AutoTranslateRuleConfigContentRule(String, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- AutoTranslateRunModel - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateRunModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
- autoTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- autoTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- AutoTranslateService - Interface in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateService.TranslationPage - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateService.TranslationParameters - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateService.TranslationRun - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateService.TranslationStatus - Enum in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
-
A service that provides automatic translation of AEM pages.
- AutoTranslateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- AutoTranslateServiceImpl.TranslationPageImpl - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateServiceImpl.TranslationRunImpl - Class in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateStateService - Interface in com.composum.ai.aem.core.impl.autotranslate
- AutoTranslateStateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
-
Makes sure we have a global state of all translation runs.
- AutoTranslateStateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
- AutoTranslateTranslationTableConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
-
Configures a translation table for the automatic translation - an XLS or CSV file of terms and their translations.
- AutoTranslateWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
-
Deprecated.rather use
TriggerRolloutWorkflowProcess
- AutoTranslateWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
C
- cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
- cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
- cancel__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
- cancel__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
- cancel__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.cancel__002e__html
- cancel__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.cancel__002e__html
- cancelInheritance(Resource, Resource, AutoPageTranslateServiceImpl.PropertyToTranslate) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- CANCELLED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- CANCELLING - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- CERTAINLY_TRANSLATABLE_PROPERTIES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
List of properties that should always be translated.
- chars1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
- chars2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
- checkDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
- clone() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
- collectApplicableTranslationRules(String, List<AutoPageTranslateServiceImpl.PropertyToTranslate>, List<AutoTranslateRuleConfig>) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- collectedAdditionalInstructions - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- collectPages(Resource, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- collectPathsToRollout(Resource, List<String>, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- collectPropertiesToTranslate(Resource, List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoPageTranslateService.Stats, AutoTranslateService.TranslationParameters, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Searches for properties we have to translate.
- collectTranslationTables(AutoTranslateCaConfig, Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- com.composum.ai.aem.core.impl - package com.composum.ai.aem.core.impl
- com.composum.ai.aem.core.impl.autotranslate - package com.composum.ai.aem.core.impl.autotranslate
- com.composum.ai.aem.core.impl.autotranslate.rollout - package com.composum.ai.aem.core.impl.autotranslate.rollout
- com.composum.ai.aem.core.impl.autotranslate.workflow - package com.composum.ai.aem.core.impl.autotranslate.workflow
- comment() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
- comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
- CompareModel - Class in com.composum.ai.aem.core.impl.autotranslate
-
Model for comparing a page with its live relationship source.
- CompareModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.CompareModel
- comparetool__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool
- comparetool__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool.comparetool__002e__html
- compileContentPattern(String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
The content match can be a word or phrase that must be present in the content of the page for the rule to match.
- config - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- configurationOrOverride(boolean, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Allows a boolean configuration to be overridden with an optional value from the context-aware configuration.
- configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- contentcreation__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation
- contentcreation__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.contentcreation__002e__html
- CONTENTFRAGMENT_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- contentPattern() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- contentPattern() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
- copyOriginalPage(SlingHttpServletRequest, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
-
Make a copy of the original page for comparison purposes.
- createRun() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- createsAction() - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
D
- deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
- deactivate(ComponentContext) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- decodePropertyName(String, String, String, Resource) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Inverts
AITranslatePropertyWrapper.encodePropertyName(String, String, String)
by replacing _ with : if the property isn't present. - DEFAULT_TRANSLATION_RULE_PATTERN - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- DELETE - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
- deniedAttributesRegexes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- deniedAttributesRegexes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- deniedResourceTypes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- deniedResourceTypes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- descendantsStream(Resource) - Static method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
-
Returns a stream that goes through all descendants of a resource, parents come before their children.
- descendantsStream(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- determineConfiguration(Resource, AutoTranslateCaConfig, AutoTranslateService.TranslationParameters, AutoPageTranslateService.Stats) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- determineLanguageResource(Resource, String) - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
- Diff(DiffMatchPatch.Operation, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
Constructor.
- diff_bisect(String, String, long) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.
- diff_charsToLines(List<DiffMatchPatch.Diff>, List<String>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Rehydrate the text in a diff from a string of line hashes to real lines of text.
- diff_cleanupEfficiency(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Reduce the number of edits by eliminating operationally trivial equalities.
- diff_cleanupMerge(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Reorder and merge like edit sections.
- diff_cleanupSemantic(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Reduce the number of edits by eliminating semantically trivial equalities.
- diff_cleanupSemanticLossless(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Look for single edits surrounded on both sides by equalities which can be shifted sideways to align the edit to a word boundary.
- diff_commonOverlap(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Determine if the suffix of one string is the prefix of another.
- diff_commonPrefix(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Determine the common prefix of two strings
- diff_commonSuffix(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Determine the common suffix of two strings
- Diff_EditCost - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Cost of an empty edit operation in terms of edit characters.
- diff_fromDelta(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.
- diff_halfMatch(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Do the two texts share a substring which is at least half the length of the longer text?
- diff_levenshtein(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.
- diff_linesToChars(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Split two texts into a list of strings.
- diff_main(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Find the differences between two texts.
- diff_main(String, String, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Find the differences between two texts.
- diff_prettyHtml(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Convert a Diff list into a pretty HTML report.
- diff_text1(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute and return the source text (all equalities and deletions).
- diff_text2(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute and return the destination text (all equalities and insertions).
- Diff_Timeout - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Number of seconds to map a diff before giving up (0 for infinity).
- diff_toDelta(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Crush the diff into an encoded string which describes the operations required to transform text1 into text2.
- diff_xIndex(List<DiffMatchPatch.Diff>, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
loc is a location in text1, compute and return the equivalent location in text2.
- DiffMatchPatch - Class in com.composum.ai.aem.core.impl.autotranslate
-
Class containing the diff, match and patch methods.
- DiffMatchPatch() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
- DiffMatchPatch.Diff - Class in com.composum.ai.aem.core.impl.autotranslate
-
Class representing one diff operation.
- DiffMatchPatch.LinesToCharsResult - Class in com.composum.ai.aem.core.impl.autotranslate
-
Internal class for returning results from diff_linesToChars().
- DiffMatchPatch.Operation - Enum in com.composum.ai.aem.core.impl.autotranslate
-
The data structure representing a diff is a Linked list of Diff objects: {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"), Diff(Operation.EQUAL, " world.")}
- DiffMatchPatch.Patch - Class in com.composum.ai.aem.core.impl.autotranslate
-
Class representing one patch operation.
- diffs - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
- diffToCopyUrl() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
-
If a translate copy is present, this would open a diff view.
- disabled() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- doExecute(Resource, Resource, LiveRelationship, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemContentCreationPromptsServlet
- doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
- doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemSidePanelPromptsServlet
- DONE_WITH_ERRORS - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
-
Handles POST requests to the servlet.
- doRollback(ResourceResolver, AutoTranslateServiceImpl.TranslationRunImpl) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
E
- editorUrl() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- embedsearch__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch
- embedsearch__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch.embedsearch__002e__html
- encodePropertyName(String, String, String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Searches for properties
- EQUAL - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
- equals(Object) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
Is this Diff equivalent to another Diff?
- ERROR - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- example__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
- example__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.example__002e__html
- execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
- execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- execute(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
-
Translate the pages; close the resolver when done.
- expandSelection(boolean[], int) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Also include 2 items before those already set, and 2 items after those already set, to have some context.
- EXPERIENCEFRAGMENT_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- extractRules(Resource, int, int, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
-
Extracts translation rules from a spreadsheet.
- extractRulesFromCsv(Resource, int, int, int, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
-
Reads the data from a CSV file.
- extractRulesFromXlsx(Resource, int, int, int, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
-
Reads the data from a spreadsheet.
F
- findElementLabels(Resource, Map<String, String>, Map<String, Integer>) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Looks for the cq:model and determines the labels.
- findLanguage(Resource) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
-
Determines the language this resource is in by searching for an ancestor resource with jcr:language set, or for an ancestor that looks like a language code.
- FINISHED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- FULLY_IGNORED_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
If a resource renders as a resource type matching that pattern, we ignore it completely, including child nodes.
- future - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
G
- getAssetInputStream(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
- getComponentName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getComponentName(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
-
Determines the jcr:title of the current component, as found by sling:resourceType
- getComponentTitle() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getComponentTitle(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
-
Determines the jcr:title , title or text of the component by searching upwards for such a property.
- getCurrentValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
- getGPTPromptLibraryPathsDefault() - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
- getImageUrl(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Retrieves the imageURL in a way useable for ChatGPT - usually data:image/jpeg;base64,{base64_image}
- getLanguageName(String, Locale) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
- getLanguageSiblings(Resource, String) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
-
We look in the resource path for a path element that
SelectorUtils.isLocaleName(String)
and try to replace it by language as it is or language with a country suffix ([-_][a-zA-Z]{2}) removed. - getLcOriginal() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getLcTranslated() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getLinkedPage(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- getMasterLinks(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- getModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
- getName() - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- getNewOriginalCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getNewOriginalCopyInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getNewTranslatedCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getOriginal() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getOriginalCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getOriginalCopyDiffsHTML() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getOriginalCopyInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getPageLanguage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
- getPagePath() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
- getPageResource() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
-
Finds the content resource for the page that is in the request suffix.
- getParameters(WorkItem, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- getPath() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- getPathInPage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
-
Returns the path to the resource within the page - that is, after the jcr:content node.
- getProperties() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
- getProperties(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
-
Recursively finds all properties from the given resource and its children that have names starting with
AITranslatePropertyWrapper.AI_NEW_TRANSLATED_SUFFIX
and creates the AI Translate Property Wrapper for each. - getProperties(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- getPropertyName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getRawRules(AutoTranslateTranslationTableConfig, Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- getRunningTranslations() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
- getRunningTranslations() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- getSourceValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
- getTargetValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
- getThreadPool() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- getTranslatedCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- getTranslatedPages() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- getTranslatedPages() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
- getTranslationParameters(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- getTranslationRuns() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
-
Retrieves all currently running translation processes.
- getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- getTranslationRuns() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateService
- getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
- getUrl1() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
-
If the request contained a valid path as "path" or suffix, this is the URL of the page.
- getUrl2() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
-
If the request contained a valid path as "path" or suffix, this is the URL of the page that is the source of the live relationship.
- getWrapper() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- gptChatCompletionService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- gson - Static variable in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
- gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
- gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
H
- handleCheck(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
-
Handles the 'check' operation to verify if a resource has unmerged translations.
- handleContentFragment(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Creates markdown for core/wcm/components/contentfragment/v1/contentfragment and derived components.
- handleExperienceFragment(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Creates markdown for core/wcm/components/experiencefragment/v1/experiencefragment and derived components.
- handleMerge(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
-
Handles the 'merge' operation to merge translations.
- handles(Resource, Resource, LiveRelationship, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- handleSave(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
-
Handles the 'save' operation to save a translation.
- handleTeaser(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Creates markdown for core/wcm/components/teaser/v1/teaser and derived components.
- hasChanges() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- hashCode() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
Create a numeric hash value for a Diff.
- hasSavedTranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- help__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help
- help__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help
- help__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help.help__002e__html
- help__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help.help__002e__html
- HTML_TAG_OR_COMMENT_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
Matches a HTML tag or endtag or HTML comment.
- HTML_TAG_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
-
Matches an opening or closing HTML tag.
- HTML_WHITESPACE_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
-
Several kinds of whitespace in HTML.
- HUGE_TRESHOLD - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
Somewhat arbitrary treshold: if a single property is more than that number of tokens we don't try to translate it.
I
- id - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- ignoreAssetsExceptContentFragments() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- includeExistingTranslationsInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- includeExistingTranslationsInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- includeExistingTranslationsInRetranslation() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
-
If true, we when retranslating a page with some changes we provide the existing translations of that page to the AI as well as additional context with examples.
- includeExistingTranslationsInRetranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- includeFullPageInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- includeFullPageInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- includeFullPageInRetranslation() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
-
If true, we do not only provide changed texts to the AI during re-translating a page with some changes, but give the entire page to provide better context.
- includeFullPageInRetranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- init() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
- inProgress() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- INSERT - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
- intelligentMerge(String, Resource, String, String, String, String) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
- intelligentMerge(String, Resource, String, String, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- INTERRUPTED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- isAiTranslateProperty(String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Checks whether a property was created by us and must not be translated etc.
- isAlreadyCorrectlyTranslated - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
-
True if the source value wasn't changed since the last translation - that is, the target value still has a correct translation and should not be modified.
- isApplicable(AutoTranslateRuleConfig, String, List<AutoPageTranslateServiceImpl.PropertyToTranslate>) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Returns whether the rule is applicable.
- isCancelled - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
-
Whether the inheritance is cancelled for that property.
- isCancelled(Resource, String, LiveRelationship) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- isDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- isDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
- isEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
- isEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- isEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
- isEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- isHeuristicallyTranslatableProperty(String, Object) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
Checks whether the property is one of jcr:title, jcr:description, title, alt, cq:panelTitle, shortDescription, actionText, accessibilityLabel, pretitle, displayPopupTitle, helpMessage , or alternatively don't have a colon in the name, have a String value, don't start with /{content,apps,libs,mnt}/ in the value and the value has a whitespace and at least one 4 letter sequence.
- isHtmlButNotRichtext(String, Object) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
Heuristic check whether this is actually HTML that shouldn't be translated.
- isHuge(String, Object) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
This recognizes huge values that we shouldn't even attempt to translate since that would very likely fail and block translation of the rest of the properties.
- isInProgress() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- isLocaleName(String) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
- isMergeNeeded() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
A merge is needed if the property is inheritance cancelled and this is true: there is a new original and a new translated copy.
- isOriginalAsWhenLastTranslating() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- isPocUiEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
-
Whether the debugging UI is enabled.
- isPocUiEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- isReset(WorkItem, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
- isRichText() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Tries to guess whether the property is richtext.
- isTranslatableResource(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
- isTranslatableResource(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- isUseHighIntelligenceModel() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
-
If true, the translator will use the 'high-intelligence model' (see OpenAI config) for translation.
- isUseHighIntelligenceModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
K
- keyColumn() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
L
- LC_PREFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Prefix for property names changed to language copies.
- length1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
- length2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
- lineArray - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
- LinesToCharsResult(String, String, List<String>) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
- list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
- list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list
- list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
- list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.list__002e__html
- list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list.list__002e__html
- list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.list__002e__html
- listModelResources(List<Resource>, Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- liveRelationshipManager - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- LOCALE_NAMES - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
- LOCALE_PATTERN - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
- LOG - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
M
- markAsAiTranslated(Resource, LiveRelationship, AutoTranslateService.TranslationParameters, GPTConfiguration) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- markAsError(Resource) - Static method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
-
Make it easy to find pages with errors by marking page with AI_TRANSLATION_ERRORMARKER.
- MARKER_DEBUG_ADDITIONAL_INSTRUCTIONS - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- match_alphabet(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Initialise the alphabet for the Bitap algorithm.
- match_bitap(String, String, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Locate the best instance of 'pattern' in 'text' near 'loc' using the Bitap algorithm.
- Match_Distance - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
How far to search for a match (0 = exact location, 1000+ = broad match).
- match_main(String, String, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Locate the best instance of 'pattern' in 'text' near 'loc'.
- Match_Threshold - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
At what point is no match declared (0.0 = perfection, 1.0 = very loose).
- maxDepth - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
-
Maximum depth of the recursion.
- maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- maybeIncludeAlreadyTranslatedTextAsExample(List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoTranslateCaConfig, GPTConfiguration) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
If configured, we include the already translated parts of the page as example.
- messages - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- migratePathsToLanguageCopy(Resource, String, AutoPageTranslateService.Stats) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Traverses the resource tree looking for paths pointing to /content/dam/ and /content/experience-fragments/ and changes them if there is an unique language copy in our language.
- modifiedButRetranslatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
-
Properties that have manually been modified after translation, but were now changed to automatic translation because of a change in the source
N
- NAME - Static variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
- newActionInstance(ValueMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
- normalize(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
O
- operation - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
One of: INSERT, DELETE or EQUAL.
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag
- org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating
P
- pageHandling(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
Prints title and meta attributes, then continues to normal handling.
- pagePath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- PageTemplatingWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
-
Triggers a call of the
AITemplatingService
on the current page. - PageTemplatingWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
- PARAM_PATH - Static variable in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
-
Parameter with path to a page / page resource for which we compare live relationship source and the containing page.
- PARAMETER_PATH - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
-
Parameter defining the path to the resource we work on.
- parseColumnName(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
- Patch() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
-
Constructor.
- patch_addContext(DiffMatchPatch.Patch, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Increase the context until it is unique, but don't let the pattern expand beyond Match_MaxBits.
- patch_addPadding(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Add some padding on text start and end so that edges can match something.
- patch_apply(LinkedList<DiffMatchPatch.Patch>, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Merge a set of patches onto the text.
- patch_deepCopy(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Given an array of patches, return another array that is identical.
- Patch_DeleteThreshold - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
When deleting a large block of text (over ~64 characters), how close do the contents have to be to match the expected contents. (0.0 = perfection, 1.0 = very loose).
- patch_fromText(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Parse a textual representation of patches and return a List of Patch objects.
- patch_make(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- patch_make(String, String, LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Deprecated.Prefer patch_make(String text1, LinkedList
diffs). - patch_make(String, LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- patch_make(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- Patch_Margin - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Chunk size for context length.
- patch_splitMax(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Look through the patches and break up any which are longer than the maximum limit of the match algorithm.
- patch_toText(List<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
-
Take a list of patches and return a textual representation.
- path() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
- PATH_CONTENTSELECTORS - Static variable in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
-
JCR path to a JSON with the basic content selectors supported by the dialog.
- pathRegex() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- pathRegex() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
- paths - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- PATTERN_HAS_LETTER - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- PATTERN_HAS_WHITESPACE - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- PATTERN_HAS_WORD - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
-
As additional heuristic - the text should have at least one word with >= 5 letters.
- PATTERN_IGNORED_SUBNODE_NAMES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- performRolloutForPage(Resource, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- performRollouts(Resource, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
-
Triggers a rollout for the jcr:content cq:Page or all such subnodes if
TriggerRolloutWorkflowProcess.TriggerRolloutParameters.recursive
. - PLACEHOLDER_TARGETLANGUAGE - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
-
Special placeholder in prompts that is replaced by the language of the page.
- pocUiEnabled() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- preferHighIntelligenceModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- preferStandardModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- PROPERTY_AI_ADDINSTRUCTIONS - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
PageContent only property: saves the additional instructions the page was translated with.
- PROPERTY_AI_TRANSLATED_BY - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Saves user who triggered the automatic translation of the resource.
- PROPERTY_AI_TRANSLATED_DATE - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Saves the date when a resource was automatically translated.
- PROPERTY_AI_TRANSLATED_MODEL - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
-
Informationally, saves the model that was used.
- propertyName - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
- PropertyToTranslate() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
- prototype__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype
- prototype__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.prototype__002e__html
Q
- QUEUED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
R
- rag__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag
- rag__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag.rag__002e__html
- readPredefinedContentSelectors(SlingHttpServletRequest) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
- recursive - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
-
Translate subpages as well.
- recursive - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
- reducePropertiesToTranslate(List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoTranslateCaConfig) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Collects the values we need to translate.
- reenableInheritance(Resource, String, LiveRelationship) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- relocatedPaths - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- remapPaths(String, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
We find all href="path" patterns
- remapPaths(List<String>, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
-
Checks whether there are href="path" in the translatedValues where path is within blueprintPath and replaces those with the according path in the live copy.
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.example__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.list__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.rollback__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.cancel__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.rollback__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.run__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list.list__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.cancel__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.run__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.list__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.contentcreation__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help.help__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help.help__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.sidepanel__002d__ai__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool.comparetool__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch.embedsearch__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.prototype__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag.rag__002e__html
- render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating.templating__002e__html
- renderDamAssets(Resource, PrintWriter, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
If the resource is a dam:Asset or a dam:AssetContent jcr:content then we return an image link
- renderReferencedContentFragment(Resource, PrintWriter, ApproximateMarkdownService, Resource, String, String, String[]) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- resizeToMaxSize(byte[], String, int) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
-
We resize the image to a maximum width and height of maxSize, keeping the aspect ratio.
- retranslatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
-
Were already translated, but translation source had changed.
- rollback() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
- rollback() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
- rollback(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
-
Rolls everything back in the resource - mostly for testing purposes.
- rollback(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- rollback(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
-
Rolls the translation results at this resource back - mostly for debugging.
- rollback(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- rollback(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- rollback(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
- rollback__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
- rollback__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
- rollback__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.rollback__002e__html
- rollback__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.rollback__002e__html
- rolloutManager - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- rootPath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- rules - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
-
Optionally, a number of rules that give additional instructions for translation if certain words or phrases are present in the page.
- rules() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- run__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
- run__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
- run__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.run__002e__html
- run__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.run__002e__html
- RUNNING - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
- runningTranslations - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
S
- saveTranslation(Resource, String, String, boolean) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
-
Saves the new content to a property.
- saveTranslation(Resource, String, String, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
- SelectorUtils - Class in com.composum.ai.aem.core.impl
-
Some utility methods for this.
- SelectorUtils() - Constructor for class com.composum.ai.aem.core.impl.SelectorUtils
- setAiTranslatedBy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setAiTranslatedDate(Calendar) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setAiTranslatedModel(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setCurrentValue(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setLcOriginal(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setLcTranslated(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setNewOriginalCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setNewTranslatedCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setOriginalCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- setTranslatedCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
- sheetIndex() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
- sidepanel__002d__ai__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai
- sidepanel__002d__ai__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.sidepanel__002d__ai__002e__html
- sourceResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
-
The resource where we take the translation source from.
- start1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
- start2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
- startRow() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
- startTime - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- startTranslation(ResourceResolver, String, AutoTranslateService.TranslationParameters) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
-
Starts a new translation run.
- startTranslation(ResourceResolver, String, AutoTranslateService.TranslationParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
- stats - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- Stats() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- status - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- status - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- statusString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- stopTime - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- SUFFIX_TRANSLATECOPY - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
-
If parameter copyOriginalPage is set, we create a copy of the original page with this suffix before doing the translation.
T
- targetResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
-
The resource where we write the translation.
- TEASER_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
- temperature() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- templating__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating
- templating__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating.templating__002e__html
- text - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
The text associated with this diff operation.
- TEXT_ATTRIBS - Static variable in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
-
Possible atttributes we use for the prompt text.
- TITLE_ATTRIBS - Static variable in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
-
Possible attributes we use for the prompt name.
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
-
Display a human-readable version of this Diff.
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
-
Emulate GNU diff's format.
- toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
- translate(Resource, AutoTranslateService.TranslationParameters, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.
- translate(Resource, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
-
Deprecated.We only translate jcr:content resources or resources that are within a jcr:content.
- translateableAttributes(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
-
Returns those attributes that should be translated.
- translateableAttributes(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
- translateableProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- translateCopyPagePath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- translatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
- translateLiveCopy(Resource, AutoTranslateService.TranslationParameters) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
-
Implements the actual translation for one page or asset.
- translateLiveCopy(Resource, AutoTranslateService.TranslationParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- TranslationPage() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
- TranslationPageImpl(Resource) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationPageImpl
- TranslationParameters() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
- TranslationRuleExtractor - Class in com.composum.ai.aem.core.impl.autotranslate
-
Reads translation rules from an xls document.
- TranslationRuleExtractor() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
- TranslationRun() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
- TranslationRunImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
- translationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
- translationTableRuleText() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- translationTables() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
- TriggerRolloutParameters() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
- TriggerRolloutWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
-
Translates the page that is given as payload from it's blueprint.
- TriggerRolloutWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
- TriggerRolloutWorkflowProcess.TriggerRolloutParameters - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
U
- useHighIntelligenceModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
- user - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
V
- valueColumn() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
- valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- waituntil - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
- wrapExcludingHTMLTags(String, String, String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
-
We wrap the text into wrapstart and wrapstop.
All Classes All Packages