Skip to content

Commit

Permalink
Fixed bug when editing stores and added new frontend functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoeppke committed Jun 22, 2016
1 parent 60a92df commit d911d83
Show file tree
Hide file tree
Showing 15 changed files with 658 additions and 491 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
package org.cocome.tradingsystem.inventory.data.persistence;

public final class ServiceAdapterHeaders {
public static final String PRODUCTORDER_HEADER = "ProductOrderId;StoreId;ProductBarcode;"
+ "OrderDeliveryDate;OrderOrderingDate;OrderAmount";

public static final String STOCKITEM_HEADER = "StoreId;ProductBarcode;StockItemMinStock;"
+ "StockItemMaxStock;StockItemIncomingAmount;StockItemAmount;StockItemSalesPrice";

public static final String ENTERPRISE_CREATE_HEADER = "EnterpriseName";

public static final String ENTERPRISE_UPDATE_HEADER = "EnterpriseId;EnterpriseName";

public static final String STORE_CREATE_HEADER = "EnterpriseName;StoreName;StoreLocation";

public static final String STORE_UPDATE_HEADER = "StoreId;StoreName;StoreLocation";

public static final String PRODUCT_HEADER = "ProductBarcode;ProductName;ProductPurchasePrice";

public static final String PRODUCTSUPPLIER_CREATE_HEADER = "ProductSupplierName";

public static final String PRODUCTSUPPLIER_UPDATE_HEADER = "ProductSupplierId;ProductSupplierName";

public static final String SEPARATOR = ";";

public static final String USER_CREATE_HEADER = "UserName;CredentialType;CredentialString;Role";

public static final String USER_UPDATE_HEADER = "UserId;UserName;CredentialType;CredentialString;Role";

public static final String CUSTOMER_CREATE_HEADER = "FirstName;LastName;MailAddress;"
+ "UserName";

public static final String CUSTOMER_UPDATE_HEADER = "CustomerId;FirstName;LastName;MailAddress;"
+ "UserName";

public static final String CUSTOMER_CREATE_HEADER_WITH_STORE = "FirstName;LastName;MailAddress;"
+ "PreferredStoreEnterpriseName;PreferredStoreId;PreferredStoreName;PreferredStoreLocation;"
+ "UserName";

public static final String CUSTOMER_UPDATE_HEADER_WITH_STORE = "CustomerId;FirstName;LastName;MailAddress;"
+ "PreferredStoreEnterpriseName;PreferredStoreId;PreferredStoreName;PreferredStoreLocation;"
+ "UserName";
}
package org.cocome.tradingsystem.inventory.data.persistence;

public final class ServiceAdapterHeaders {
public static final String PRODUCTORDER_HEADER = "ProductOrderId;StoreId;ProductBarcode;"
+ "OrderDeliveryDate;OrderOrderingDate;OrderAmount";

public static final String STOCKITEM_HEADER = "StoreId;ProductBarcode;StockItemMinStock;"
+ "StockItemMaxStock;StockItemIncomingAmount;StockItemAmount;StockItemSalesPrice";

public static final String ENTERPRISE_CREATE_HEADER = "EnterpriseName";

public static final String ENTERPRISE_UPDATE_HEADER = "EnterpriseId;EnterpriseName";

public static final String STORE_CREATE_HEADER = "EnterpriseName;StoreName;StoreLocation";

public static final String STORE_UPDATE_HEADER = "EnterpriseName;StoreId;StoreName;StoreLocation";

public static final String PRODUCT_HEADER = "ProductBarcode;ProductName;ProductPurchasePrice";

public static final String PRODUCTSUPPLIER_CREATE_HEADER = "ProductSupplierName";

public static final String PRODUCTSUPPLIER_UPDATE_HEADER = "ProductSupplierId;ProductSupplierName";

public static final String SEPARATOR = ";";

public static final String USER_CREATE_HEADER = "UserName;CredentialType;CredentialString;Role";

public static final String USER_UPDATE_HEADER = "UserId;UserName;CredentialType;CredentialString;Role";

public static final String CUSTOMER_CREATE_HEADER = "FirstName;LastName;MailAddress;"
+ "UserName";

public static final String CUSTOMER_UPDATE_HEADER = "CustomerId;FirstName;LastName;MailAddress;"
+ "UserName";

public static final String CUSTOMER_CREATE_HEADER_WITH_STORE = "FirstName;LastName;MailAddress;"
+ "PreferredStoreEnterpriseName;PreferredStoreId;PreferredStoreName;PreferredStoreLocation;"
+ "UserName";

public static final String CUSTOMER_UPDATE_HEADER_WITH_STORE = "CustomerId;FirstName;LastName;MailAddress;"
+ "PreferredStoreEnterpriseName;PreferredStoreId;PreferredStoreName;PreferredStoreLocation;"
+ "UserName";
}
Loading

0 comments on commit d911d83

Please sign in to comment.