Package org.opencms.ade.contenteditor
Class CmsContentService.ContentAugmentationJob
java.lang.Object
org.opencms.ade.contenteditor.CmsContentService.ContentAugmentationJob
- Enclosing class:
CmsContentService
The data associated with a content augmentation job.
-
Constructor Summary
ConstructorsConstructorDescriptionContentAugmentationJob(I_CmsXmlContentAugmentation augmentation, CmsObject cms, CmsADEConfigData config, CmsXmlContent originalCopy, Locale currentLocale, Map<String, String> params) Creates a new instance. -
Method Summary
-
Constructor Details
-
ContentAugmentationJob
public ContentAugmentationJob(I_CmsXmlContentAugmentation augmentation, CmsObject cms, CmsADEConfigData config, CmsXmlContent originalCopy, Locale currentLocale, Map<String, String> params) Creates a new instance.- Parameters:
augmentation- the content augmentation to usecms- the CMS contextconfig- the sitemap configurationoriginalCopy- the original copy of the XML content objectcurrentLocale- the current localeparams- other parameters necessary for the augmentation
-
-
Method Details
-
abort
Sets the state to aborted. -
finish
Sets the state to done. -
getDetails
Gets a bean containing the result or progress information for the purpose of informing the client.- Returns:
- the content augmentation details
-
getId
Gets the job id.- Returns:
- the job id
-
run
Runs the actual content augmentation.
-