Files
yavsc/yavscModel/WorkFlow/IContentProvider.cs
Paul Schneider bba917dcc0 * 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
2014-09-18 13:58:43 +02:00

25 lines
674 B
C#

using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace yavscModel.WorkFlow
{
public interface IContentProvider : IProvider, IDisposable
{
int GetStatus (string estimId);
/// <summary>
/// Gets the status labels.
/// 0 is the starting status
/// </summary>
/// <value>The status labels.</value>
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);
}
}