C# Class SpringMvc.Models.Storehouse.Dao.Implementation.StorehouseManagementDao

Inheritance: SpringMvc.Models.Common.BaseHibernateDao, IStorehouseManagementDao
Datei anzeigen Open project: krzysiuk12/SpringMvc

Public Methods

Method Description
AddBookType ( string title, string authors, decimal price, int quantity, Category category ) : void
AddCategory ( string name ) : void
AddQuantity ( long bookTypeId, int quantity ) : bool
MarkSold ( long bookTypeId, int quantity ) : bool
SaveBookType ( BookType bookType ) : void
SaveCategory ( Category category ) : void
UpdateQuantity ( BookType bookType ) : void

Method Details

AddBookType() public method

public AddBookType ( string title, string authors, decimal price, int quantity, Category category ) : void
title string
authors string
price decimal
quantity int
category SpringMvc.Models.POCO.Category
return void

AddCategory() public method

public AddCategory ( string name ) : void
name string
return void

AddQuantity() public method

public AddQuantity ( long bookTypeId, int quantity ) : bool
bookTypeId long
quantity int
return bool

MarkSold() public method

public MarkSold ( long bookTypeId, int quantity ) : bool
bookTypeId long
quantity int
return bool

SaveBookType() public method

public SaveBookType ( BookType bookType ) : void
bookType SpringMvc.Models.POCO.BookType
return void

SaveCategory() public method

public SaveCategory ( Category category ) : void
category SpringMvc.Models.POCO.Category
return void

UpdateQuantity() public method

public UpdateQuantity ( BookType bookType ) : void
bookType SpringMvc.Models.POCO.BookType
return void