yavsc/SalesCatalog/Model/SaleForm.cs
Paul Schneider b835053e5f * Makefile:
* CatalogManager.cs: Let the catalog manager ensure all command form
  are instancied

* PhysicalProduct.cs: A better ToString method

* SaleForm.cs: doc

* NpgsqlContentProvider.cs: registers a command

* FrontOfficeApiController.cs: Set the catalog referer uri in each
  command form found in the catalog

* FrontOfficeController.cs: creates the catalog with referer uri

* instdbws.sql: the command has got a client, as registered user

* Commande.cs: The command has an id and a product reference

* IContentProvider.cs: new RegisterCommand method

* WorkFlowManager.cs: yavscModel/WorkFlow/IContentProvider.cs
2015-01-26 16:44:41 +01:00

40 lines
844 B
C#

using System;
using System.Collections.Generic;
namespace SalesCatalog.Model
{
public class SaleForm
{
/// <summary>
/// Gets or sets the catalog reference.
/// It must be non null,
/// it is an Uri, returning the Xml
/// Catalog at Http GET request
/// </summary>
/// <value>The catalog reference.</value>
public string CatalogReference { get; set; }
public SaleForm ()
{
}
/// <summary>
/// Gets or sets the action, that is,
/// the Method of the FrontOffice controller
/// called to post this Command form.
/// It defaults to "Command"
/// </summary>
/// <value>The action.</value>
public string Action {
get;
set;
}
/// <summary>
/// Gets or sets the input values of this command form.
/// </summary>
/// <value>The items.</value>
public FormElement[] Items { get; set; }
}
}