workflow interface definition

This commit is contained in:
Paul Schneider 2014-09-25 12:42:43 +02:00
commit 1307b62ecb
4 changed files with 59 additions and 8 deletions

View file

@ -12,6 +12,36 @@ namespace WorkFlowProvider
{
public class NpgsqlContentProvider: ProviderBase, IContentProvider
{
public StatusChange[] GetWrittingStatuses (long wrid)
{
throw new NotImplementedException ();
}
public StatusChange[] GetEstimateStatuses (long estid)
{
throw new NotImplementedException ();
}
public void DropTagWritting (long wrid, string tag)
{
throw new NotImplementedException ();
}
public void UpdateWritting (Writting wr)
{
throw new NotImplementedException ();
}
public void SetWrittingStatus (long wrtid, int status, string username)
{
throw new NotImplementedException ();
}
public void SetEstimateStatus (long estid, int status, string username)
{
throw new NotImplementedException ();
}
public void TagWritting (long wrid, string tag)
{
throw new NotImplementedException ();

View file

@ -8,6 +8,11 @@ namespace WorkFlowProvider
{
public static class WFManager
{
public static void UpdateWritting (Writting wr)
{
throw new NotImplementedException ();
}
public static void DropWritting (long wrid)
{
ContentProvider.DropWritting (wrid);
@ -75,7 +80,10 @@ namespace WorkFlowProvider
return ContentProvider.Write(estid, desc, ucost, count, productid);
}
public static void SetEstimateStatus(long estid, int status, string username)
{
ContentProvider.SetEstimateStatus (estid, status, username);
}
}
}