public class Order extends Object
Type | Property and Description |
---|---|
javafx.beans.property.ReadOnlyStringProperty |
message |
javafx.beans.property.ReadOnlyDoubleProperty |
progress |
Modifier and Type | Class and Description |
---|---|
static interface |
Order.failCallback |
static class |
Order.orderArray |
static class |
Order.orderDetails |
Constructor and Description |
---|
Order(javafx.collections.ObservableList<formattedProductProps> orders,
String year,
Integer custID,
BigDecimal paid,
Boolean delivered) |
Order(javafx.collections.ObservableList<formattedProductProps> orders,
String year,
Integer custID,
BigDecimal paid,
Boolean delivered,
String uName) |
Modifier and Type | Method and Description |
---|---|
static Order.orderArray |
createNewOrder(formattedProductProps[] orderData) |
static Order.orderArray |
createOrderArray(String year) |
static Order.orderArray |
createOrderArray(String year,
int cID,
Boolean excludeZeroOrders) |
static Order.orderArray |
createOrderArray(String year,
int cID,
Boolean excludeZeroOrders,
String Category) |
static Order.orderArray |
createOrderArray(String year,
String uName) |
String |
getMessage()
Gets the value of the property message.
|
static Order.orderDetails |
getOrder(String year,
Integer id) |
double |
getProgress()
Gets the value of the property progress.
|
javafx.beans.property.ReadOnlyStringProperty |
messageProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
progressProperty() |
String |
updateOrder(Order.failCallback fail) |
public javafx.beans.property.ReadOnlyDoubleProperty progressProperty
getProgress()
public javafx.beans.property.ReadOnlyStringProperty messageProperty
getMessage()
public Order(javafx.collections.ObservableList<formattedProductProps> orders, String year, Integer custID, BigDecimal paid, Boolean delivered, String uName)
public Order(javafx.collections.ObservableList<formattedProductProps> orders, String year, Integer custID, BigDecimal paid, Boolean delivered)
public static Order.orderDetails getOrder(String year, Integer id)
public static Order.orderArray createOrderArray(String year)
public static Order.orderArray createOrderArray(String year, String uName)
public static Order.orderArray createOrderArray(String year, int cID, Boolean excludeZeroOrders)
public static Order.orderArray createOrderArray(String year, int cID, Boolean excludeZeroOrders, String Category)
public static Order.orderArray createNewOrder(formattedProductProps[] orderData)
public double getProgress()
public javafx.beans.property.ReadOnlyDoubleProperty progressProperty()
getProgress()
public String getMessage()
public javafx.beans.property.ReadOnlyStringProperty messageProperty()
getMessage()
public String updateOrder(Order.failCallback fail) throws Exception
Exception
Copyright © 2014–2018. All rights reserved.