RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

DeletedProductHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.ProductContext.Product.DeletedProductState.DeletedProductHandler
View Source Linkproduct.riddl(177:15)

OnMessageClause command ProductContext.CreateProduct

Statements

\nerror "Product already created."\n

OnMessageClause command ProductContext.UpdateProductInfo

Statements

\nerror "Cannot update a Deleted product"\n

OnMessageClause command ProductContext.DeleteProduct

Statements

\nerror "Product already deleted"\n

OnMessageClause command ProductContext.ActivateProduct

Statements

\nerror "Cannot activate a deleted product. Consider creating a new product instead."\n

OnMessageClause command ProductContext.InactivateProduct

Statements

\nerror "Cannot inactivate a Deleted product."\n

OnMessageClause query GetProductInfo

Statements

\n"yield ProductInfoUpdate with only sku and name populated"\n

Used By None

Uses Nothing