Class LoadArticleTask
java.lang.Object
ch.tocco.nice2.optional.webshop.impl.persist.LoadArticleTask
- All Implemented Interfaces:
OptionalTask<String,
,Article> PersistTask<String,
Article>
Load an article with the primary key.
-
Constructor Summary
ConstructorDescriptionLoadArticleTask
(EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, CurrentArticlePriceService currentArticlePriceService, VatCalculationService vatCalculationService) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
LoadArticleTask
public LoadArticleTask(EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, CurrentArticlePriceService currentArticlePriceService, VatCalculationService vatCalculationService)
-
-
Method Details
-
doRun
- Specified by:
doRun
in interfaceOptionalTask<String,
Article> - Throws:
Exception
-