* style.css:

* Web.csproj:
* Web.config:
* Catalog.xml:
* Global.asax.cs:
* TestBinding.cs:
* IProvider.cs:
* yavscModel.csproj:
* WFManager.cs:
* BasketController.cs:
* WorkFlowController.cs:
* ITCPNpgsqlProvider.cs:
* IContentProvider.cs:
* WorkFlowProvider.csproj:
* NpgsqlContentProvider.cs:
* Provider.cs:
* ITContentProvider.csproj:
* FrontOfficeApiController.cs:
* ProviderCollection.cs:
* WorkflowConfiguration.cs:
* BlogProvidersConfigurationSection.cs: 

* IITContent.cs: Estimate creation
This commit is contained in:
Paul Schneider
2014-09-18 13:58:43 +02:00
parent fa93ce7fee
commit bba917dcc0
21 changed files with 381 additions and 91 deletions

View File

@ -4,19 +4,21 @@ using System.Web.Mvc;
namespace yavscModel.WorkFlow
{
public interface IContentProvider: IDisposable
public interface IContentProvider : IProvider, IDisposable
{
IWFOrder CreateOrder ();
IWFOrder ImapctOrder (string orderid, FormCollection col);
IContent GetBlob (string orderId);
int GetStatus (string orderId);
int GetStatus (string estimId);
/// <summary>
/// Gets the status labels.
/// 0 is the starting status
/// </summary>
/// <value>The status labels.</value>
bool [] IsFinalStatus { get; }
string [] StatusLabels {get;}
bool [] FinalStatuses { get; }
long CreateEstimate (string client, string title);
void SetTitle (long estid, string newTitle);
long Write (long estid, string desc, decimal ucost, int count, long productid);
void SetDesc (long writid, string newDesc);
Estimate GetEstimate (long estimid);
}
}