yavsc/yavscModel/WorkFlow/IContentProvider.cs
Paul Schneider 685c03b37e * Web.csproj:
* T.cs:
* IModule.cs:
* App.master:
* IProvider.cs:
* Error.aspx:
* AOEMail.aspx:
* Login.aspx:
* Index.aspx:
* Admin.aspx:
* yavscModel.csproj:
* WFManager.cs:
* Index.aspx:
* AddRole.aspx:
* Profile.aspx:
* Edit.aspx:
* Register.aspx:
* Index.aspx:
* RoleList.aspx:
* UserList.aspx:
* Validate.aspx:
* RemovePost.aspx:
* Index.aspx:
* BasketImpact.cs:
* Brand.aspx:
* Delete.aspx:
* Create.aspx:
* Backups.aspx:
* HomeController.cs:
* BlogManager.cs:
* Restore.aspx:
* Details.aspx:
* TitleNotFound.aspx:
* Product.aspx:
* AdminController.cs:
* Command.aspx:
* Service.aspx:
* BlogProvider.cs:
* NewProject.aspx:
* Catalog.aspx:
* Restored.aspx:
* BasketController.cs:
* AccountController.cs:
* WorkFlowController.cs:
* BlogsApiController.cs:
* ChangePassword.aspx:
* RemoveRoleQuery.aspx:
* CreateBackup.aspx:
* IContentProvider.cs:
* BackOfficeController.cs:
* FrontOfficeController.cs:
* NpgsqlBlogProvider.cs:
* NpgsqlContentProvider.cs:
* RegistrationPending.aspx:
* ProductCategory.aspx:
* FrontOfficeApiController.cs:
* ChangePasswordSuccess.aspx:
* ReferenceNotFound.aspx: 
* BackupCreated.aspx

Fixes many HTTP 500
Refactoring on the go
2014-10-06 03:05:57 +02:00

35 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace yavscModel.WorkFlow
{
public interface IContentProvider : IModule, IDisposable
{
/// <summary>
/// Gets the status labels.
/// 0 is the starting status
/// </summary>
/// <value>The status labels.</value>
string [] StatusLabels {get;}
bool [] FinalStatuses { get; }
StatusChange[] GetWrittingStatuses (long wrid);
StatusChange[] GetEstimateStatuses (long estid);
long CreateEstimate (string client, string title);
Estimate [] GetEstimates(string client);
Estimate GetEstimate (long estimid);
long Write (long estid, string desc, decimal ucost, int count, long productid);
void DropWritting (long wrid);
void DropEstimate (long estid);
void TagWritting (long wrid,string tag);
void DropTagWritting (long wrid,string tag);
void UpdateWritting (Writting wr);
void SetTitle (long estid, string newTitle);
void SetDesc (long writid, string newDesc);
void SetWrittingStatus (long wrtid,int status,string username);
void SetEstimateStatus (long estid,int status,string username);
}
}