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 StringcancelledClass()intgetCalculatedComponentRowspan()Size ofgetCheckableProperties()times 3 + 1 since HTL cannot calculate :-(StringgetCancelPropertyName()For pages properties are cancelled individually.List<AutoTranslateMergeService.AutoTranslateProperty>getCheckableProperties()intgetComponentId()An unique id to identify the component in the HTML.StringgetComponentName()StringgetComponentPath()StringgetComponentPathInPage()StringgetComponentTitle()StringgetLinkToComponent()booleanisCancelled()StringtoString() 
 - 
 
- 
- 
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 :-( 
 - 
 
 -