C# Class Cats.Web.Hub.Controllers.Allocations.DispatchAllocationController

Inheritance: Cats.Web.Hub.BaseController
Afficher le fichier Open project: edgecomputing/cats Class Usage Examples

Méthodes publiques

Méthode Description
AllocationList ( ) : System.Web.Mvc.ActionResult
AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
Close ( string id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
CreateLoan ( ) : System.Web.Mvc.ActionResult
CreateTransfer ( ) : System.Web.Mvc.ActionResult
DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
Dispose ( ) : void
Edit ( string id ) : System.Web.Mvc.ActionResult
EditLoan ( string id ) : System.Web.Mvc.ActionResult
EditTransfer ( string id ) : System.Web.Mvc.ActionResult
GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
GetChildren ( int parentId ) : List
GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
GetFdps ( int woredaId ) : List
GetSIBalances ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
OtherClose ( string id ) : System.Web.Mvc.ActionResult
SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
ToHubs ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To hubs of the same owner ( Transfer and Swap)

ToOtherOwners ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To the other owners.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
BindDispatchAllocationViewModelDto ( DispatchAllocation dispatchAllocation ) : DispatchAllocationViewModelDto
CloseConfirmed ( string id ) : System.Web.Mvc.ActionResult
CommitAllocation ( string checkedRecords, int SINumber, int ProjectCode, string Sitext, string ProjectCodeText ) : System.Web.Mvc.ActionResult
Create ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
Edit ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
GetAllocationModel ( DispatchAllocationViewModel dispatch ) : DispatchAllocation

Gets the allocation model.

GetAllocationModel ( DispatchAllocation dispatch ) : DispatchAllocationViewModel
GetAllocationsGrid ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
InitLoan ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
InitTransfer ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
OtherCloseConfirmed ( string id ) : System.Web.Mvc.ActionResult
PrepareCreate ( ) : void
PrepareEdit ( DispatchAllocationViewModel allocation ) : void
PrepareFDPForEdit ( int fdpid ) : void
SaveLoan ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult
SaveTransfer ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult

Method Details

AllocationList() public méthode

public AllocationList ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

AvailableRequistions() public méthode

public AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
UnCommited bool
Résultat System.Web.Mvc.ActionResult

Close() public méthode

public Close ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

Create() public méthode

public Create ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

CreateLoan() public méthode

public CreateLoan ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

CreateTransfer() public méthode

public CreateTransfer ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

DispatchAllocationController() public méthode

public DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
dispatchAllocationService IDispatchAllocationService
userProfileService IUserProfileService
otherDispatchAllocationService IOtherDispatchAllocationService
shippingInstructionService IShippingInstructionService
projectCodeService IProjectCodeService
transporterService ITransporterService
commonService ICommonService
adminUnitService IAdminUnitService
fdpService IFDPService
hubService IHubService
commodityTypeService ICommodityTypeService
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Edit() public méthode

public Edit ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

EditLoan() public méthode

public EditLoan ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

EditTransfer() public méthode

public EditTransfer ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

GetAllocations() public méthode

public GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
RquisitionNo string
CommodityID int
Uncommited bool
Résultat System.Web.Mvc.ActionResult

GetAvailableSINumbers() public méthode

public GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
CommodityID int
Résultat System.Web.Mvc.ActionResult

GetBalance() public méthode

public GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
siNumber int
commodityId int
siNumberText string
Résultat System.Web.Mvc.ActionResult

GetChildren() public méthode

public GetChildren ( int parentId ) : List
parentId int
Résultat List

GetCommodities() public méthode

public GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
RequisitionNo string
Résultat System.Web.Mvc.ActionResult

GetFdps() public méthode

public GetFdps ( int woredaId ) : List
woredaId int
Résultat List

GetSIBalances() public méthode

public GetSIBalances ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

IsProjectValid() public méthode

public IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
ProjectCode string
Résultat System.Web.Mvc.ActionResult

IsSIValid() public méthode

public IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
ShippingInstruction string
Résultat System.Web.Mvc.ActionResult

OtherClose() public méthode

public OtherClose ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

SelectionHeader() public méthode

public SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
Résultat System.Web.Mvc.ActionResult

SiBalances() public méthode

public SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
Résultat System.Web.Mvc.ActionResult

ToHubs() public méthode

Allocate dispatch To hubs of the same owner ( Transfer and Swap)
public ToHubs ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

ToOtherOwners() public méthode

Allocate dispatch To the other owners.
public ToOtherOwners ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult