-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug when editing stores and added new frontend functions
- Loading branch information
Showing
15 changed files
with
658 additions
and
491 deletions.
There are no files selected for viewing
382 changes: 192 additions & 190 deletions
382
...va/org/cocome/tradingsystem/inventory/data/persistence/ServiceAdapterEntityConverter.java
Large diffs are not rendered by default.
Oops, something went wrong.
86 changes: 43 additions & 43 deletions
86
.../main/java/org/cocome/tradingsystem/inventory/data/persistence/ServiceAdapterHeaders.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
} |
Oops, something went wrong.