public class Year extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Year.category |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addressExists(String address,
String zipCode) |
void |
addYear() |
void |
CreateDb(javafx.collections.ObservableList<Product.formattedProductProps> products,
Collection<Year.category> rowsCats)
Creates Database for the year specified.
|
void |
deleteYear() |
Product.formattedProduct[] |
getAllProducts() |
Collection<Year.category> |
getCategories() |
BigDecimal |
getCommis()
Gets the Total Commissions Using getTots Function
|
Iterable<String> |
getCustomerNames() |
BigDecimal |
getDonations()
Gets the Total Donations Using getTots Function
|
BigDecimal |
getGTot()
Gets the Grand Total Using getTots Function
|
int |
getLG()
Gets the Total Lawn ANd Garden quantities Using getTots Function
|
int |
getLP()
Gets the Total Live Plants quantities Using getTots Function
|
int |
getMulch()
Gets the Total Mulch quantities Using getTots Function
|
int |
getNoCustomers()
Gets the Total Utilities.Customer Using getTots Function
|
BigDecimal |
getOT()
Gets the order Total Using getTots Function
|
int |
getQuant() |
void |
updateDb(String year,
javafx.collections.ObservableList<Product.formattedProductProps> products,
Collection<Year.category> rowsCats) |
void |
updateTots(BigDecimal donations,
Integer Lg,
Integer LP,
Integer Mulch,
BigDecimal OT,
Integer Customers,
BigDecimal Commis,
BigDecimal GTot) |
public Year(String year)
public Collection<Year.category> getCategories()
public void deleteYear()
public void updateTots(BigDecimal donations, Integer Lg, Integer LP, Integer Mulch, BigDecimal OT, Integer Customers, BigDecimal Commis, BigDecimal GTot)
public BigDecimal getDonations()
public int getLG()
public int getLP()
public int getMulch()
public BigDecimal getOT()
public int getNoCustomers()
public BigDecimal getCommis()
public BigDecimal getGTot()
public int getQuant()
public Product.formattedProduct[] getAllProducts()
public void CreateDb(javafx.collections.ObservableList<Product.formattedProductProps> products, Collection<Year.category> rowsCats)
public void updateDb(String year, javafx.collections.ObservableList<Product.formattedProductProps> products, Collection<Year.category> rowsCats)
public void addYear()
Copyright © 2014–2018. All rights reserved.