Class AutoTranslateMergeModel.AutoTranslateComponent
- java.lang.Object
-
- com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
-
- Enclosing class:
- AutoTranslateMergeModel
public static class AutoTranslateMergeModel.AutoTranslateComponent extends Object
-
-
Constructor Summary
Constructors Constructor Description AutoTranslateComponent(String componentPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cancelledClass()
int
getCalculatedComponentRowspan()
Size ofgetCheckableProperties()
times 3 + 1 since HTL cannot calculate :-(String
getCancelPropertyName()
For pages properties are cancelled individually.List<AutoTranslateMergeService.AutoTranslateProperty>
getCheckableProperties()
int
getComponentId()
An unique id to identify the component in the HTML.String
getComponentName()
String
getComponentPath()
String
getComponentPathInPage()
String
getComponentTitle()
String
getLinkToComponent()
boolean
isCancelled()
String
toString()
-
-
-
Constructor Detail
-
AutoTranslateComponent
public AutoTranslateComponent(String componentPath)
-
-
Method Detail
-
getComponentName
public String getComponentName()
-
getComponentTitle
public String getComponentTitle()
-
getComponentPath
public String getComponentPath()
-
getComponentId
public int getComponentId()
An unique id to identify the component in the HTML.
-
getCancelPropertyName
public String getCancelPropertyName()
For pages properties are cancelled individually. If it's a page we return the property name here, else nothing.
-
getComponentPathInPage
public String getComponentPathInPage()
-
getLinkToComponent
public String getLinkToComponent()
-
getCheckableProperties
public List<AutoTranslateMergeService.AutoTranslateProperty> getCheckableProperties()
-
isCancelled
public boolean isCancelled()
-
cancelledClass
public String cancelledClass()
-
getCalculatedComponentRowspan
public int getCalculatedComponentRowspan()
Size ofgetCheckableProperties()
times 3 + 1 since HTL cannot calculate :-(
-
-