Class AutoTranslateMergeModel
- java.lang.Object
-
- com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
-
@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class AutoTranslateMergeModel extends Object
-
-
Constructor Summary
Constructors Constructor Description AutoTranslateMergeModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPageLanguage()
String
getPagePath()
protected org.apache.sling.api.resource.Resource
getPageResource()
Finds the content resource for the page that is in the request suffix.List<AutoTranslateMergeService.AutoTranslateProperty>
getProperties()
boolean
isDisabled()
-
-
-
Method Detail
-
isDisabled
public boolean isDisabled()
-
getProperties
public List<AutoTranslateMergeService.AutoTranslateProperty> getProperties()
-
getPageLanguage
public String getPageLanguage()
-
getPageResource
protected org.apache.sling.api.resource.Resource getPageResource()
Finds the content resource for the page that is in the request suffix.
-
getPagePath
public String getPagePath()
-
-