C# Class Cats.Services.EarlyWarning.NeedAssessmentService

Inheritance: INeedAssessmentService
Exibir arquivo Open project: edgecomputing/cats

Public Properties

Property Type Description
Logger log4net.ILog

Public Methods

Method Description
AddNeedAssessment ( NeedAssessment needAssessment ) : bool
AddNeedAssessment ( int planID, int regionID, int seasonID, int userID, int needAssessmentTypeID ) : void
DeleteById ( int id ) : bool
DeleteNeedAssessment ( NeedAssessment needAssessment ) : bool
Dispose ( ) : void
EditNeedAssessment ( NeedAssessment needAssessment ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : NeedAssessment
GenerateDefefaultData ( NeedAssessment needAssessment ) : bool
GetAllNeedAssessment ( ) : List
GetListOfWoredas ( int zoneId ) : List
GetListOfZones ( ) : List
GetRegions ( ) : IOrderedEnumerable
GetRegionsFromNeedAssessment ( ) : List
GetSeasonFromNeedAssessment ( ) : List
GetZonesFromNeedAssessment ( ) : List
GetZoness ( int region ) : IOrderedEnumerable
IsNeedAssessmentUsedInHrd ( int planId ) : bool
NeedAssessmentService ( IUnitOfWork unitOfWork, log4net.ILog logger ) : System

Method Details

AddNeedAssessment() public method

public AddNeedAssessment ( NeedAssessment needAssessment ) : bool
needAssessment Cats.Models.NeedAssessment
return bool

AddNeedAssessment() public method

public AddNeedAssessment ( int planID, int regionID, int seasonID, int userID, int needAssessmentTypeID ) : void
planID int
regionID int
seasonID int
userID int
needAssessmentTypeID int
return void

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteNeedAssessment() public method

public DeleteNeedAssessment ( NeedAssessment needAssessment ) : bool
needAssessment Cats.Models.NeedAssessment
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditNeedAssessment() public method

public EditNeedAssessment ( NeedAssessment needAssessment ) : bool
needAssessment Cats.Models.NeedAssessment
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : NeedAssessment
id int
return Cats.Models.NeedAssessment

GenerateDefefaultData() public method

public GenerateDefefaultData ( NeedAssessment needAssessment ) : bool
needAssessment Cats.Models.NeedAssessment
return bool

GetAllNeedAssessment() public method

public GetAllNeedAssessment ( ) : List
return List

GetListOfWoredas() public method

public GetListOfWoredas ( int zoneId ) : List
zoneId int
return List

GetListOfZones() public method

public GetListOfZones ( ) : List
return List

GetRegions() public method

public GetRegions ( ) : IOrderedEnumerable
return IOrderedEnumerable

GetRegionsFromNeedAssessment() public method

public GetRegionsFromNeedAssessment ( ) : List
return List

GetSeasonFromNeedAssessment() public method

public GetSeasonFromNeedAssessment ( ) : List
return List

GetZonesFromNeedAssessment() public method

public GetZonesFromNeedAssessment ( ) : List
return List

GetZoness() public method

public GetZoness ( int region ) : IOrderedEnumerable
region int
return IOrderedEnumerable

IsNeedAssessmentUsedInHrd() public method

public IsNeedAssessmentUsedInHrd ( int planId ) : bool
planId int
return bool

NeedAssessmentService() public method

public NeedAssessmentService ( IUnitOfWork unitOfWork, log4net.ILog logger ) : System
unitOfWork IUnitOfWork
logger log4net.ILog
return System

Property Details

Logger public_oe property

public ILog,log4net Logger
return log4net.ILog