C# 클래스 Cats.Areas.EarlyWarning.Controllers.RequestController

상속: Controller
파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

공개 메소드들

메소드 설명
AddBeneficary ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
AddCommodity ( int id ) : System.Web.Mvc.ActionResult
Allocation ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
Allocation2 ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
Allocation_Create2 ( RegionalRequestDetailViewModel regionalRequestDetailViewModel ) : System.Web.Mvc.ActionResult
Allocation_Delete ( [ request, int id ) : System.Web.Mvc.ActionResult
Allocation_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Allocation_Update2 ( RegionalRequestDetailViewModel regionalRequestDetail ) : System.Web.Mvc.ActionResult
ApproveRequest ( int id ) : System.Web.Mvc.ActionResult
ChangeRation ( int requestID, int rationID ) : System.Web.Mvc.ActionResult
CheckBeneficiaryNoAndCommodity ( int id ) : bool
Commodity_Create2 ( int commodityId, int requestId ) : System.Web.Mvc.ActionResult
Commodity_Destroy2 ( int CommodityID, int requestId ) : System.Web.Mvc.ActionResult
Commodity_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteCommodity ( int commodityID, int requestID ) : System.Web.Mvc.ActionResult
DeleteFDP ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Details_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
GetCascadedAdminUnits ( int regionID, int programId = -1 ) : System.Web.Mvc.JsonResult
GetPlan ( int programID ) : System.Web.Mvc.JsonResult
IndexFromNotification ( int recordId ) : ActionResult
PreparePlan ( HRDPSNPPlanInfo psnphrdPlanInfo ) : ActionResult
Print ( int id ) : ActionResult
ReconcileRequest ( int id ) : ActionResult
ReconcileRequest_Read ( [ request, int id ) : ActionResult
RegionalRequestsPieChart ( ) : ActionResult
RejectRequest ( int id ) : ActionResult
RequestController ( IRegionalRequestService reliefRequistionService, Cats.Services.EarlyWarning.IFDPService fdpService, IRegionalRequestDetailService reliefRequisitionDetailService, ICommonService commonService, IHRDService hrdService, IApplicationSettingService ApplicationSettingService, IUserAccountService userAccountService, ILog log, IHRDDetailService hrdDetailService, IRegionalPSNPPlanDetailService regionalPSNPPlanDetailService, IRegionalPSNPPlanService RegionalPSNPPlanService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, IPlanService planService, IIDPSReasonTypeServices idpsReasonTypeServices, ITransactionService transactionService, INotificationService notificationService, IUserProfileService userProfileService ) : System
Request_Read ( [ request, int id = -1 ) : ActionResult
Request_Search ( [ request, int RegionID, int ProgramID, int StatusID, DateTime DateFrom, DateTime DateTo ) : ActionResult
RevertRequestStatus ( int id ) : ActionResult
SubmittedRequest ( int id ) : ViewResult
getRationCommodities ( [ request, int RationId ) : ActionResult
getRequestDetai ( int id ) : object

비공개 메소드들

메소드 설명
AddBeneficary ( AddFDPViewModel requestDetail, int _programId = -1 ) : System.Web.Mvc.ActionResult
AddCommodity ( AddCommodityViewModel addCommodity ) : System.Web.Mvc.ActionResult
Allocation_Create ( [ request, RegionalRequestDetailViewModel regionalRequestDetailViewModel ) : System.Web.Mvc.ActionResult
Allocation_Destroy ( [ request, RegionalRequestDetail regionalRequestDetail ) : System.Web.Mvc.ActionResult
Allocation_Update ( [ request, RegionalRequestDetailViewModel regionalRequestDetail ) : System.Web.Mvc.ActionResult
BindRegionalRequestDetail ( RegionalRequestDetailViewModel regionalRequestDetailViewModel ) : RegionalRequestDetail
BindRegionalRequestDetailViewModel ( RegionalRequestDetail regionalRequestDetail ) : RegionalRequestDetailViewModel
Commodity_Create ( [ request, RequestDetailCommodityViewModel commodity, int id ) : System.Web.Mvc.ActionResult
Commodity_Destroy ( [ request, RequestDetailCommodityViewModel commodity, int id ) : System.Web.Mvc.ActionResult
Commodity_Update ( [ request, RequestDetailCommodityViewModel commodity ) : System.Web.Mvc.ActionResult
CreateRegionalRequest ( HRDPSNPPlanInfo hrdpsnpPlanInfo, System.Web.Mvc.FormCollection collection, int planid, int reasonTypeID ) : RegionalRequest
CretaeRegionalRequest ( HRDPSNPPlanInfo hrdpsnpPlanInfo ) : RegionalRequest
Details_Read_IDPS ( [ request, int regionId ) : void
Edit ( RegionalRequest regionalRequest ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetPlanned ( int year, int season, int woreda ) : int
GetPlannedForPSNP ( int year, int regionId, int fdpId ) : int
GetRequestDetail ( AddFDPViewModel addFdpViewModel ) : RegionalRequestDetail
GetRequestWithPlan ( RegionalRequest regionalRequest ) : List
Index ( ) : ActionResult
Index ( SearchRequsetViewModel filter ) : ActionResult
New ( ) : ActionResult
New ( HRDPSNPPlan hrdpsnpPlan, FormCollection formCollection ) : ActionResult
NewIdps ( ) : ActionResult
NewIdps ( HRDPSNPPlan hrdpsnpPlan, FormCollection collection ) : ActionResult
PopulateLookup ( ) : void
PopulateLookup ( RegionalRequest regionalRequest ) : void
RequestFromPlan ( ) : ActionResult
RequestFromPlan ( HRDPSNPPlanInfo psnphrdPlanInfo ) : ActionResult
SendNotification ( RegionalRequest regionalRequest ) : void

메소드 상세

AddBeneficary() 공개 메소드

public AddBeneficary ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
id int
programId int
리턴 System.Web.Mvc.ActionResult

AddCommodity() 공개 메소드

public AddCommodity ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Allocation() 공개 메소드

public Allocation ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
id int
programId int
리턴 System.Web.Mvc.ActionResult

Allocation2() 공개 메소드

public Allocation2 ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
id int
programId int
리턴 System.Web.Mvc.ActionResult

Allocation_Create2() 공개 메소드

public Allocation_Create2 ( RegionalRequestDetailViewModel regionalRequestDetailViewModel ) : System.Web.Mvc.ActionResult
regionalRequestDetailViewModel Cats.Areas.EarlyWarning.Models.RegionalRequestDetailViewModel
리턴 System.Web.Mvc.ActionResult

Allocation_Delete() 공개 메소드

public Allocation_Delete ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
리턴 System.Web.Mvc.ActionResult

Allocation_Read() 공개 메소드

public Allocation_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
리턴 System.Web.Mvc.ActionResult

Allocation_Update2() 공개 메소드

public Allocation_Update2 ( RegionalRequestDetailViewModel regionalRequestDetail ) : System.Web.Mvc.ActionResult
regionalRequestDetail Cats.Areas.EarlyWarning.Models.RegionalRequestDetailViewModel
리턴 System.Web.Mvc.ActionResult

ApproveRequest() 공개 메소드

public ApproveRequest ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

ChangeRation() 공개 메소드

public ChangeRation ( int requestID, int rationID ) : System.Web.Mvc.ActionResult
requestID int
rationID int
리턴 System.Web.Mvc.ActionResult

CheckBeneficiaryNoAndCommodity() 공개 메소드

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

Commodity_Create2() 공개 메소드

public Commodity_Create2 ( int commodityId, int requestId ) : System.Web.Mvc.ActionResult
commodityId int
requestId int
리턴 System.Web.Mvc.ActionResult

Commodity_Destroy2() 공개 메소드

public Commodity_Destroy2 ( int CommodityID, int requestId ) : System.Web.Mvc.ActionResult
CommodityID int
requestId int
리턴 System.Web.Mvc.ActionResult

Commodity_Read() 공개 메소드

public Commodity_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

DeleteCommodity() 공개 메소드

public DeleteCommodity ( int commodityID, int requestID ) : System.Web.Mvc.ActionResult
commodityID int
requestID int
리턴 System.Web.Mvc.ActionResult

DeleteFDP() 공개 메소드

public DeleteFDP ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Details() 공개 메소드

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Details_Read() 공개 메소드

public Details_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
리턴 System.Web.Mvc.ActionResult

GetCascadedAdminUnits() 공개 메소드

public GetCascadedAdminUnits ( int regionID, int programId = -1 ) : System.Web.Mvc.JsonResult
regionID int
programId int
리턴 System.Web.Mvc.JsonResult

GetPlan() 공개 메소드

public GetPlan ( int programID ) : System.Web.Mvc.JsonResult
programID int
리턴 System.Web.Mvc.JsonResult

IndexFromNotification() 공개 메소드

public IndexFromNotification ( int recordId ) : ActionResult
recordId int
리턴 ActionResult

PreparePlan() 공개 메소드

public PreparePlan ( HRDPSNPPlanInfo psnphrdPlanInfo ) : ActionResult
psnphrdPlanInfo HRDPSNPPlanInfo
리턴 ActionResult

Print() 공개 메소드

public Print ( int id ) : ActionResult
id int
리턴 ActionResult

ReconcileRequest() 공개 메소드

public ReconcileRequest ( int id ) : ActionResult
id int
리턴 ActionResult

ReconcileRequest_Read() 공개 메소드

public ReconcileRequest_Read ( [ request, int id ) : ActionResult
request [
id int
리턴 ActionResult

RegionalRequestsPieChart() 공개 메소드

public RegionalRequestsPieChart ( ) : ActionResult
리턴 ActionResult

RejectRequest() 공개 메소드

public RejectRequest ( int id ) : ActionResult
id int
리턴 ActionResult

RequestController() 공개 메소드

public RequestController ( IRegionalRequestService reliefRequistionService, Cats.Services.EarlyWarning.IFDPService fdpService, IRegionalRequestDetailService reliefRequisitionDetailService, ICommonService commonService, IHRDService hrdService, IApplicationSettingService ApplicationSettingService, IUserAccountService userAccountService, ILog log, IHRDDetailService hrdDetailService, IRegionalPSNPPlanDetailService regionalPSNPPlanDetailService, IRegionalPSNPPlanService RegionalPSNPPlanService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, IPlanService planService, IIDPSReasonTypeServices idpsReasonTypeServices, ITransactionService transactionService, INotificationService notificationService, IUserProfileService userProfileService ) : System
reliefRequistionService IRegionalRequestService
fdpService Cats.Services.EarlyWarning.IFDPService
reliefRequisitionDetailService IRegionalRequestDetailService
commonService ICommonService
hrdService IHRDService
ApplicationSettingService IApplicationSettingService
userAccountService IUserAccountService
log ILog
hrdDetailService IHRDDetailService
regionalPSNPPlanDetailService IRegionalPSNPPlanDetailService
RegionalPSNPPlanService IRegionalPSNPPlanService
adminUnitService Cats.Services.EarlyWarning.IAdminUnitService
planService IPlanService
idpsReasonTypeServices IIDPSReasonTypeServices
transactionService ITransactionService
notificationService INotificationService
userProfileService IUserProfileService
리턴 System

Request_Read() 공개 메소드

public Request_Read ( [ request, int id = -1 ) : ActionResult
request [
id int
리턴 ActionResult

Request_Search() 공개 메소드

public Request_Search ( [ request, int RegionID, int ProgramID, int StatusID, DateTime DateFrom, DateTime DateTo ) : ActionResult
request [
RegionID int
ProgramID int
StatusID int
DateFrom DateTime
DateTo DateTime
리턴 ActionResult

RevertRequestStatus() 공개 메소드

public RevertRequestStatus ( int id ) : ActionResult
id int
리턴 ActionResult

SubmittedRequest() 공개 메소드

public SubmittedRequest ( int id ) : ViewResult
id int
리턴 ViewResult

getRationCommodities() 공개 메소드

public getRationCommodities ( [ request, int RationId ) : ActionResult
request [
RationId int
리턴 ActionResult

getRequestDetai() 공개 메소드

public getRequestDetai ( int id ) : object
id int
리턴 object