2014-07-16 20:35:03 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2014-07-24 05:04:56 +02:00
|
|
|
using System.Web.Mvc;
|
2014-07-16 20:35:03 +02:00
|
|
|
|
|
|
|
|
namespace yavscModel.WorkFlow
|
|
|
|
|
{
|
|
|
|
|
public interface IContentProvider: IDisposable
|
|
|
|
|
{
|
2014-07-24 05:04:56 +02:00
|
|
|
IWFOrder CreateOrder ();
|
|
|
|
|
IWFOrder ImapctOrder (string orderid, FormCollection col);
|
|
|
|
|
IContent GetBlob (string orderId);
|
|
|
|
|
int GetStatus (string orderId);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the status labels.
|
|
|
|
|
/// 0 is the starting status
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The status labels.</value>
|
|
|
|
|
bool [] IsFinalStatus { get; }
|
|
|
|
|
string [] StatusLabels {get;}
|
2014-07-16 20:35:03 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|