public class Year extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Year.category |
Constructor and Description |
---|
Year(String year) |
Year(String year,
String uName) |
Modifier and Type | Method and Description |
---|---|
boolean |
addressExists(String address,
String zipCode) |
void |
addYear() |
void |
CreateDb(javafx.collections.ObservableList<formattedProductProps> products,
Collection<Year.category> rowsCats)
Creates Database for the year specified.
|
void |
deleteYear() |
formattedProduct[] |
getAllProducts() |
Iterable<Year.category> |
getCategories() |
BigDecimal |
getCommis()
Gets the Total Commissions Using getTots Function
|
Iterable<String> |
getCustomerNames() |
Iterable<String> |
getCustomerNames(String user) |
Iterable<Customer> |
getCustomers() |
Iterable<Customer> |
getCustomers(String user) |
BigDecimal |
getDonations()
Gets the Total Donations Using getTots Function
|
BigDecimal |
getGTot()
Gets the Grand Total Using getTots Function
aeaeaeae
|
int |
getNoCustomers()
Gets the Total Utilities.Customer Using getTots Function
|
BigDecimal |
getOT() |
int |
getQuant() |
ArrayList<User> |
getUsers() |
void |
updateDb(String year,
javafx.collections.ObservableList<formattedProductProps> products,
Collection<Year.category> rowsCats) |
public void deleteYear()
public void CreateDb(javafx.collections.ObservableList<formattedProductProps> products, Collection<Year.category> rowsCats)
public void updateDb(String year, javafx.collections.ObservableList<formattedProductProps> products, Collection<Year.category> rowsCats)
public void addYear()
public ArrayList<User> getUsers() throws AccessException
AccessException
public formattedProduct[] getAllProducts()
public Iterable<Year.category> getCategories()
public BigDecimal getDonations()
public BigDecimal getOT()
public int getNoCustomers()
public BigDecimal getCommis()
public BigDecimal getGTot()
public int getQuant()
Copyright © 2014–2018. All rights reserved.