C# 클래스 Cats.Services.EarlyWarning.BusinessProcessService

상속: IBusinessProcessService
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
Add ( BusinessProcess item ) : bool
BusinessProcessService ( IUnitOfWork unitOfWork ) : System
CheckPlanBeforeReject ( BusinessProcessState st ) : bool
CreateBusinessProcess ( int templateID, int documentID, string documentType, BusinessProcessState startingState ) : BusinessProcess
CreateBusinessProcessForObject ( int templateID, int DocumentID, string DocumentType, bool save = false ) : BusinessProcess
Delete ( BusinessProcess item ) : bool
DeleteById ( int id ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : BusinessProcess
GetAll ( ) : List
PromotWorkflow ( BusinessProcessState state ) : bool
Save ( ) : bool
Update ( BusinessProcess item ) : bool

메소드 상세

Add() 공개 메소드

public Add ( BusinessProcess item ) : bool
item Cats.Models.BusinessProcess
리턴 bool

BusinessProcessService() 공개 메소드

public BusinessProcessService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
리턴 System

CheckPlanBeforeReject() 공개 메소드

public CheckPlanBeforeReject ( BusinessProcessState st ) : bool
st Cats.Models.BusinessProcessState
리턴 bool

CreateBusinessProcess() 공개 메소드

public CreateBusinessProcess ( int templateID, int documentID, string documentType, BusinessProcessState startingState ) : BusinessProcess
templateID int
documentID int
documentType string
startingState Cats.Models.BusinessProcessState
리턴 Cats.Models.BusinessProcess

CreateBusinessProcessForObject() 공개 메소드

public CreateBusinessProcessForObject ( int templateID, int DocumentID, string DocumentType, bool save = false ) : BusinessProcess
templateID int
DocumentID int
DocumentType string
save bool
리턴 Cats.Models.BusinessProcess

Delete() 공개 메소드

public Delete ( BusinessProcess item ) : bool
item Cats.Models.BusinessProcess
리턴 bool

DeleteById() 공개 메소드

public DeleteById ( int id ) : bool
id int
리턴 bool

FindBy() 공개 메소드

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
리턴 List

FindById() 공개 메소드

public FindById ( int id ) : BusinessProcess
id int
리턴 Cats.Models.BusinessProcess

GetAll() 공개 메소드

public GetAll ( ) : List
리턴 List

PromotWorkflow() 공개 메소드

public PromotWorkflow ( BusinessProcessState state ) : bool
state Cats.Models.BusinessProcessState
리턴 bool

Save() 공개 메소드

public Save ( ) : bool
리턴 bool

Update() 공개 메소드

public Update ( BusinessProcess item ) : bool
item Cats.Models.BusinessProcess
리턴 bool