Class AutoTranslateListModel
- java.lang.Object
-
- com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
-
@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class AutoTranslateListModel extends Object
-
-
Constructor Summary
Constructors Constructor Description AutoTranslateListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoTranslateService.TranslationRun
createRun()
List<AutoTranslateService.TranslationRun>
getTranslationRuns()
boolean
isDisabled()
String
rollback()
-
-
-
Method Detail
-
isDisabled
public boolean isDisabled()
-
getTranslationRuns
public List<AutoTranslateService.TranslationRun> getTranslationRuns()
-
createRun
public AutoTranslateService.TranslationRun createRun() throws org.apache.sling.api.resource.LoginException, org.apache.sling.api.resource.PersistenceException
- Throws:
org.apache.sling.api.resource.LoginException
org.apache.sling.api.resource.PersistenceException
-
rollback
public String rollback() throws com.day.cq.wcm.api.WCMException, org.apache.sling.api.resource.PersistenceException
- Throws:
com.day.cq.wcm.api.WCMException
org.apache.sling.api.resource.PersistenceException
-
-