From 1ae1dab02739c91be85db5629badf103bb4a6798 Mon Sep 17 00:00:00 2001 From: shameem_z Date: Wed, 19 Sep 2007 13:00:56 +0000 Subject: [PATCH] Initial commit of Posterita --- .../src/main/org/posterita/Constants.java | 708 ++++++++++++++++ .../main/org/posterita/beans/AddressBean.java | 157 ++++ .../main/org/posterita/beans/AgingBean.java | 231 ++++++ .../beans/ApplicationParametersBean.java | 54 ++ .../org/posterita/beans/AttachmentBean.java | 35 + .../org/posterita/beans/AttributeBean.java | 200 +++++ .../beans/AttributeInstanceBean.java | 93 +++ .../beans/AttributeValueDetailBean.java | 95 +++ .../posterita/beans/AttributeValuesBean.java | 155 ++++ .../posterita/beans/AttributeValuesPair.java | 139 ++++ .../beans/AvailableProductSizeBean.java | 69 ++ .../org/posterita/beans/BPartnerBean.java | 181 ++++ .../org/posterita/beans/BPartnerInfoBean.java | 264 ++++++ .../org/posterita/beans/BankAccountBean.java | 75 ++ .../main/org/posterita/beans/BankBean.java | 84 ++ .../beans/BankStatementLineBean.java | 114 +++ .../org/posterita/beans/BlackListedBean.java | 53 ++ .../main/org/posterita/beans/CashBean.java | 141 ++++ .../posterita/beans/CashBookDetailBean.java | 220 +++++ .../org/posterita/beans/CashLineBean.java | 114 +++ .../org/posterita/beans/CashSummaryBean.java | 116 +++ .../beans/ChangeDocumentStatusBean.java | 83 ++ .../posterita/beans/ChangePasswordBean.java | 64 ++ .../main/org/posterita/beans/CommandBean.java | 53 ++ .../org/posterita/beans/CommissionBean.java | 160 ++++ .../org/posterita/beans/CreditCardBean.java | 108 +++ .../org/posterita/beans/CreditCheckBean.java | 53 ++ .../beans/CreditPaymentDetailsBean.java | 160 ++++ .../beans/CurrentTillAmountBean.java | 88 ++ .../org/posterita/beans/CustomerBean.java | 463 +++++++++++ .../org/posterita/beans/DateFilterBean.java | 151 ++++ .../beans/DisplayMessageLogBean.java | 115 +++ .../org/posterita/beans/DocumentBean.java | 84 ++ .../beans/DocumentHistortFilterBean.java | 80 ++ .../posterita/beans/DocumentHistoryBean.java | 248 ++++++ .../main/org/posterita/beans/DunningBean.java | 105 +++ .../org/posterita/beans/EditPriceBean.java | 62 ++ .../main/org/posterita/beans/FilterBean.java | 137 ++++ .../posterita/beans/GenericProductBean.java | 167 ++++ .../org/posterita/beans/InOutHistoryBean.java | 113 +++ .../org/posterita/beans/InventoryBean.java | 127 +++ .../posterita/beans/InvoiceHistoryBean.java | 101 +++ .../main/org/posterita/beans/ItemBean.java | 207 +++++ .../main/org/posterita/beans/LocatorBean.java | 116 +++ .../main/org/posterita/beans/LoginBean.java | 70 ++ .../org/posterita/beans/MenuItemBean.java | 102 +++ .../main/org/posterita/beans/MessageBean.java | 126 +++ .../posterita/beans/MessageLoggerBean.java | 58 ++ .../posterita/beans/MinOutHistoryBean.java | 44 + .../org/posterita/beans/OpenItemBean.java | 284 +++++++ .../main/org/posterita/beans/OrderBean.java | 73 ++ .../org/posterita/beans/OrderHistoryBean.java | 339 ++++++++ .../org/posterita/beans/OrderInfoBean.java | 149 ++++ .../OrderLineAttributeSetInstanceBean.java | 47 ++ .../org/posterita/beans/OrderLineBean.java | 418 ++++++++++ .../beans/OrderLineImporterBean.java | 28 + .../src/main/org/posterita/beans/OrgBean.java | 207 +++++ .../org/posterita/beans/OrgUsersBean.java | 60 ++ .../src/main/org/posterita/beans/POSBean.java | 238 ++++++ .../posterita/beans/POSDescriptionBean.java | 55 ++ .../org/posterita/beans/POSHistoryBean.java | 126 +++ .../main/org/posterita/beans/POSInfoBean.java | 99 +++ .../org/posterita/beans/POSReportBean.java | 155 ++++ .../org/posterita/beans/POSStockBean.java | 128 +++ .../org/posterita/beans/POSSupplierBean.java | 43 + .../beans/PaymentAllocationBean.java | 124 +++ .../main/org/posterita/beans/PaymentBean.java | 115 +++ .../posterita/beans/PaymentHistoryBean.java | 101 +++ .../org/posterita/beans/PaymentTermBean.java | 120 +++ .../org/posterita/beans/PaymentTypeBean.java | 47 ++ .../posterita/beans/PopulateHistoryBean.java | 37 + .../org/posterita/beans/PriceListBean.java | 107 +++ .../org/posterita/beans/PrintBarcodeBean.java | 64 ++ .../posterita/beans/ProductAttributeBean.java | 141 ++++ .../beans/ProductAttributeValueBean.java | 69 ++ .../main/org/posterita/beans/ProductBean.java | 774 ++++++++++++++++++ .../posterita/beans/ProductCategoryBean.java | 42 + .../posterita/beans/ProductDetailsBean.java | 128 +++ .../org/posterita/beans/ProductImageBean.java | 166 ++++ .../org/posterita/beans/ProductImageInfo.java | 59 ++ .../main/org/posterita/beans/ProductInfo.java | 131 +++ .../org/posterita/beans/ProductInfoBean.java | 27 + .../posterita/beans/ProductInstanceBean.java | 81 ++ .../posterita/beans/ProductKeywordsBean.java | 116 +++ .../org/posterita/beans/ProductPriceBean.java | 76 ++ .../org/posterita/beans/ProductQuery.java | 204 +++++ .../beans/ProductRestrictionBean.java | 96 +++ .../posterita/beans/ProductSalesInfoBean.java | 82 ++ .../beans/ProductSalesSummaryBean.java | 67 ++ .../posterita/beans/ProductSearchBean.java | 51 ++ .../org/posterita/beans/ProductSpecsBean.java | 86 ++ .../posterita/beans/ProductStatusBean.java | 229 ++++++ .../posterita/beans/ProductSupplierBean.java | 52 ++ .../posterita/beans/RemoveSessionBean.java | 39 + .../main/org/posterita/beans/ReportBean.java | 206 +++++ .../org/posterita/beans/ReportDataBean.java | 102 +++ .../org/posterita/beans/ReportImageBean.java | 149 ++++ .../main/org/posterita/beans/RoleBean.java | 109 +++ .../beans/SalesAnalysisReportBean.java | 86 ++ .../beans/SalesAnalysisReportDataBean.java | 86 ++ .../main/org/posterita/beans/SearchBean.java | 82 ++ .../org/posterita/beans/SearchOrderBean.java | 51 ++ .../main/org/posterita/beans/ShipperBean.java | 45 + .../org/posterita/beans/ShoppingCartBean.java | 65 ++ .../main/org/posterita/beans/StockBean.java | 357 ++++++++ .../posterita/beans/SynchronizationBean.java | 75 ++ .../beans/SynchronizeCollectionBean.java | 89 ++ .../beans/TShirtProductDetailsBean.java | 61 ++ .../beans/TabularReportRecordBean.java | 68 ++ .../src/main/org/posterita/beans/TaxBean.java | 77 ++ .../main/org/posterita/beans/TradeInBean.java | 56 ++ .../main/org/posterita/beans/TrendsBean.java | 121 +++ .../src/main/org/posterita/beans/UDIBean.java | 714 ++++++++++++++++ .../src/main/org/posterita/beans/UDIPair.java | 128 +++ .../main/org/posterita/beans/UserBean.java | 326 ++++++++ .../main/org/posterita/beans/VendorBean.java | 102 +++ .../org/posterita/beans/WBProductBean.java | 206 +++++ .../org/posterita/beans/WarehouseBean.java | 187 +++++ .../org/posterita/beans/WebDocumentBean.java | 612 ++++++++++++++ .../beans/WebDocumentHeaderBean.java | 194 +++++ .../posterita/beans/WebInvoiceLineBean.java | 63 ++ .../posterita/beans/WebMinOutLineBean.java | 26 + .../org/posterita/beans/WebOrderLineBean.java | 381 +++++++++ .../org/posterita/beans/WebStockBean.java | 49 ++ .../beans/WebstoreProductImageFileBean.java | 104 +++ .../org/posterita/beans/WebstoreUserBean.java | 127 +++ 126 files changed, 17727 insertions(+) create mode 100644 posterita/src/main/org/posterita/Constants.java create mode 100644 posterita/src/main/org/posterita/beans/AddressBean.java create mode 100644 posterita/src/main/org/posterita/beans/AgingBean.java create mode 100644 posterita/src/main/org/posterita/beans/ApplicationParametersBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttachmentBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttributeBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttributeInstanceBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttributeValueDetailBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttributeValuesBean.java create mode 100644 posterita/src/main/org/posterita/beans/AttributeValuesPair.java create mode 100644 posterita/src/main/org/posterita/beans/AvailableProductSizeBean.java create mode 100644 posterita/src/main/org/posterita/beans/BPartnerBean.java create mode 100644 posterita/src/main/org/posterita/beans/BPartnerInfoBean.java create mode 100644 posterita/src/main/org/posterita/beans/BankAccountBean.java create mode 100644 posterita/src/main/org/posterita/beans/BankBean.java create mode 100644 posterita/src/main/org/posterita/beans/BankStatementLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/BlackListedBean.java create mode 100644 posterita/src/main/org/posterita/beans/CashBean.java create mode 100644 posterita/src/main/org/posterita/beans/CashBookDetailBean.java create mode 100644 posterita/src/main/org/posterita/beans/CashLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/CashSummaryBean.java create mode 100644 posterita/src/main/org/posterita/beans/ChangeDocumentStatusBean.java create mode 100644 posterita/src/main/org/posterita/beans/ChangePasswordBean.java create mode 100644 posterita/src/main/org/posterita/beans/CommandBean.java create mode 100644 posterita/src/main/org/posterita/beans/CommissionBean.java create mode 100644 posterita/src/main/org/posterita/beans/CreditCardBean.java create mode 100644 posterita/src/main/org/posterita/beans/CreditCheckBean.java create mode 100644 posterita/src/main/org/posterita/beans/CreditPaymentDetailsBean.java create mode 100644 posterita/src/main/org/posterita/beans/CurrentTillAmountBean.java create mode 100644 posterita/src/main/org/posterita/beans/CustomerBean.java create mode 100644 posterita/src/main/org/posterita/beans/DateFilterBean.java create mode 100644 posterita/src/main/org/posterita/beans/DisplayMessageLogBean.java create mode 100644 posterita/src/main/org/posterita/beans/DocumentBean.java create mode 100644 posterita/src/main/org/posterita/beans/DocumentHistortFilterBean.java create mode 100644 posterita/src/main/org/posterita/beans/DocumentHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/DunningBean.java create mode 100644 posterita/src/main/org/posterita/beans/EditPriceBean.java create mode 100644 posterita/src/main/org/posterita/beans/FilterBean.java create mode 100644 posterita/src/main/org/posterita/beans/GenericProductBean.java create mode 100644 posterita/src/main/org/posterita/beans/InOutHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/InventoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/InvoiceHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/ItemBean.java create mode 100644 posterita/src/main/org/posterita/beans/LocatorBean.java create mode 100644 posterita/src/main/org/posterita/beans/LoginBean.java create mode 100644 posterita/src/main/org/posterita/beans/MenuItemBean.java create mode 100644 posterita/src/main/org/posterita/beans/MessageBean.java create mode 100644 posterita/src/main/org/posterita/beans/MessageLoggerBean.java create mode 100644 posterita/src/main/org/posterita/beans/MinOutHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/OpenItemBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderInfoBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderLineAttributeSetInstanceBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrderLineImporterBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrgBean.java create mode 100644 posterita/src/main/org/posterita/beans/OrgUsersBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSDescriptionBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSInfoBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSReportBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSStockBean.java create mode 100644 posterita/src/main/org/posterita/beans/POSSupplierBean.java create mode 100644 posterita/src/main/org/posterita/beans/PaymentAllocationBean.java create mode 100644 posterita/src/main/org/posterita/beans/PaymentBean.java create mode 100644 posterita/src/main/org/posterita/beans/PaymentHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/PaymentTermBean.java create mode 100644 posterita/src/main/org/posterita/beans/PaymentTypeBean.java create mode 100644 posterita/src/main/org/posterita/beans/PopulateHistoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/PriceListBean.java create mode 100644 posterita/src/main/org/posterita/beans/PrintBarcodeBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductAttributeBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductAttributeValueBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductCategoryBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductDetailsBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductImageBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductImageInfo.java create mode 100644 posterita/src/main/org/posterita/beans/ProductInfo.java create mode 100644 posterita/src/main/org/posterita/beans/ProductInfoBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductInstanceBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductKeywordsBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductPriceBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductQuery.java create mode 100644 posterita/src/main/org/posterita/beans/ProductRestrictionBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductSalesInfoBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductSalesSummaryBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductSearchBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductSpecsBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductStatusBean.java create mode 100644 posterita/src/main/org/posterita/beans/ProductSupplierBean.java create mode 100644 posterita/src/main/org/posterita/beans/RemoveSessionBean.java create mode 100644 posterita/src/main/org/posterita/beans/ReportBean.java create mode 100644 posterita/src/main/org/posterita/beans/ReportDataBean.java create mode 100644 posterita/src/main/org/posterita/beans/ReportImageBean.java create mode 100644 posterita/src/main/org/posterita/beans/RoleBean.java create mode 100644 posterita/src/main/org/posterita/beans/SalesAnalysisReportBean.java create mode 100644 posterita/src/main/org/posterita/beans/SalesAnalysisReportDataBean.java create mode 100644 posterita/src/main/org/posterita/beans/SearchBean.java create mode 100644 posterita/src/main/org/posterita/beans/SearchOrderBean.java create mode 100644 posterita/src/main/org/posterita/beans/ShipperBean.java create mode 100644 posterita/src/main/org/posterita/beans/ShoppingCartBean.java create mode 100644 posterita/src/main/org/posterita/beans/StockBean.java create mode 100644 posterita/src/main/org/posterita/beans/SynchronizationBean.java create mode 100644 posterita/src/main/org/posterita/beans/SynchronizeCollectionBean.java create mode 100644 posterita/src/main/org/posterita/beans/TShirtProductDetailsBean.java create mode 100644 posterita/src/main/org/posterita/beans/TabularReportRecordBean.java create mode 100644 posterita/src/main/org/posterita/beans/TaxBean.java create mode 100644 posterita/src/main/org/posterita/beans/TradeInBean.java create mode 100644 posterita/src/main/org/posterita/beans/TrendsBean.java create mode 100644 posterita/src/main/org/posterita/beans/UDIBean.java create mode 100644 posterita/src/main/org/posterita/beans/UDIPair.java create mode 100644 posterita/src/main/org/posterita/beans/UserBean.java create mode 100644 posterita/src/main/org/posterita/beans/VendorBean.java create mode 100644 posterita/src/main/org/posterita/beans/WBProductBean.java create mode 100644 posterita/src/main/org/posterita/beans/WarehouseBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebDocumentBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebDocumentHeaderBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebInvoiceLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebMinOutLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebOrderLineBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebStockBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebstoreProductImageFileBean.java create mode 100644 posterita/src/main/org/posterita/beans/WebstoreUserBean.java diff --git a/posterita/src/main/org/posterita/Constants.java b/posterita/src/main/org/posterita/Constants.java new file mode 100644 index 0000000000..0c4a5800e3 --- /dev/null +++ b/posterita/src/main/org/posterita/Constants.java @@ -0,0 +1,708 @@ +/* + * + * Copyright (c) 2005 UDI Ltd. All Rights Reserved. + * + * This software is the confidential and proprietary information of + * UDI Ltd. ("Confidential Information"). You shall not + * disclose such Confidential Information and shall use it only in + * accordance with the terms of the license agreement you entered into + * with UDI. + * + * UDI MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE + * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT + * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR + * A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UDI SHALL NOT + * BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, + * MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. + * + * Created on Jul 6, 2005 by vishee + */ + +package org.posterita; + +import java.util.Properties; + + +import org.posterita.core.UDIFilePropertiesManager; + + +public class Constants +{ + public static final String ACCESSIBLE_ORGS = "accessibleOrgs"; + public static final String ACTION = "action"; + public static final String ADD_ORDERLINE_ID = "addOrderLineId"; + public static final String ADMIN = "admin"; + public static final String ADMIN_USER_ID = "adminUserId"; + public static final String ALL_BANKS = "allBanks"; + public static final String ALL_COLOURCODE_MATCHING = "allColourCodeMatching"; + public static final String ALL_COLOURMATCHING_COLOURS = "allColourMatchingColours"; + public static final String ALL_COUNTRIES = "allCountries"; + public static final String ALL_CUSTOMERS = "allCustomers"; + public static final String ALL_MODELMATCH = "allmodelmatch"; + public static final String ALL_MODELS = "allModels"; + public static final String ALL_ORDERS = "allOrders"; + public static final String ALL_ORGS = "allOrgs"; + public static final String ALL_ROLES = "allRoles"; + public static final String ALL_STOCK_REPORT = "allStockReport"; + public static final String ALL_USERS = "allUsers"; + public static final String ALL_WAREHOUSES="allwarehouses"; + public static final String ALL_WEEKS = "allWeeks"; + public static final String ALLBUSINESSPARTNERS = "allBp"; + public static final String ALLOCATION = "allocation"; + public static final String ALLOCATION_DATE = "allocationDate"; + public static final String ALLOCATION_ID = "allocationId"; + public static final String ALLOCATION_LINES="allocationsLines"; + public static final String ALLOCATION_LIST = "allocationList"; + public static final String ALLOCATION_ORDERS = "allocationOrders"; + + + public static final String ALLOCATION_REPORT = "allocationReport"; + public static final String ALLOCATION_STOCK = "Allocation Stock"; + public static final String ALLWAREHOUSES="allwarehouses"; + + public static final String APP_CRM = "crm"; + public static final String APP_DCS = "dcs"; + public static final String APP_IMMOBILIER_WEBSTORE = "ImmobilierWebstore"; + public static final String APP_NAME = "appName"; + //APPLICATION NAME + public static final String APP_POS = "pos"; + public static final String APP_WEBSTORE = "webstore"; + public static final String APP_WEBSTORE_ADMIN = "webstoreadmin"; + public static final String APPROVE = "APPROVE"; + public static final String ASSIGNED_ROLES = "assignedRoles"; + public static final String ATTRIBUTE_LIST = "attributeList"; + public static final String ATTRIBUTE_NAME = "atttributeName"; + public static final String ATTRIBUTE_SET = "attributeSet"; + public static final String ATTRIBUTE_SET_ID = "attributeSetId"; + public static final String ATTRIBUTE_VALUES = "attributeValues"; + public static final String ATTRIBUTE_VALUES_LIST = "attributeValuesList"; + + + public static final int ATTRIBUTE_YEAR_MIN_VALUE = 2000; + public static final String ATTRIBUTESET = "AttributeSet"; + public static final String ATTRIBUTESETINSTANCE_ID = "attributeSetInstanceId"; + public static final String AUCTION_MODULE="Auction Module"; + public static final String AVAILABLE_COLOURS = "availableColours"; + public static final String AVAILABLE_COLOURS_SIZES = "availableColoursSizes"; + public static final String AVAILABLE_SIZES = "availableSizes"; + + + public static final String AVAILABLE_VIN = "availableVin"; + public static final String B_PARTNER_ID = "bPartnerId"; + public static final String BACK_ORDER = "backOrder"; + public static final String BANK = "bank"; + public static final String BANKS = "banks"; + public static final String BP_LIST = "bpList"; + public static final String BPARTNER = "bPartner"; + public static final String BRAND_ATTRIBUTE_VALUES="brandAttributeValues"; + public static final String BREADCRUMB = "breadcrumb"; + public static final String BUSINESSPARTNER = "businessPartner"; + public static final String BUSINESSPARTNER_ORDER_DETAILS ="bPartnerOrderDetails"; + public static final String BUSINESSPARTNER_TRX_DETAILS = "businessPartnerTrxdetails"; + public static final String BUSINESSPARTNERSDETAILS = "bPartnerDetails"; + public static final String CAN_TRADE_IN = "canTradeIn"; + public static final String CANCEL_DO = "cancelDO"; + public static final String CANCEL_DT = "cancelDT"; + public static final String CANCEL_INVOICE = "cancelInvoice"; + public static final String CANCEL_SCO = "cancelSCO"; + public static final String CARD = "card"; + public static final String CASH = "cash"; + public static final String CASH_BOOK = "cashBook"; + public static final String CASH_DETAILS = "cashDetails"; + + public static final String CASH_LINE_DETAILS = "cashLineDetails"; + public static final String CASH_SUMMARY = "cashSummary"; + public static final String CERTIFICATE = "certificate"; + public static final String CHANGE = "change"; + public static final String CHECKED_PRODUCTS = "checkedProducts"; + public static final String CHECKING_ACCOUNT_TYPE = "C"; + public static final String CHECKOUT_ACTION = "/CheckoutAction"; + public static final String CHOOSE = "Choose"; + public static final String CHOOSE_SHIPPING_ADDRESS = "chooseShippingAddress"; + + public static final String CHOOSE_USER = "chooseUser"; + public static final String CHOOSE_VIN = "chooseVin"; + public static final String CLIENT_ID="client"; + public static final String CLIENT_NAME="clientName"; + public static final Integer COGS = Integer.valueOf(51100); + public static final String COLOUR_ATTRIBUTE_VALUE_ID = "colourAttributeValueId"; + public static final String COLOUR_ATTRIBUTE_VALUES = "colourAttributeValues"; + public static final String COLOURCODE_MATCHING = "colourCodeMatching"; + public static final String COMPLETED_INVOICE = "completedInvoice"; + public static final String COMPLETED_POS_ORDER = "completedPOSOrder"; + public static final String COMPLEX_COMMAND = "complexCommand"; + public static final String CONTENT = "content"; + public static final String SUBCLASSIFICATION = "subClassification"; + public static final String COUNTRY_CLASSIFICATION = "countryClassification"; + public static final String BRAND_CLASSIFICATION = "brandClassification"; + public static final String COUNTRIES = "countries"; + public static final String CREATE = "create"; + public static final String CREATE_BANKACCOUNT = "createBankAccount"; + public static final String CREATE_DRAFTED_ORDER = "createDraftedOrder"; + public static final String CREATE_NEW_CAR = "createNewCar"; + public static final String CREATE_PRODUCT_ATTRIBUTE_VALUE_ACTION = "/CreateProductAttributeValueAction"; + public static final String CREATE_PRODUCT_ATTRIBUTE_VALUE_FORM = "CreateProductAttributeValueForm"; + public static final String CREATE_USED_CAR = "createUsedCar"; + public static final String CREATE_WEBSTORE_CUSTOMER_ACTION = "/CreateWebstoreCustomerAction"; + public static final String CREATEPRODUCTS = "createProducts"; + public static final String CREATING_FROM_ORDER = "creatingFromOrder"; + public static final String CREDITCARDTYPE_AMEX = "Amex"; + public static final String CREDITCARDTYPE_DISCOVER = "Discover"; + public static final String CREDITCARDTYPE_MASTERCARD = "MasterCard"; + public static final String CREDITCARDTYPE_VISA = "Visa"; + public static final String CRM_REQUEST_USERS = "crmUsers"; + public static final String CSV_FILE = "csvFile"; + public static final String CSV_FILE2 = "csvFile2"; + + public static final String CURRENCIES = "currencies"; + public static final String CURRENCY_SYMBOLE = "currencySymbole"; + public static final String CURRENT_PARTIAL_POS_ORDER_ID = "currentPartialPOSOrderId"; + public static final String CURRENT_POS_ORDER="currentPOSOrder"; + public static final String CURRENT_POS_ORDER_ID = "currentPOSOrderId"; + public static final String CURRENT_PRODUCT = "currentProduct"; + public static final String CURRENT_REQUEST = "currentRequest"; + public static final String CURRENT_TILL_AMOUNT = "currentTillAmount"; + public static final String CURRENT_TILL_AMOUNT_POS = "currentTillAmountPOS"; + public static final String CURRENT_YEAR = "currentYear"; + public static final String CUSTOM_DATE_RANGE = "customDateRange"; + public static final String CUSTOMER = "customer"; + public static final String CUSTOMER_CREATED="CustomerCreated"; + public static final String CUSTOMER_DETAILS = "customerDetails"; + + public static final String CUSTOMER_ID = "customerId"; + public static final String CUSTOMER_RETURN_ORDER = "customerReturnOrder"; + public static final String CUSTOMER_RETURN_ORDER_ID = "customerReturnOrderId"; + + public static final String CUSTOMER_RETURN_ORDER_LINES = "customerReturnOrderLine"; + public static final String CUSTOMER_RETURN_ORDER_SHOPPING_CART = "customerReturnOrderShoppingCart"; + public static final String CUSTOMER_RETURN_ORDER_SHOPPING_CART_ITEMS = "customerReturnOrderShoppingCartItems"; + public static final String DEALER_COUNTER_REF = "dealerCounterRef"; + public static final String DEALER_DETAILS = "dealerDetails"; + public static final String DEALER_REF = "dealerRef"; + + public static final String DEALERCODE_LIST = "dealerCodeList"; + public static final String DEALERS = "dealers"; + public static final String DEALERS_DETAIL = "dealersDetail"; + + + public static final String DELETE_ORDER_TYPE = "deleteOrderType"; + public static final String DELIVERY = "Delivery"; + public static final String DESCRIPTION ="description"; + public static final String DESIGN_ATTRIBUTE_VALUES="designAttributeValues"; + public static final String DISPLAY_REPORT = "displayReport"; + public static final String DMS = "DMS"; + public static final String DOC_STATUS = "docStatus"; + + public static final String DOCUMENT_HISTORY = "documentHistory"; + public static final String DOCUMENT_PDF = "documentPDF"; + public static final String DRAFT_INVOICE = "draftInvoice"; + + public static final String EDITWAREHOUSE="editWarehouse"; + public static final String EMAIL = "email"; + + //Email specific + public static final String EMAIL_FOOTER= "email.footer"; + public static final String EMAIL_REGARDS = "emailRegards"; + public static final String EMAIL_SIGNIN_INFO = "signin.info"; + public static final String END_OF_THE_DAY_DETAILS = "endOfTheDayDetails"; + public static final String ERROR_TITLE = "errorTitle"; + public static final String ERRORS = "errors"; + public static final String ETA_LIST = "ETAList"; + //public static final String EURO_SIGN = "€"; + public static final String EXISTING_BAR_CODE = "existingBarCode"; + public static final String FILE_FOR_UPDATE = "fileForUpdate"; + public static final String FINISHED_AL ="finishedAL"; + public static final String FINISHED_DO = "finishedDO"; + public static final String FINISHED_DT ="finishedDT"; + + public static final String FINISHED_MRO = "finishedMRO"; + + public static final String FINISHED_NR = "finishedNR"; + public static final String FINISHED_SCO = "finishedSCO"; + public static final String FIXED_DATE_RANGE = "fixedDateRange"; + public static final String FREE_STOCK = "Free Stock"; + public static final String FROM_DATE = "fromDate"; + public static final String FULL_IMAGE = "fullImage"; + public static final String FULLIMAGE = "fullImage"; + public static final String GENERATE_INVOICE = "generateInvoice"; + public static final String GENERATE_INVOICE_ACTION = "Invoice"; + public static final String GENERATE_INVOICE_PAYMENT_ACTION = "InvoicePayment"; + public static final String GENERATE_WEBSTORE_INVOICE = "generateWebstoreInvoice"; + public static final String GET_CREDIT_CARD_DETAILS = "getCreditCardDetails"; + public static final String GET_LOGO="getLogo"; + + public static final String GET_PRODUCT_CATEGORY_ACTION = "/GetProductCategory"; + public static final String GOING_RATE_REPORT = "goingRateReport"; + public static final String GOODS_RECEIVE_NOTE = "goodsReceiveNote"; + public static final String GOODS_RECEIVE_NOTE_ID = "goodsReceiveNoteId"; + public static final String GOODS_RECEIVE_NOTE_LINES = "goodsReceiveNoteLines"; + public static final String GOODS_RECEIVE_NOTE_SHOPPING_CART = "goodsReceiveNoteShoppingCart"; + public static final String GOODS_RECEIVE_NOTE_SHOPPING_CART_ITEMS = "goodsReceiveNoteShoppingCartItems"; + public static final String GOODS_RETURN_NOTE = "goodsReturnNote"; + public static final String GOODS_RETURN_NOTE_ID = "goodsReturnNoteId"; + + public static final String GOODS_RETURN_NOTE_LINES = "goodsReturnNoteLines"; + public static final String GOODS_RETURN_NOTE_SHOPPING_CART = "goodsReturnNoteShoppingCart"; + public static final String GOODS_RETURN_NOTE_SHOPPING_CART_ITEMS = "goodsReturnNoteShoppingCartItems"; + public static final String GRAND_TOTAL = "grandTotal"; + public static final String HIDDEN_STOCK = "Hidden Stock"; + public static final String HOMEPAGE_PRODUCTS = "homePageProducts"; + public static final String HONDA = "honda"; + public static final String IMAGE_NAME = "ImageName"; + public static final String IMAGES_DIRECTORY = "images/"; + public static final String IMPORTED_VEHICLES = "importedVehicles"; + public static final String InitPriceListAction = "/InitPriceListAction"; + public static final String INSERT_VIN = "insertVin"; + public static final String INVOICE_ACTION_CANCEL = "Cancel"; + public static final String INVOICE_ACTION_COMPLETE = "Complete"; + public static final String INVOICE_ACTION_DELETE = "Delete"; + public static final String INVOICE_ACTION_PAID = "Paid"; + public static final String INVOICE_ACTION_PAID_AND_SHIP = "Paid and Ship"; + public static final String INVOICE_HISTORY = "invoiceHistory"; + public static final String INVOICE_ID = "invoiceId"; + + public static final String INVOICE_PAID = "Invoice & Pay"; + public static final String INVOICE_PAID_SHIP = "Inv/Paid/Ship"; + public static final String INVOICE_TAX = "invoiceTax"; + public static final String IS_PAID = "isPaid"; + public static final String KEYWORD1_LINK_LIST = "keyword1LinkList"; + public static final String KEYWORD2_LINK_LIST = "keyword2LinkList"; + + public static final String KIA = "kia"; + public static final String LEFT_MENUS = "leftMenus"; + public static final String LICENSING_AREA="licensingAreas"; + public static final String LICENSING_INFORMATION = "licensingInformation"; + public static final String APP_LICENSING_INFORMATION = "appLicensingInformation"; + public static final String LOCATORS = "locators"; + public static final String LOGIN = "login"; + + public static final String LOGIN_LINK = "link"; + public static final String MAKE_ATTRIBUTE_VALUES = "makeAttributeValues"; + public static final String MAX_SOLD_ITEMS = "maxSoldItems"; + public static final String ME = "me"; + public static final String ME_LOCATION = "meLocation"; + public static final String MENU = "menu"; + public static final String MENU_ITEMS = "menuItems"; + + public static final String MENU_LIST = "menuList"; + public static final String MENUS = "menus"; + public static final String MESSAGE = "message"; + public static final String MESSAGE_LOG_BEAN = "messageLogBean"; + public static final String MESSAGE_LOGS = "messageLogs"; + public static final String MIN_SOLD_ITEMS = "minSoldItems"; + public static final String MINOUT = "minout"; + public static final String MINOUT_ACTION_CANCEL = "Cancel"; + public static final String MINOUT_ACTION_COMPLETE = "Complete"; + public static final String MINOUT_ACTION_DELETE = "Delete"; + + public static final String MINOUT_ACTION_RECEIVE = "Receive"; + public static final String MINOUT_ACTION_SHIP = "Ship"; + public static final String MINOUT_LINES_COLLECTION = "minOutLinesCollection"; + public static final String MINVOICE = "minvoice"; + public static final String MINVOICE_LINES_COLLECTION = "invoiceLinesCollection"; + public static final String MMOVEMENT_LOCATOR = "toLocator"; + public static final String MMOVEMENT_LOCATORS = "organisationLocators"; + public static final String MMOVEMENT_MOVMENT = "materialMovement"; + + public static final String MMOVEMENT_PRODUCT = "materialMovementProduct"; + public static final String MMOVEMENT_PRODUCTS = "organisationProducts"; + public static final String MMOVEMENT_WAREHOUSES = "organisationWarehouses"; + + public static final String MODEL_ATTRIBUTE_VALUE_ID = "modelAttributeValueId"; + public static final String MODEL_ATTRIBUTE_VALUES="modelAttributeValues"; + public static final String MODEL_MATCHING_MODELS = "modelMatchingModels"; + public static final String MODEL_MATCHING_YEARS = "modelMatchingYears"; + public static final String MODELCODE_LIST = "modelCodeList"; + public static final String MODELGROUP_ATTRIBUTE_VALUES = "modelGroupAttributeValues"; + public static final String MODELMATCH = "modelmatch"; + public static final String MONTH_SALES = "monthSales"; + public static final String MORDER = "morder"; + public static final String MORDER_LINES_COLLECTION = "orderLinesCollection"; + public static final String MPAYMENT = "payment"; + public static final String MY_RECEIVED_MESSAGE = "myReceivedMessage"; + public static final String MY_RECEIVED_MESSAGES = "myReceivedMessages"; + public static final String MY_SENT_MESSAGES = "mySentMessages"; + public static final String MY_STOCKS = "myStocks"; + public static final String NAAMSA_REPORT = "Naamsa Report"; + public static final String NAAMSAINFO = "naamsaInfo"; + public static final String NATIS_RELEASE_INFO = "natisReleaseInfo"; + public static final String NATIS_XML_ENCODING = "ISO-8859-1"; + public static final String NEW_PRODUCT = "newProduct"; + public static final String NO_CHAR = "N"; + public static final String NO_OF_VEHICLES_SOLD = "noOfVehicleSold"; + public static final String OLD_MODELMATCH = "oldmodelmatch"; + public static final String OPEN_CASH_BOOK = "openCashBook"; + public static final String OPENED_CASH_BOOK = "openedCashBook"; + public static final String ORDER_ACTION_ACCEPT = "Accept"; + public static final String ORDER_ACTION_ACCEPT_WO="Create"; + public static final String ORDER_ACTION_CANCEL = "Cancel"; + public static final String ORDER_ACTION_CLOSE = "Close"; + public static final String ORDER_ACTION_COMPLETE = "Complete"; + public static final String ORDER_ACTION_CONFIRM = "Confirm"; + public static final String ORDER_ACTION_DELETE = "Delete"; + public static final String ORDER_ACTION_GENERATE_ORDER = "Generate Order"; + public static final String ORDER_ACTION_PREPARE = "Reserve Stock"; + + public static final String ORDER_ACTION_PREPARE_SCO = "Prepare"; + public static final String ORDER_ACTION_PREPARE_SCO_ORDER="Prepare Order"; + public static final String ORDER_ACTION_REJECT = "Reject"; + public static final String ORDER_ACTION_SAVE = "Save"; + public static final String ORDER_ACTION_SPLIT = "Split"; + + public static final String ORDER_ACTION_SUBMIT = "Submit"; + public static final String ORDER_BEAN = "orderBean"; + public static final String ORDER_COLLECTION = "orderCollection"; + public static final String ORDER_DETAILS = "orderDetails"; + public static final String ORDER_HISTORY = "orderHistory"; + public static final String ORDER_ID = "orderId"; + public static final String ORDER_INFO = "orderInfo"; + public static final String ORDER_LINE_BEAN = "orderLineBean"; + public static final String ORDER_LINE_ID = "orderLineId"; + public static final String ORDER_LINES = "orderLines"; + public static final String ORDER_LINES_FOR_ORDER = "orderLinesForOrder"; + public static final String ORDER_TAX = "orderTax"; + public static final String ORDER_TYPE = "orderType"; + public static final String ORDER_TYPE_BULK = "bulk"; + + public static final String ORDER_TYPE_SIMPLE = "simple"; + + public static final String ORDER_TYPES = "orderTypes"; + public static final String ORG_FOR_RESERVED_PRODUCTS="orgForReservedProducts"; + public static final String ORG_ID = "orgId"; + public static final String ORG_USERS = "orgUsers"; + public static final String ORGANISATION = "organisation"; + public static final String ORGANISATION_VALUES="organisationValues"; + public static final String ORGS = "orgs"; + public static final String ORGTYPE = "orgType"; + + public static final String PAID_INVOICE = "paidInvoice"; + public static final String PAIR_VIN_NUMBERS = "pairVinNos"; + + public static final String PARTIAL_ORDER_SHOPPING_CART = "partialOrderShoppingCart"; + public static final String PARTIAL_ORDER_SHOPPING_CART_ITEMS = "partialOrderShoppingCartItems"; + public static final String PARTIAL_POS_ORDER = "partialPosOrder"; + + public static final String PARTIAL_POS_ORDER_LINES = "partialPOSOrderlines"; + public static final String PASSWORD = "password"; + public static final String PATH_CREATE_TAMAK_ORDER_ACTION = "/CreateTamakOrderAction"; + public static final String PATH_VIEW_ORDER_ACTION = "/ViewOrderAction"; + public static final String PAYMENT_ACTION_CANCEL = "Cancel"; + public static final String PAYMENT_ACTION_COMPLETE = "Complete"; + public static final String PAYMENT_BY_CARD = "paymentByCard"; + + public static final String PAYMENT_BY_CASH = "paymentByCash"; + public static final String PAYMENT_BY_CHEQUE = "paymentByCheque"; + + public static final String PAYMENT_HISTORY = "paymentHistory"; + public static final String PAYMENT_RULE_CARD="Card"; + public static final String PAYMENT_RULE_CASH="Cash"; + public static final String PAYMENT_RULE_CHEQUE="Cheque"; + public static final String PAYMENT_RULE_CREDIT="Credit"; + public static final String PAYMENT_RULE_MIXED="Mixed"; + public static final String PAYMENT_RULES = "paymentRules"; + public static final String PAYMENT_TYPE = "paymentType"; + public static final String PDF = "pdf"; + public static final String POOL_ORDERLINES = "poolOrderLines"; + public static final String POS_GENERAL_STOCK = "posGeneralStock"; + public static final String CARD_AMT_TENDERED = "cardAmtTendered"; + public static final String CHEQUE_AMT_TENDERED = "chequeAmtTendered"; + + public static final String POS_HISTORY = "posHistory"; + + public static final String POS_INFO = "posInfo"; + + public static final String POS_ORDER = "posOrder"; + public static final String POS_ORDER_CUSTOMER_COMPULSORY = "posOrderCustomerCompulsory"; + public static final String POS_ORDER_DOC_NUMBER = "POSOrderDocumentNumber"; + public static final String POS_ORDER_ID = "posOrderId"; + public static final String POS_ORDER_LINES = "posOrderLines"; + public static final String POS_ORDER_WITHOUT_ADVANCED = "posOrderWithoutAdvanced"; + public static final String POS_PRODUCTS_FOR_UPDATE = "posProductsForUpdate"; + public static final String POS_SALES_PRICE_LIST = "posSalesPriceList"; + + public static final String POS_STOCK = "posStock"; + public static final String POSID = "posId"; + public static final String POSIDS = "posIds"; + public static final String PRICE = "price"; + + public static final String PRICE_LIST = "priceList"; + public static final String PRICE_LIST_VERSION = "priceListVersion"; + public static final String PRICE_LIST_VERSION_ID = "priceListVersionId"; + public static final String PriceListForm = "PriceListForm"; + + public static final String PRICEQTY_FILTER = "priceQtyFilter"; + public static final String PROCESS_CLASS = "process.class"; + public static final String PROCESS_NAME = "process.name"; + + public static final String PRODUCT = "product"; + public static final String PRODUCT_ATTRIBUTE_LIST = "productAttributeList"; + public static final String PRODUCT_ATTRIBUTE_SET = "productAttributeSet"; + public static final String PRODUCT_BRANDS = "productBrands"; + public static final String PRODUCT_CART = "productCart"; + public static final String PRODUCT_CART_ITEMS = "productCartItems"; + public static final String PRODUCT_CATEGORY_ID = "productCategoryId"; + //public static final String WEBSTORE_SHIPPING_ADDR = "webstoreShippingAddr"; + //public static final String WEBSTORE_BILLING_ADDR = "webstoreBillingAddr"; + public static final String PRODUCT_CLASSIFICATION ="productClassification"; + public static final String PRODUCT_CREATED = "productsCreated"; + public static final String PRODUCT_DETAIL_INFO = "productDetailInfo"; + public static final String PRODUCT_DETAILS = "productDetails"; + + public static final String PRODUCT_FILTER_BEAN = "productFilterBean"; + + public static final String PRODUCT_ID = "productId"; + + public static final String PRODUCT_IDS = "productIds"; + public static final String PRODUCT_IMAGE = "productImage"; + public static final String PRODUCT_IMAGE_BEAN = "productImageBean"; + public static final String PRODUCT_INFO = "productInfo"; + public static final String PRODUCT_KEYWORDS = "productKeywords"; + + public static final String PRODUCT_LINES = "productLines"; + public static final String PRODUCT_LIST = "productList"; + public static final String PRODUCT_SALES_DETAILS = "productSalesDetails"; + public static final String PRODUCT_SALES_SUMMARY = "productSalesSummary"; + public static final String PRODUCTS = "products"; + public static final String PRODUCTS_IN_STOCK = "productsInStock"; + public static final Integer PROFIT_MARGIN = Integer.valueOf(99999); + public static final String PROGRESS_DO = "progressDO"; + public static final String PROGRESS_DT = "progressDT"; + public static final String PROGRESS_NR = "progressNR"; + public static final String PROGRESS_SCO = "progressSCO"; + public static final String PROGRESS_TI = "progressTI"; + public static final String PROJECT_NAME = "project.name"; + public static final String QUANTITY = "quantity"; + public static final String QUICK_POS_ORDER = "quickPosOrder"; + public static final String RECEIPT_HISTORY = "receiptHistory"; + public static final String RECEIVED_MESSAGE = "receivedMessage"; + public static final String REGION_VALUES = "regionValues"; + public static final String REGIONS = "regions"; + + public static final String RELATED_PRODUCT_IMAGES = "relatedProductImages"; + public static final String REPORT_URL = "reportURL"; + public static final String REPRICE_ORDER_TYPE ="repriceOrderType"; + + public static final String REQUEST_PRIORITIES = "requestPriorities"; + public static final String REQUEST_STATUS = "requestStatus"; + // --> CRM + public static final String REQUESTS_SUMMARY = "requestsSummary"; + public static final String RESERVE_STATUS_VALUES = "reserveStatusValues"; + public static final String RETAIL_REPORT = "retailReport"; + public static final String REVENUE_RECOGNITION = "Revenue Recognition"; + public static final String ROLE = "role"; + public static final String ROLE_MENUS = "roleMenus"; + public static final String ROLES = "roles"; + + public static final String SALES_ANALYSIS = "salesAnalysis"; + public static final String SALES_REP = "salesRep"; + public static final String SALES_REPORT = "salesReport"; + public static final String SALESGROUP_LIST = "salesGroupList"; + public static final String SAVING_ACCOUNT_TYPE = "S"; + public static final String SCO_FILTER_BEAN = "SCOFilterBean"; + public static final String SCO_PRODUCT_LIST = "SCO Product List"; + public static final String SEARCH_VIN_NUMBERS="searchVinNumbers"; + public static final String SEARCH_VIN_NUMBERS_INQUIRY="searchVinNumberForInquiry"; + public static final String SELECTED_PRODUCTS_FOR_BULK_ORDER = "selectedProductsForBulkOrder"; + public static final String SELECTED_PRODUCTS_FOR_SIMPLE_ORDER = "selectedProductsForSimpleOrder"; + public static final String SENT_MESSAGE = "sentMessage"; + public static final String SHIPMENT_HISTORY = "shipmentHistory"; + public static final String SHIPPER_LIST = "shipperList"; + public static final String SHOPPING_CART = "shoppingCart"; + public static final String SHOPPING_CART_ITEMS = "shoppingCartItems"; + public static final String SHOPPING_GRN_CART = "shoppingGRNCart"; + public static final String SHOPPING_GRN_CART_ITEMS = "shoppingGRNCartItems"; + public static final String SHOPPING_ORDER_CART = "shoppingOrderCart"; + public static final String SHOPPING_ORDER_CART_ITEMS = "shoppingOrderCartItems"; + public static final String SIMPLE_COMMAND = "simpleCommand"; + + public static final String SIMPLE_PRODUCT_CART = "simpleProductCart"; + public static final String SIZE_ATTRIBUTE_VALUES="sizeAttributeValues"; + public static final String SPLIT_ORDER_PROCESS = "splitOrderProcess"; + public static final String STATUS = "status"; + public static final String STATUS_OFF = "OFF"; + + public static final String STATUS_ON = "ON"; + public static final String STATUS_VALUES = "statusValues"; + public static final String STOCK_HISTORY_REPORT = "stockHistoryReport"; + + public static final String STOCK_MOVEMENT = "stockMovement"; + public static final String SUB_MENU_ITEMS = "subMenuItems"; + public static final String SUB_MENU_NAME = "subMenuName"; + public static final String SUBJECT = "subject"; + public static final String SUCCESS = "success"; + public static final String SUCCESS_CREATE_CUSTOMER = "successCreateCustomer"; + public static final String SUPERUSER = "superUser"; + public static final String SWAP_PRODUCT_ID = "swapProductId"; + public static final String SWAP_VIN = "swapVin"; + public static final String SWAP_VIN_NOS_ACTION = "Save"; + public static final String SWAP_VIN_NUMBER_BEAN = "swapVinNumberBean"; + public static final String TABULAR_REPORT_DATA = "tabularReportData"; + + public static final String TABULAR_REPORT_DATA2 = "tabularReport2"; + public static final String TABULAR_REPORT_SUBTITLE = "tabularReportSubtitle"; + public static final String TABULAR_REPORT_TITLE = "tabularReportTitle"; + public static final String TARGET_SALES = "targetSales"; + public static final String TAX_CATEGORY_ID = "taxCategoryId"; + + public static final Integer TAX_CREDIT = Integer.valueOf(12610); + public static final Integer TAX_DUE = Integer.valueOf(21610); + public static final String THUMBNAIL = "thumbnail"; + public static final String TIME_REMAINING = "timeRemaining"; + public static final String TO_DATE = "toDate"; + public static final String TOP_MENUS = "topMenus"; + public static final String TOTAL_LINES = "totalLines"; + public static final String TRADE_IN_LIST = "tradeInList"; + public static final String TRADE_IN_PRODUCT_ID = "tradeInProductId"; + public static final Integer TRADE_REVENUE = Integer.valueOf(41000); + public static final String TRAFFIC_LIST = "trafficList"; + public static final String TRX_ATTRIBUTE_VALUE_ID = "trxAttributeValueId"; + public static final String TRX_ATTRIBUTE_VALUES="trxAttributeValues"; + public static final String [] TSHIRT_SIZE={"S","M","XL"}; + public static final String UDIADMIN = "udiadmin"; + public static final String UDIADMINAUTO = "udiadminauto"; + public static final String UDIADMINBIKE = "udiadminbike"; + public static final String UNFINISHED_AL = "unfinishedAL"; + + public static final String UNFINISHED_DO = "unfinishedDO"; + public static final String UNFINISHED_DT = "unfinishedDT"; + public static final String UNFINISHED_INV = "unfinishedInvoice"; + public static final String UNFINISHED_NR = "unfinishedNR"; + public static final String UNFINISHED_SCO = "unfinishedSCO"; + public static final String UNFINISHED_WO = "unfinishedWO"; + public static final String UNIMPORTED_VEHICLES = "unimportedVehicles"; + public static final String UNPAID_INVOICE = "unPaidInvoice"; + public static final String UPDATE_PRODUCT_DETAILS = "updateProductDetails"; + public static final String USED_CAR_PURCHASE_ORDER = "usedCarPurchaseOrder"; + public static final String USER_DETAILS = "userDetails"; + public static final String VEHICLE_DETAILS = "vehicleDetails"; + public static final String VEHICLES = "vehicles"; + public static final String VENDOR_DETAILS = "vendorDetails"; + public static final String BLACKLISTED_DETAILS = "blackListedDetails"; + public static final String BLACKLISTED_LISTS="blackListedList"; + + + public static final String VENDOR_LIST = "vendorList"; + public static final String VIEW_ALL_ALLOCATIONS = "viewAllAllocations"; + public static final String VIEW_INVOICE_DETAILS="view.invoice.detail"; + public static final String VIEW_MINOUT = "viewMinOut"; + public static final String VIEW_MY_SENT_MESSAGES="viewMySentMessages"; + public static final String VIEW_PAYMENT = "viewPayment"; + public static final String VIEW_POS_ORDER_ACTION = "/ViewPOSOrderAction"; + + public static final String VIEW_POS_PRODUCTS = "viewPOSProducts"; + + public static final String VIEW_SHOPPING_CART = "viewShoppingCart"; + public static final String VIEW_VIN_NUMBER_DETAILS = "viewVinNumberDetails"; + public static final String VIN_NOS = "vinNos"; + + public static final String VIN_NUMBER_FROM = "vinNumberFrom"; + public static final String WAREHOUSE="warehouse"; + public static final String WAREHOUSE_NAMES = "warehouseNames"; + public static final String WAREHOUSE_TYPES = "warehouseTypes"; + public static final String WAREHOUSEDETAILS="warehouseDetails"; + + public static final String WAREHOUSES = "warehouses"; + public static final String WEB_APPLICATIONS = "WebApplications"; + public static final String WEB_DOCUMENT_HEADER_BEAN = "webDocumentHeaderBean"; + public static final String WEB_INVOICE_BEAN = "webInvoiceBean"; + + + + public static final String WEB_MINOUT_BEAN = "webMinOutBean"; + public static final String WEB_ORDER_BEAN = "webOrderBean"; + public static final String WEB_ORDER_LINE_BEAN = "webOrderLineBean"; + public static final String WEB_PAYMENT_BEAN = "webPaymentBean"; + + public static final String WEBSTORE_CREATE_CUSTOMER = "webstoreCreateCustomer"; + public static final String WEBSTORE_CREDITCARD_BEAN = "creditCardBean"; + public static final String WEBSTORE_CUSTOMER = "Webstore Customer"; + public static final String WEBSTORE_INVOICE = "webstoreInvoice"; + public static final String WEBSTORE_LINK = UDIFilePropertiesManager.getProperty().get(new Properties(), "webstore.url"); + public static final String WEBSTORE_LOGIN_ACTION = "/WebstoreLoginAction"; + public static final String WEBSTORE_PROGRESS_DO = "webstoreProgressDO"; + public static final String WEBSTORE_SHIPPING_PROMOTION_PRICE = UDIFilePropertiesManager.getProperty().get(new Properties(), "webstore.shipping.promotion.price"); + public static final String WEBSTORE_SHIPPING_PROMOTION_STATUS = UDIFilePropertiesManager.getProperty().get(new Properties(), "webstore.shipping.promotion.status"); + + public static final String WEBSTORE_USER_BEAN = "webstoreUserBean"; + public static final String WEBSTORE_USER_DETAILS = "webstoreUserDetails"; + public static final String WESBANK = "wesbank"; + public static final String WESBANK_RESPONSE = "WesbankResponse"; + public static final String WESBANK_STATUS = "wesbank.status"; + public static final String WHOLESALE_REPORT = "wholesaleReport"; + public static final String YEAR_ATTRIBUTE_VALUE_ID = "yearAttributeValueId"; + public static final String YEAR_ATTRIBUTE_VALUES="yearAttribueValues"; + public static final String YES_CHAR = "Y"; + public static final String YOU = "you"; + public static final String YOU_BP_LOCATION = "youbpLocation"; + public static final String YOU_LOCATION = "youLocation"; + public static final String CURRENCY_SYMBOLE_PURCHASE = "currencySymbolePurchase"; + public static final String CREDIT_ORDER = "creditOrder"; + public static final String CREDIT_ORDER_SHOPPING_CART = "creditOrderShoppingCart"; + public static final String CREDIT_ORDER_SHOPPING_CART_ITEMS = "creditOrderShoppingCartItems"; + public static final String OPEN_ITEMS = "openItems"; + public static final String AGING_ITEMS = "agingItems"; + public static final String CREDIT_INVOICE_INFO = "creditInvoiceInfo"; + public static final String DISCOUNT_ALLOWED = "discountAllowed"; + public static final String PRODUCT_SALES_BUCKET = "productSalesBucket"; + public static final String BPARTNERS = "bPartners"; + public static final String CASH_PAYMENT_MADE = "cashPaymentMade"; + public static final String CASH_PAYMENT_LIST = "cashPaymentList"; + public static final String CARD_CHQ_PAYMENT_LIST = "cardChqPaymentList"; + public static final String INVOICE_GRAND_TOTAL = "invoiceGrandTotal"; + public static final String NO_IMAGE_CSV_REPORT = "noImageCSVReport"; + public static final String MCASHLINE = "cashLine"; + public static final String DEBTORS = "debtors"; + public static final String PAYMENT_ALLOCATIONS = "paymentAllocations"; + public static final String PAYMENT_TERM = "paymentTerm"; + public static final String PAYMENT_TERM_ID = "paymentTermId"; + public static final String ALL_PAYMENT_TERMS = "allPaymentsTerms"; + public static final String EDIT_PAYMENT_TERM = "editPaymentTerm"; + public static final String NO_CREDIT_CHECK="No Credit Check"; + public static final String CREDIT_OK="Credit OK"; + public static final String CREDIT_STOP="Credit Stop"; + public static final String BUSINESSPARTNERINFO = "bPartnerInfo"; + public static final String ORDER_NAME = "orderName"; + public static final String COMMISSION_AMT = "commissionAmt"; + public static final String COMMISSION_AMT_DETAILS = "commissionAmtDetails"; + public static final String CREDIT_HOLD = "creditHold"; + public static final String CREDIT_WATCH = "creditWatch"; + public static final String CREDIT_PAYMENT_TERM_ID = "creditPaymentTermId"; + public static final String PRESENT_POS_ORDER = "presentPOSOrder"; + public static final String PRESENT_CREDIT_ORDER = "presentCreditOrder"; + public static final String PRESENT_POS_ORDER_ID = "presentPOSOrderId"; + public static final String PRESENT_GRN_ORDER_ID = "presentGRNOrderId"; + public static final String PRESENT_GRN_ORDER = "presentGRNOrder"; + public static final String PRESENT_GOODS_RET_ORDER = "presentGoodsReturnOrder"; + public static final String PRESENT_GOODS_RET_ORDER_ID = "presentGoodsReturnOrderId"; + public static final String PRESENT_CREDIT_ORDER_ID ="presentCreditOrderId"; + public static final String PRESENT_CUSTOMER_RET_ORDER = "presentCustomerReturnOrder"; + public static final String PRESENT_CUSTOMER_RET_ORDER_ID = "presentCustomerReturnOrderId"; + public static final String CUSTOMER_CART = "customerCart"; + public static final String ALL_CART_CUSTOMERS = "allCartCustomers"; + public static final String ALL_TAX_RATE ="allTaxRates"; + public static final String EDIT_TAX = "editTax"; + public static final String INVENTORY_LINE_LIST = "inventoryLineList"; + public static final String CREDITORDER_BPARTNER = "creditOrderBPartner"; + public static final String ORDER_TITLE = "orderTitle"; + public static final String UNALLOCATED_PAYMENTS = "unallocatedPayments"; + public static final String COMPLETED_INVENTORY_LINE_LIST = "completedInventoryLineList"; + public static final String INVENTORY_HISTORY_LIST = "inventoryHistoryList"; + public static final String WHOLE_INVENTORY_LINE_LIST = "wholeInventoryLineList"; + public static final String SHIPMENT_REQUIRED = "shipmentRequired"; + public static final String INVOICE_FOR_ALLOCATION = "invoiceForAllocation"; + public static final String TO_BE_SHIPPED = "toBeShipped"; + public static final String POS_HISTORY_ORDER_TYPE = "posHistoryOrderType"; + public static final String GROUP1 = "group1"; + public static final String GROUP2 = "group2"; + public static final Object CREATE_PAYMENT = "createPayment"; + public static final String INVENTORY_ID = "inventoryId"; + public static final String PAID="Paid"; + public static final String UNPAID="UnPaid"; + public static final String PARTIALLY_PAID="Partially Paid"; + public static final String OVER_PAID = "overPaid"; + public static final String INVENTORY_DESCRIPTION ="inventoryDescription"; + public static final String PARTIAL_POS_OREDR = "partialPOSOrder"; + public static final String ALL_ORDER_HISTORY = "allOrderHistory"; + + public static final String CLOSE_TILL_PRINT_DATA="closeTillPrintData"; +} diff --git a/posterita/src/main/org/posterita/beans/AddressBean.java b/posterita/src/main/org/posterita/beans/AddressBean.java new file mode 100644 index 0000000000..d552782ef7 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AddressBean.java @@ -0,0 +1,157 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ +package org.posterita.beans; + +import org.posterita.beans.UDIBean; + +public class AddressBean extends UDIBean +{ + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public String getAddress1() + { + return address1; + } + + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getAddress2() + { + return address2; + } + public void setAddress2(String address2) + { + this.address2 = address2; + } + + public Boolean getBillTo() + { + return billTo; + } + + public void setBillTo(Boolean billTo) + { + this.billTo = billTo; + } + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public Integer getCountryId() + { + return countryId; + } + public void setCountryId(Integer countryId) + { + this.countryId = countryId; + } + + public String getPostalAddress() + { + return postalAddress; + } + + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + + public Boolean getShipTo() + { + return shipTo; + } + + public void setShipTo(Boolean shipTo) + { + this.shipTo = shipTo; + } + + public String getCountryName() + { + return countryName; + } + + public void setCountryName(String countryName) + { + this.countryName = countryName; + } + + public String getUserSurname() + { + return userSurname; + } + + public void setUserSurname(String userSurname) + { + this.userSurname = userSurname; + } + + public String getUsername() + { + return username; + } + + public void setUsername(String username) + { + this.username = username; + } + + + public String getCountryCode() + { + return countryCode; + } + + public void setCountryCode(String countryCode) + { + this.countryCode = countryCode; + } + + public Integer getRegionId() + { + return regionId; + } + + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/AgingBean.java b/posterita/src/main/org/posterita/beans/AgingBean.java new file mode 100644 index 0000000000..eb6ee3fb4e --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AgingBean.java @@ -0,0 +1,231 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 17, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class AgingBean extends UDIBean +{ + + public Integer getCurrencyId() + { + return currencyId; + } + + public void setCurrencyId(Integer currencyId) + { + this.currencyId = currencyId; + } + + public BigDecimal getDue0() + { + return due0; + } + + public void setDue0(BigDecimal due0) + { + this.due0 = due0; + } + + public BigDecimal getDue0_30() + { + return due0_30; + } + + public void setDue0_30(BigDecimal due0_30) + { + this.due0_30 = due0_30; + } + + public BigDecimal getDue1_7() + { + return due1_7; + } + + public void setDue1_7(BigDecimal due1_7) + { + this.due1_7 = due1_7; + } + + public BigDecimal getDue31_60() + { + return due31_60; + } + + public void setDue31_60(BigDecimal due31_60) + { + this.due31_60 = due31_60; + } + + public BigDecimal getDue61_90() + { + return due61_90; + } + + public void setDue61_90(BigDecimal due61_90) + { + this.due61_90 = due61_90; + } + + public BigDecimal getDue8_30() + { + return due8_30; + } + + public void setDue8_30(BigDecimal due8_30) + { + this.due8_30 = due8_30; + } + + public BigDecimal getDue91_PLUS() + { + return due91_PLUS; + } + + public void setDue91_PLUS(BigDecimal due91_PLUS) + { + this.due91_PLUS = due91_PLUS; + } + + public BigDecimal getDueAmt() + { + return dueAmt; + } + + public void setDueAmt(BigDecimal dueAmt) + { + this.dueAmt = dueAmt; + } + + public String getDueDate() + { + return dueDate; + } + + public void setDueDate(String dueDate) + { + this.dueDate = dueDate; + } + + public BigDecimal getInvoicedAmt() + { + return invoicedAmt; + } + + public void setInvoicedAmt(BigDecimal invoicedAmt) + { + this.invoicedAmt = invoicedAmt; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + + public BigDecimal getOpenAmt() + { + return openAmt; + } + + public void setOpenAmt(BigDecimal openAmt) + { + this.openAmt = openAmt; + } + + public BigDecimal getPastDue1_30() + { + return pastDue1_30; + } + + public void setPastDue1_30(BigDecimal pastDue1_30) + { + this.pastDue1_30 = pastDue1_30; + } + + public BigDecimal getPastDue1_7() + { + return pastDue1_7; + } + + public void setPastDue1_7(BigDecimal pastDue1_7) + { + this.pastDue1_7 = pastDue1_7; + } + + public BigDecimal getPastDue31_60() + { + return pastDue31_60; + } + + public void setPastDue31_60(BigDecimal pastDue31_60) + { + this.pastDue31_60 = pastDue31_60; + } + + public BigDecimal getPastDue61_90() + { + return pastDue61_90; + } + + public void setPastDue61_90(BigDecimal pastDue61_90) + { + this.pastDue61_90 = pastDue61_90; + } + + public BigDecimal getPastDue8_30() + { + return pastDue8_30; + } + + public void setPastDue8_30(BigDecimal pastDue8_30) + { + this.pastDue8_30 = pastDue8_30; + } + + public BigDecimal getPastDue91_plus() + { + return pastDue91_plus; + } + + public void setPastDue91_plus(BigDecimal pastDue91_plus) + { + this.pastDue91_plus = pastDue91_plus; + } + + public BigDecimal getPastDueAmt() + { + return pastDueAmt; + } + + public void setPastDueAmt(BigDecimal pastDueAmt) + { + this.pastDueAmt = pastDueAmt; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ApplicationParametersBean.java b/posterita/src/main/org/posterita/beans/ApplicationParametersBean.java new file mode 100644 index 0000000000..b362f231ec --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ApplicationParametersBean.java @@ -0,0 +1,54 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * */ +package org.posterita.beans; + + +public class ApplicationParametersBean extends UDIBean +{ + public String getApplicationName() + { + return applicationName; + } + + public void setApplicationName(String applicationName) + { + this.applicationName = applicationName; + } + + public String getApplicationWebContext() + { + return applicationWebContext; + } + + public void setApplicationWebContext(String applicationWebContext) + { + this.applicationWebContext = applicationWebContext; + } + + public String getApplicationType() + { + return applicationType; + } + + public void setApplicationType(String applicationType) + { + this.applicationType = applicationType; + } +} diff --git a/posterita/src/main/org/posterita/beans/AttachmentBean.java b/posterita/src/main/org/posterita/beans/AttachmentBean.java new file mode 100644 index 0000000000..e888a7b19e --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttachmentBean.java @@ -0,0 +1,35 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 26-Aug-2005 by alok + * + */ +package org.posterita.beans; + + +public class AttachmentBean extends UDIBean +{ + public String getLogoName() + { + return logoName; + } + public void setLogoName(String logoName) + { + this.logoName = logoName; + } +} diff --git a/posterita/src/main/org/posterita/beans/AttributeBean.java b/posterita/src/main/org/posterita/beans/AttributeBean.java new file mode 100644 index 0000000000..4d361bec50 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttributeBean.java @@ -0,0 +1,200 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jun 15, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.ArrayList; + + +public class AttributeBean extends UDIBean +{ + + public BigDecimal getPrice() + { + return price; + } + + public void setPrice(BigDecimal price) + { + this.price = price; + } + + public String getBarCode() + { + return barCode; + } + + public void setBarCode(String barCode) + { + this.barCode = barCode; + } + + public Integer[] getProductIds() + { + return productIds; + } + + public void setProductIds(Integer[] productIds) + { + this.productIds = productIds; + } + + public String getQtyNumberFilter() + { + return qtyNumberFilter; + } + + public void setQtyNumberFilter(String qtyNumberFilter) + { + this.qtyNumberFilter = qtyNumberFilter; + } + + public String getQtyFilter() + { + return qtyFilter; + } + + public void setQtyFilter(String qtyFilter) + { + this.qtyFilter = qtyFilter; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public Integer getProductId() + { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + + public String getProductName() + { + return productName; + } + + public void setProductName(String productName) + { + this.productName = productName; + } + + public Integer getQuantity() + { + return quantity; + } + + public void setQuantity(Integer quantity) + { + this.quantity = quantity; + } + + public Integer getAttributeValueId() + { + return attributeValueId; + } + + public void setAttributeValueId(Integer attributeValueId) + { + this.attributeValueId = attributeValueId; + } + + public String getAttributeValue() + { + return attributeValue; + } + + public void setAttributeValue(String attributeValue) + { + this.attributeValue = attributeValue; + } + + public String getAttributeName() + { + return attributeName; + } + + public void setAttributeName(String attributeName) + { + this.attributeName = attributeName; + } + + public Integer getAttributeId() + { + return attributeId; + } + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + public Integer getAttributeSetId() + { + return attributeSetId; + } + + public void setAttributeSetId(Integer attributeSetId) + { + this.attributeSetId = attributeSetId; + } + + public String getAttributeSetName() + { + return attributeSetName; + } + + public void setAttributeSetName(String attributeSetName) + { + this.attributeSetName = attributeSetName; + } + + public ArrayList getAttributeValueList() + { + return attributeValueList; + } + + public void setAttributeValueList(ArrayList attributeValueList) + { + this.attributeValueList = attributeValueList; + } + + public String[] getAttributeValueIds() + { + return attributeValueIds; + } + + public void setAttributeValueIds(String[] attributeValueIds) + { + this.attributeValueIds = attributeValueIds; + } + +} diff --git a/posterita/src/main/org/posterita/beans/AttributeInstanceBean.java b/posterita/src/main/org/posterita/beans/AttributeInstanceBean.java new file mode 100644 index 0000000000..5e435055a3 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttributeInstanceBean.java @@ -0,0 +1,93 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +public class AttributeInstanceBean +{ + private int attributeSetInstanceId; + private int attributeId; + private String attributeValue; + private String attribute; + private int attributeValueId; + + + public int getAttributeId() + { + + return attributeId; + } + + public void setAttributeId(int attributeId) + { + this.attributeId = attributeId; + } + + public int getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(int attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public String getAttribute() + { + return attribute; + } + + public void setAttribute(String attribute) + { + this.attribute = attribute; + } + + public String getAttributeValue() + { + return attributeValue; + } + public void setAttributeValue(String attributeValue) + { + this.attributeValue = attributeValue; + } + public int getAttributeValueId() + { + return attributeValueId; + } + + public void setAttributeValueId(int attributeValueId) + { + this.attributeValueId = attributeValueId; + } + + public boolean equals(Object o) + { + if (o == null) + return false; + + AttributeInstanceBean bean = (AttributeInstanceBean) o; + + if (bean.getAttributeSetInstanceId() == this.getAttributeSetInstanceId()) + return true; + + return false; + } +} diff --git a/posterita/src/main/org/posterita/beans/AttributeValueDetailBean.java b/posterita/src/main/org/posterita/beans/AttributeValueDetailBean.java new file mode 100644 index 0000000000..b3286e7663 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttributeValueDetailBean.java @@ -0,0 +1,95 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Feb 3, 2006 by praveen + * + */ +package org.posterita.beans; + +public class AttributeValueDetailBean extends UDIBean +{ + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public Integer getId() + { + return id; + } + + public void setId(Integer id) + { + this.id = id; + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public Boolean getIsActive() + { + return isActive; + } + + public void setActive(Boolean isActive) + { + this.isActive = isActive; + } + + public Integer getAttributeId() + { + return attributeId; + } + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + public Integer getAttributeValueId() + { + return attributeValueId; + } + + public void setAttributeValueId(Integer attributeValueId) + { + this.attributeValueId = attributeValueId; + } + + public String getNewName() + { + return newName; + } + + public void setNewName(String newName) + { + this.newName = newName; + } +} diff --git a/posterita/src/main/org/posterita/beans/AttributeValuesBean.java b/posterita/src/main/org/posterita/beans/AttributeValuesBean.java new file mode 100644 index 0000000000..82293a4373 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttributeValuesBean.java @@ -0,0 +1,155 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +import java.util.ArrayList; + +import org.compiere.util.KeyNamePair; + +public class AttributeValuesBean extends UDIBean +{ + private ArrayList brand = new ArrayList(); + private ArrayList model = new ArrayList(); + private ArrayList design = new ArrayList(); + private ArrayList colour = new ArrayList(); + private ArrayList size = new ArrayList(); + private ArrayList trx = new ArrayList(); + private ArrayList years = new ArrayList(); + private ArrayList ETAList = new ArrayList(); + private ArrayList make = new ArrayList(); + private ArrayList modelGroup = new ArrayList(); + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + public Integer getAttributeSetId() + { + return attributeSetId; + } + + public ArrayList getAttributeSet() + { + return attributeSet; + } + public void setAttributeSet(ArrayList attributeSet) + { + this.attributeSet = attributeSet; + } + private ArrayList attributeSet; + + public ArrayList getColour() + { + return colour; + } + + public void setColour(ArrayList colour) + { + this.colour = colour; + } + + public ArrayList getModel() + { + return model; + } + + public void setModel(ArrayList model) + { + this.model = model; + } + + public ArrayList getTrx() + { + return trx; + } + + public void setTrx(ArrayList trx) + { + this.trx = trx; + } + + public ArrayList getYears() + { + return years; + } + + public void setYears(ArrayList years) + { + this.years = years; + } + + public ArrayList getMake() + { + return make; + } + + public void setMake(ArrayList make) + { + this.make = make; + } + + public ArrayList getModelGroup() + { + return modelGroup; + } + + public void setModelGroup(ArrayList modelGroup) + { + this.modelGroup = modelGroup; + } + + public ArrayList getETAList() + { + return ETAList; + } + + public void setETAList(ArrayList list) + { + ETAList = list; + } + + public ArrayList getBrand() { + return brand; + } + + public void setBrand(ArrayList brand) { + this.brand = brand; + } + + public ArrayList getDesign() { + return design; + } + + public void setDesign(ArrayList design) { + this.design = design; + } + + public ArrayList getSize() { + return size; + } + + public void setSize(ArrayList size) { + this.size = size; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/AttributeValuesPair.java b/posterita/src/main/org/posterita/beans/AttributeValuesPair.java new file mode 100644 index 0000000000..5af78d5c87 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AttributeValuesPair.java @@ -0,0 +1,139 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import org.compiere.util.KeyNamePair; + + +public class AttributeValuesPair +{ + private KeyNamePair makeAttributeValue; + private KeyNamePair modelAttributeValue; + private KeyNamePair modelGroupAttributeValue; + private KeyNamePair colourAttributeValue; + private KeyNamePair transmissionAttributeValue; + private KeyNamePair yearAttributeValue; + private KeyNamePair styleAttributeValue; + private KeyNamePair sizeAttributeValue; + private KeyNamePair designAttributeValue; + private KeyNamePair brandAttributeValue; + + + public KeyNamePair getBrandAttributeValue() + { + return brandAttributeValue; + } + + public void setBrandAttributeValue(KeyNamePair brandAttributeValue) + { + this.brandAttributeValue = brandAttributeValue; + } + + public KeyNamePair getColourAttributeValue() + { + return colourAttributeValue; + } + + public void setColourAttributeValue(KeyNamePair colourAttributeValue) + { + this.colourAttributeValue = colourAttributeValue; + } + + public KeyNamePair getModelAttributeValue() + { + return modelAttributeValue; + } + + public void setModelAttributeValue(KeyNamePair modelAttributeValue) + { + this.modelAttributeValue = modelAttributeValue; + } + + + public KeyNamePair getTransmissionAttributeValue() + { + return transmissionAttributeValue; + } + + public void setTransmissionAttributeValue(KeyNamePair transmissionAttributeValue) + { + this.transmissionAttributeValue = transmissionAttributeValue; + } + + public KeyNamePair getYearAttributeValue() + { + return yearAttributeValue; + } + + public void setYearAttributeValue(KeyNamePair yearAttributeValue) + { + this.yearAttributeValue = yearAttributeValue; + } + + public KeyNamePair getMakeAttributeValue() + { + return makeAttributeValue; + } + + public void setMakeAttributeValue(KeyNamePair makeAttributeValue) + { + this.makeAttributeValue = makeAttributeValue; + } + + public KeyNamePair getModelGroupAttributeValue() + { + return modelGroupAttributeValue; + } + + public void setModelGroupAttributeValue(KeyNamePair modelGroupAttributeValue) + { + this.modelGroupAttributeValue = modelGroupAttributeValue; + } + + public KeyNamePair getDesignAttributeValue() + { + return designAttributeValue; + } + + public void setDesignAttributeValue(KeyNamePair designAttributeValue) + { + this.designAttributeValue = designAttributeValue; + } + + public KeyNamePair getSizeAttributeValue() + { + return sizeAttributeValue; + } + + public void setSizeAttributeValue(KeyNamePair sizeAttributeValue) + { + this.sizeAttributeValue = sizeAttributeValue; + } + + public KeyNamePair getStyleAttributeValue() + { + return styleAttributeValue; + } + + public void setStyleAttributeValue(KeyNamePair styleAttributeValue) + { + this.styleAttributeValue = styleAttributeValue; + } +} diff --git a/posterita/src/main/org/posterita/beans/AvailableProductSizeBean.java b/posterita/src/main/org/posterita/beans/AvailableProductSizeBean.java new file mode 100644 index 0000000000..812291f8bd --- /dev/null +++ b/posterita/src/main/org/posterita/beans/AvailableProductSizeBean.java @@ -0,0 +1,69 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + **/ +package org.posterita.beans; + + +public class AvailableProductSizeBean extends UDIBean +{ + private Boolean existsInSmall = Boolean.valueOf(false); + private Boolean existsInMedium = Boolean.valueOf(false); + private Boolean existsInLarge = Boolean.valueOf(false); + private Boolean existsInXLarge = Boolean.valueOf(false); + + public Boolean getExistsInLarge() + { + return existsInLarge; + } + + public void setExistsInLarge(Boolean existsInLarge) + { + this.existsInLarge = existsInLarge; + } + + public Boolean getExistsInMedium() + { + return existsInMedium; + } + + public void setExistsInMedium(Boolean existsInMedium) + { + this.existsInMedium = existsInMedium; + } + + public Boolean getExistsInSmall() + { + return existsInSmall; + } + + public void setExistsInSmall(Boolean existsInSmall) + { + this.existsInSmall = existsInSmall; + } + + public Boolean getExistsInXLarge() + { + return existsInXLarge; + } + + public void setExistsInXLarge(Boolean existsInXLarge) + { + this.existsInXLarge = existsInXLarge; + } +} diff --git a/posterita/src/main/org/posterita/beans/BPartnerBean.java b/posterita/src/main/org/posterita/beans/BPartnerBean.java new file mode 100644 index 0000000000..268e380bd7 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BPartnerBean.java @@ -0,0 +1,181 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 25-Jul-2005 by alok + * + */ +package org.posterita.beans; + + +public class BPartnerBean extends UDIBean +{ + + public String getCountryName() + { + return countryName; + } + + public void setCountryName(String countryName) + { + this.countryName = countryName; + } + + public Integer getCountryId() + { + return countryId; + } + + public void setCountryId(Integer countryId) + { + this.countryId = countryId; + } + + public String getName2() + { + return name2; + } + public void setName2(String name2) + { + this.name2 = name2; + } + public Integer getBpartnerId() + { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public String getPartnerName() + { + return partnerName; + } + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + public Boolean getIsCustomer() + { + return isCustomer; + } + public void setIsCustomer(Boolean isCustomer) + { + this.isCustomer = isCustomer; + } + public Boolean getIsEmployee() + { + return isEmployee; + } + public void setIsEmployee(Boolean isEmployee) + { + this.isEmployee = isEmployee; + } + public Boolean getIsSalesRep() + { + return isSalesRep; + } + public void setIsSalesRep(Boolean isSalesRep) + { + this.isSalesRep = isSalesRep; + } + public Boolean getIsVendor() + { + return isVendor; + } + public void setIsVendor(Boolean isVendor) + { + this.isVendor = isVendor; + } + public String getPhone() + { + return phone; + } + public void setPhone(String phone) + { + this.phone = phone; + } + + public String getAddress1() + { + return address1; + } + public void setAddress1(String address1) + { + this.address1 = address1; + } + public String getCity() + { + return city; + } + public void setCity(String city) + { + this.city = city; + } + + public String getPostalAddress() + { + return postalAddress; + } + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + + public Integer getRegionId() + { + return regionId; + } + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + public Boolean getIsActive() + { + return isActive; + } + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + public Integer getLocationId() + { + return locationId; + } + public void setLocationId(Integer locationId) + { + this.locationId = locationId; + } + public String getAddress2() + { + return address2; + } + public void setAddress2(String address2) + { + this.address2 = address2; + } + public String getFax() + { + return fax; + } + public void setFax(String fax) + { + this.fax = fax; + } +} diff --git a/posterita/src/main/org/posterita/beans/BPartnerInfoBean.java b/posterita/src/main/org/posterita/beans/BPartnerInfoBean.java new file mode 100644 index 0000000000..ff2f878034 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BPartnerInfoBean.java @@ -0,0 +1,264 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jul 26, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class BPartnerInfoBean extends UDIBean +{ + + protected String soCreditStatus; + protected String forward; + + public String getForward() + { + return forward; + } + + public void setForward(String forward) + { + this.forward = forward; + } + + public String getBpfirstSale() + { + return bpfirstSale; + } + + public void setBpfirstSale(String bpfirstSale) + { + this.bpfirstSale = bpfirstSale; + } + + public String getSoCreditStatus() + { + return soCreditStatus; + } + + public void setSoCreditStatus(String soCreditStatus) + { + this.soCreditStatus = soCreditStatus; + } + + public Integer getDunningId() + { + return dunningId; + } + + public void setDunningId(Integer dunningId) + { + this.dunningId = dunningId; + } + + public Integer[] getBpartnerIds() + { + return bpartnerIds; + } + + public void setBpartnerIds(Integer[] bpartnerIds) + { + this.bpartnerIds = bpartnerIds; + } + + public BigDecimal getCreditLimit() + { + return creditLimit; + } + + public void setCreditLimit(BigDecimal creditLimit) + { + this.creditLimit = creditLimit; + } + + public BigDecimal getCreditUsed() + { + return creditUsed; + } + + public void setCreditUsed(BigDecimal creditUsed) + { + this.creditUsed = creditUsed; + } + + public BigDecimal getOpenAmt() + { + return openAmt; + } + + public void setOpenAmt(BigDecimal openAmt) + { + this.openAmt = openAmt; + } + + public BigDecimal getRevenue() + { + return revenue; + } + + public void setRevenue(BigDecimal revenue) + { + this.revenue = revenue; + } + + public BigDecimal getAmount() + { + return amount; + } + + public void setAmount(BigDecimal amount) + { + this.amount = amount; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public String getProductName() + { + return productName; + } + + public void setProductName(String productName) + { + this.productName = productName; + } + + public String getAddress1() + { + return address1; + } + + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getAddress2() + { + return address2; + } + + public void setAddress2(String address2) + { + this.address2 = address2; + } + + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public Boolean getIsCustomer() + { + return isCustomer; + } + + public void setIsCustomer(Boolean isCustomer) + { + this.isCustomer = isCustomer; + } + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public String getEmail() + { + return email; + } + + public void setEmail(String email) + { + this.email = email; + } + + public String getFax() + { + return fax; + } + + public void setFax(String fax) + { + this.fax = fax; + } + + public String getPartnerName() + { + return partnerName; + } + + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + + public String getPhone2() + { + return phone2; + } + + public void setPhone2(String phone2) + { + this.phone2 = phone2; + } + + public String getPhone() + { + return phone; + } + + public void setPhone(String phone) + { + this.phone = phone; + } + + public Integer getQuantity() + { + return quantity; + } + + public void setQuantity(Integer quantity) + { + this.quantity = quantity; + } + +} diff --git a/posterita/src/main/org/posterita/beans/BankAccountBean.java b/posterita/src/main/org/posterita/beans/BankAccountBean.java new file mode 100644 index 0000000000..058d61ec9f --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BankAccountBean.java @@ -0,0 +1,75 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jul 26, 2005 by praveen + * + */ +package org.posterita.beans; + +public class BankAccountBean extends UDIBean +{ + + public String getAccountNo() + { + return accountNo; + } + + public void setAccountNo(String accountNo) + { + this.accountNo = accountNo; + } + + public String getAccountType() + { + return accountType; + } + + public void setAccountType(String accountType) + { + this.accountType = accountType; + } + + public Integer getBankId() + { + return bankId; + } + + public void setBankId(Integer bankId) + { + this.bankId = bankId; + } + + public Double getCurrentBalance() + { + return currentBalance; + } + + public void setCurrentBalance(Double currentBalance) + { + this.currentBalance = currentBalance; + } + + public String getBankName() + { + return bankName; + } + public void setBankName(String bankName) + { + this.bankName = bankName; + } +} diff --git a/posterita/src/main/org/posterita/beans/BankBean.java b/posterita/src/main/org/posterita/beans/BankBean.java new file mode 100644 index 0000000000..127791ac04 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BankBean.java @@ -0,0 +1,84 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 26-Jul-2005 by alok + * + */ +package org.posterita.beans; + + +public class BankBean extends UDIBean +{ + public String getAddress1() + { + return address1; + } + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public Integer getBankId() + { + return bankId; + } + public void setBankId(Integer bankId) + { + this.bankId = bankId; + } + public String getBankName() + { + return bankName; + } + public void setBankName(String bankName) + { + this.bankName = bankName; + } + public String getCity() + { + return city; + } + public void setCity(String city) + { + this.city = city; + } + public String getPostalAddress() + { + return postalAddress; + } + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + public String getRoutingNumber() + { + return routingNumber; + } + public void setRoutingNumber(String routingNumber) + { + this.routingNumber = routingNumber; + } + public Integer getLocationId() + { + return locationId; + } + public void setLocationId(Integer locationId) + { + this.locationId = locationId; + } +} diff --git a/posterita/src/main/org/posterita/beans/BankStatementLineBean.java b/posterita/src/main/org/posterita/beans/BankStatementLineBean.java new file mode 100644 index 0000000000..11b0769599 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BankStatementLineBean.java @@ -0,0 +1,114 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class BankStatementLineBean +{ + private Timestamp dateTrx; + private String documentNo; + private int paymentId; + private int currencyId; + private String isoCode; + private BigDecimal payAmt; + private BigDecimal currencyConvert; + private String bpName; + + + public String getBpName() + { + return bpName; + } + + public void setBpName(String bpName) + { + this.bpName = bpName; + } + + public BigDecimal getCurrencyConvert() + { + return currencyConvert; + } + + public void setCurrencyConvert(BigDecimal currencyConvert) + { + this.currencyConvert = currencyConvert; + } + + public int getCurrencyId() + { + return currencyId; + } + + public void setCurrencyId(int currencyId) + { + this.currencyId = currencyId; + } + public Timestamp getDateTrx() + { + return dateTrx; + } + + public void setDateTrx(Timestamp dateTrx) + { + this.dateTrx = dateTrx; + } + + public String getDocumentNo() + { + return documentNo; + } + + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + + public String getIsoCode() + { + return isoCode; + } + + + public void setIsoCode(String isoCode) + { + this.isoCode = isoCode; + } + public BigDecimal getPayAmt() { + return payAmt; + } + + public void setPayAmt(BigDecimal payAmt) + { + this.payAmt = payAmt; + } + + public int getPaymentId() + { + return paymentId; + } + + public void setPaymentId(int paymentId) + { + this.paymentId = paymentId; + } +} diff --git a/posterita/src/main/org/posterita/beans/BlackListedBean.java b/posterita/src/main/org/posterita/beans/BlackListedBean.java new file mode 100644 index 0000000000..71a2b0c169 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/BlackListedBean.java @@ -0,0 +1,53 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + **/ +package org.posterita.beans; + +public class BlackListedBean extends UDIBean +{ + + public String getBlackListedBankName() + { + return blackListedBankName; + } + public void setBlackListedBankName(String blackListedBankName) + { + this.blackListedBankName = blackListedBankName; + } + public String getBlackListedChequeNo() + { + return blackListedChequeNo; + } + public void setBlackListedChequeNo(String blackListedChequeNo) + { + this.blackListedChequeNo = blackListedChequeNo; + } + public Integer getBlackListedId() + { + return blackListedId; + } + public void setBlackListedId(Integer blackListedId) + { + this.blackListedId = blackListedId; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/CashBean.java b/posterita/src/main/org/posterita/beans/CashBean.java new file mode 100644 index 0000000000..f1cd43f794 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CashBean.java @@ -0,0 +1,141 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 3, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class CashBean extends UDIBean +{ + + public Integer getCashId() + { + return cashId; + } + public void setCashId(Integer cashId) + { + this.cashId = cashId; + } + public Timestamp getDateAcct() + { + return dateAcct; + } + public void setDateAcct(Timestamp dateAcct) + { + this.dateAcct = dateAcct; + } + public Timestamp getDateCreated() + { + return dateCreated; + } + public void setDateCreated(Timestamp dateCreated) + { + this.dateCreated = dateCreated; + } + public Timestamp getDateUpdated() + { + return dateUpdated; + } + public void setDateUpdated(Timestamp dateUpdated) + { + this.dateUpdated = dateUpdated; + } + public String getName() + { + return name; + } + public void setName(String name) + { + this.name = name; + } + public String getStatmentDate() + { + return statmentDate; + } + public void setStatmentDate(String statmentDate) + { + this.statmentDate = statmentDate; + } + public String getCashJournalDisc() + { + return cashJournalDisc; + } + public void setCashJournalDisc(String cashJournalDisc) + { + this.cashJournalDisc = cashJournalDisc; + } + public Integer getCashJournalId() + { + return cashJournalId; + } + public void setCashJournalId(Integer cashJournalId) + { + this.cashJournalId = cashJournalId; + } + public String getCashJournalName() + { + return cashJournalName; + } + public void setCashJournalName(String cashJournalName) + { + this.cashJournalName = cashJournalName; + } + public BigDecimal getBeginingBalance() + { + return beginingBalance; + } + + public void setBeginingBalance(BigDecimal beginingBalance) + { + this.beginingBalance = beginingBalance; + } + + public BigDecimal getEndingBalance() + { + return endingBalance; + } + + public void setEndingBalance(BigDecimal endingBalance) + { + this.endingBalance = endingBalance; + } + public String getDocStatus() + { + return docStatus; + } + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + public String toString() + { + StringBuffer buffer = new StringBuffer(); + buffer.append("\n The Begining Balance = "+getBeginingBalance()); + buffer.append("\n The Ending Balance = "+getEndingBalance()); + + return buffer.toString(); + } +} + diff --git a/posterita/src/main/org/posterita/beans/CashBookDetailBean.java b/posterita/src/main/org/posterita/beans/CashBookDetailBean.java new file mode 100644 index 0000000000..f3296abc3c --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CashBookDetailBean.java @@ -0,0 +1,220 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 3, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class CashBookDetailBean extends UDIBean +{ + + public String getTransferType() + { + return transferType; + } + + public void setTransferType(String transferType) + { + this.transferType = transferType; + } + + public String getDifferenceAmt() + { + return differenceAmt; + } + + public void setDifferenceAmt(String differenceAmt) + { + this.differenceAmt = differenceAmt; + } + + public String getAdjustmentAmount() + { + return adjustmentAmount; + } + + public void setAdjustmentAmount(String adjustmentAmount) + { + this.adjustmentAmount = adjustmentAmount; + } + + public Boolean getTransferAllAmount() + { + return transferAllAmount; + } + public void setTransferAllAmount(Boolean transferAllAmount) + { + this.transferAllAmount = transferAllAmount; + } + public String getBeginingBalanceAsString() + { + return beginingBalanceAsString; + } + public void setBeginingBalanceAsString(String beginingBalanceAsString) + { + this.beginingBalanceAsString = beginingBalanceAsString; + } + public String getEndingBalanceAsString() + { + return endingBalanceAsString; + } + public void setEndingBalanceAsString(String endingBalanceAsString) + { + this.endingBalanceAsString = endingBalanceAsString; + } + public String getTransferAmount() + { + return transferAmount; + } + public void setTransferAmount(String transferAmount) + { + this.transferAmount = transferAmount; + } + public Integer getCashJournalId() + { + return cashJournalId; + } + public void setCashJournalId(Integer cashJournalId) + { + this.cashJournalId = cashJournalId; + } + public Integer getCashBookId() + { + return cashBookId; + } + + public void setCashBookId(Integer cashBookId) + { + this.cashBookId = cashBookId; + } + public String getCashJournalName() + { + return cashJournalName; + } + public void setCashJournalName(String cashJournalName) + { + this.cashJournalName = cashJournalName; + } + public String getCashJournalDisc() + { + return cashJournalDisc; + } + public void setCashJournalDisc(String cashJournalDisc) + { + this.cashJournalDisc = cashJournalDisc; + } + public void setDateAcct(Timestamp dateAcct) + { + this.dateAcct = dateAcct; + } + public BigDecimal getBeginingBalance() + { + return beginingBalance; + } + + public void setBeginingBalance(BigDecimal beginingBalance) + { + this.beginingBalance = beginingBalance; + } + public BigDecimal getEndingBalance() + { + return endingBalance; + } + + public void setEndingBalance(BigDecimal endingBalance) + { + this.endingBalance = endingBalance; + } + public BigDecimal getStatementDifference() + { + return statementDifference; + } + + public void setStatementDifference(BigDecimal statementDifference) + { + this.statementDifference = statementDifference; + } + public String getDocStatus() { + return docStatus; + } + public void setDocStatus(String docStatus) { + this.docStatus = docStatus; + } + public String getCashBookName() + { + return cashBookName; + } + + public void setCashBookName(String cashBookName) + { + this.cashBookName = cashBookName; + } + + public BigDecimal getCardTotal() + { + return cardTotal; + } + + public void setCardTotal(BigDecimal cardTotal) + { + this.cardTotal=cardTotal; + } + + public BigDecimal getChequeTotal() + { + return chequeTotal; + } + + public void setChequeTotal(BigDecimal chequeTotal) + { + this.chequeTotal=chequeTotal; + } + + public BigDecimal getCardDifference() + { + return cardDifference; + } + public void setCardDifference(BigDecimal cardDifference) + { + this.cardDifference = cardDifference; + } + public BigDecimal getChequeDifference() + { + return chequeDifference; + } + public void setChequeDifference(BigDecimal chequeDifference) + { + this.chequeDifference = chequeDifference; + } + public String toString() + { + StringBuffer buffer = new StringBuffer(); + buffer.append("\n The Begining Balance = "+getBeginingBalance()); + buffer.append("\n The Ending Balance = "+getEndingBalance()); + + return buffer.toString(); + + } +} diff --git a/posterita/src/main/org/posterita/beans/CashLineBean.java b/posterita/src/main/org/posterita/beans/CashLineBean.java new file mode 100644 index 0000000000..31b382bed9 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CashLineBean.java @@ -0,0 +1,114 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* Created on Sep 11, 2006 by ashley +* +*/ + +/** + @author ashley + */ + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + +public class CashLineBean extends UDIBean +{ + public Integer getCashId() + { + return cashId; + } + + public void setCashId(Integer cashId) + { + this.cashId = cashId; + } + + public BigDecimal getAmount() + { + return amount; + } + + public void setAmount(BigDecimal amount) + { + this.amount = amount; + } + + public Integer getCashLineId() + { + return cashLineId; + } + + public void setCashLineId(Integer cashLineId) + { + this.cashLineId = cashLineId; + } + + public String getCashType() + { + return cashType; + } + + public void setCashType(String cashType) + { + this.cashType = cashType; + } + + public String getCurrency() + { + return currency; + } + + public void setCurrency(String currency) + { + this.currency = currency; + } + + public Timestamp getDateCreated() + { + return dateCreated; + } + + public void setDateCreated(Timestamp dateCreated) + { + this.dateCreated = dateCreated; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + + public String getCashTypeName() + { + return cashTypeName; + } + + public void setCashTypeName(String cashTypeName) + { + this.cashTypeName = cashTypeName; + } +} diff --git a/posterita/src/main/org/posterita/beans/CashSummaryBean.java b/posterita/src/main/org/posterita/beans/CashSummaryBean.java new file mode 100644 index 0000000000..2d7be970f8 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CashSummaryBean.java @@ -0,0 +1,116 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* Created on Sep 11, 2006 by ashley +* +*/ + +/** + @author ashley + */ + +package org.posterita.beans; + +import java.math.BigDecimal; + +import org.compiere.util.Env; + +public class CashSummaryBean extends UDIBean +{ + public CashSummaryBean() + { + this.setBankAcctTransferAmount(Env.ZERO); + this.setChargeAmount(Env.ZERO); + this.setDifferenceAmount(Env.ZERO); + this.setGeneralExpenseAmount(Env.ZERO); + this.setGeneralReceiptsAmount(Env.ZERO); + this.setInvoiceAmount(Env.ZERO); + } + + public Integer getCashId() + { + return cashId; + } + + public void setCashId(Integer cashId) + { + this.cashId = cashId; + } + + public BigDecimal getBankAcctTransferAmount() + { + return bankAcctTransferAmount; + } + + public void setBankAcctTransferAmount(BigDecimal bankAcctTransferAmount) + { + this.bankAcctTransferAmount = bankAcctTransferAmount; + } + + public BigDecimal getChargeAmount() + { + return chargeAmount; + } + + public void setChargeAmount(BigDecimal chargeAmount) + { + this.chargeAmount = chargeAmount; + } + + public BigDecimal getDifferenceAmount() + { + return differenceAmount; + } + + public void setDifferenceAmount(BigDecimal differenceAmount) + { + this.differenceAmount = differenceAmount; + } + + public BigDecimal getGeneralExpenseAmount() + { + return generalExpenseAmount; + } + + public void setGeneralExpenseAmount(BigDecimal generalExpenseAmount) + { + this.generalExpenseAmount = generalExpenseAmount; + } + + public BigDecimal getGeneralReceiptsAmount() + { + return generalReceiptsAmount; + } + + public void setGeneralReceiptsAmount(BigDecimal generalReceiptsAmount) + { + this.generalReceiptsAmount = generalReceiptsAmount; + } + + public BigDecimal getInvoiceAmount() + { + return invoiceAmount; + } + + public void setInvoiceAmount(BigDecimal invoiceAmount) + { + this.invoiceAmount = invoiceAmount; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ChangeDocumentStatusBean.java b/posterita/src/main/org/posterita/beans/ChangeDocumentStatusBean.java new file mode 100644 index 0000000000..1d049fbf32 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ChangeDocumentStatusBean.java @@ -0,0 +1,83 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +public class ChangeDocumentStatusBean extends DocumentBean +{ + + public String getTrackingNo() + { + return trackingNo; + } + public void setTrackingNo(String trackingNo) + { + this.trackingNo = trackingNo; + } + public Integer getAllocationId() + { + return allocationId; + } + public void setAllocationId(Integer allocationId) + { + this.allocationId = allocationId; + } + public String getPoReference() + { + return poReference; + } + + public void setPoReference(String poReference) + { + this.poReference = poReference; + } + + public void setAgreement(Boolean agreement) + { + this.agreement = agreement; + } + + public Boolean getAgreement() + { + return agreement; + } + + public String getSubmit() + { + return submit; + } + + public void setSubmit(String submit) + { + this.submit = submit; + } + + public Integer getTradeInOrderlineId() + { + return tradeInOrderlineId; + } + + public void setTradeInOrderlineId(Integer tradeInOrderlineId) + { + this.tradeInOrderlineId = tradeInOrderlineId; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/ChangePasswordBean.java b/posterita/src/main/org/posterita/beans/ChangePasswordBean.java new file mode 100644 index 0000000000..747ae4b146 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ChangePasswordBean.java @@ -0,0 +1,64 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 29, 2005 by din + */ + +package org.posterita.beans; + +public class ChangePasswordBean extends UDIBean +{ + + public String getPassword() + { + return password; + } + public void setPassword(String password) + { + this.password = password; + } + + public String getNewPassword() + { + return newPassword; + } + public void setNewPassword(String newPassword) + { + this.newPassword = newPassword; + } + + public String getConfirmPassword() + { + return confirmPassword; + } + + public void setConfirmPassword(String confirmPassword) + { + this.confirmPassword = confirmPassword; + } + + public String getOldPassword() + { + return oldPassword; + } + public void setOldPassword(String oldPassword) + { + this.oldPassword = oldPassword; + } + +} diff --git a/posterita/src/main/org/posterita/beans/CommandBean.java b/posterita/src/main/org/posterita/beans/CommandBean.java new file mode 100644 index 0000000000..c2c6826385 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CommandBean.java @@ -0,0 +1,53 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 26-Jul-2005 by alok + * + */ +package org.posterita.beans; + + +public class CommandBean extends UDIBean +{ + + private String[] simpleCommand; + private String[] complexCommand; + + + public void setSimpleCommand(String[] simpleCommand) + { + this.simpleCommand = simpleCommand; + } + + public String[] getSimpleCommand() + { + return simpleCommand; + } + + + public void setComplexCommand(String[] complexCommand) + { + this.complexCommand = complexCommand; + } + + public String[] getComplexCommand() + { + return complexCommand; + } + +} diff --git a/posterita/src/main/org/posterita/beans/CommissionBean.java b/posterita/src/main/org/posterita/beans/CommissionBean.java new file mode 100644 index 0000000000..ad095430f8 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CommissionBean.java @@ -0,0 +1,160 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 6, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + + +public class CommissionBean extends UDIBean +{ + + public BigDecimal getSubtractAmt() { + return subtractAmt; + } + public void setSubtractAmt(BigDecimal subtractAmt) { + this.subtractAmt = subtractAmt; + } + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + public Integer getOrderId() { + return orderId; + } + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + public String getPeriodAndCurrencyDesc() { + return periodAndCurrencyDesc; + } + public void setPeriodAndCurrencyDesc(String periodAndCurrencyDesc) { + this.periodAndCurrencyDesc = periodAndCurrencyDesc; + } + public BigDecimal getAmtMultiplier() { + return amtMultiplier; + } + public void setAmtMultiplier(BigDecimal amtMultiplier) { + this.amtMultiplier = amtMultiplier; + } + public String getDocBasisType() { + return docBasisType; + } + public void setDocBasisType(String docBasisType) { + this.docBasisType = docBasisType; + } + public String getFrequencyType() { + return frequencyType; + } + public void setFrequencyType(String frequencyType) { + this.frequencyType = frequencyType; + } + public BigDecimal getActualAmt() { + return actualAmt; + } + public void setActualAmt(BigDecimal actualAmt) { + this.actualAmt = actualAmt; + } + public Integer getActualQty() { + return actualQty; + } + public void setActualQty(Integer actualQty) { + this.actualQty = actualQty; + } + public BigDecimal getCommissionAmt() { + return commissionAmt; + } + public void setCommissionAmt(BigDecimal commissionAmt) { + this.commissionAmt = commissionAmt; + } + public Integer getCommissionAmtId() { + return commissionAmtId; + } + public void setCommissionAmtId(Integer commissionAmtId) { + this.commissionAmtId = commissionAmtId; + } + public Integer getCommissionDetailId() { + return commissionDetailId; + } + public void setCommissionDetailId(Integer commissionDetailId) { + this.commissionDetailId = commissionDetailId; + } + public Integer getCommissionLineId() { + return commissionLineId; + } + public void setCommissionLineId(Integer commissionLineId) { + this.commissionLineId = commissionLineId; + } + public String getCommissionLineName() { + return commissionLineName; + } + public void setCommissionLineName(String commissionLineName) { + this.commissionLineName = commissionLineName; + } + public Integer getCommissionRunId() { + return commissionRunId; + } + public void setCommissionRunId(Integer commissionRunId) { + this.commissionRunId = commissionRunId; + } + public BigDecimal getConvertedAmt() { + return convertedAmt; + } + public void setConvertedAmt(BigDecimal convertedAmt) { + this.convertedAmt = convertedAmt; + } + public Integer getCurrencyId() { + return currencyId; + } + public void setCurrencyId(Integer currencyId) { + this.currencyId = currencyId; + } + public String getInfo() { + return info; + } + public void setInfo(String info) { + this.info = info; + } + public Integer getInvoiceLineId() { + return invoiceLineId; + } + public void setInvoiceLineId(Integer invoiceLineId) { + this.invoiceLineId = invoiceLineId; + } + public Integer getOrderLineId() { + return orderLineId; + } + public void setOrderLineId(Integer orderLineId) { + this.orderLineId = orderLineId; + } + public String getReference() { + return reference; + } + public void setReference(String reference) { + this.reference = reference; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/CreditCardBean.java b/posterita/src/main/org/posterita/beans/CreditCardBean.java new file mode 100644 index 0000000000..7a4a2fe9a3 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CreditCardBean.java @@ -0,0 +1,108 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ +package org.posterita.beans; + +public class CreditCardBean extends UDIBean +{ + + + public String getPaymentMethod() + { + return paymentMethod; + } + public void setPaymentMethod(String paymentMethod) + { + this.paymentMethod = paymentMethod; + } + public String getCreditCardNumberEncrypted() + { + return creditCardNumberEncrypted; + } + public void setCreditCardNumberEncrypted(String creditCardNumberEncrypted) + { + this.creditCardNumberEncrypted = creditCardNumberEncrypted; + } + public String getCreditCardExpMonthName() + { + return creditCardExpMonthName; + } + public void setCreditCardExpMonthName(String creditCardExpMonthName) + { + this.creditCardExpMonthName = creditCardExpMonthName; + } + public String getAccountName() + { + return accountName; + } + public void setAccountName(String accountName) + { + this.accountName = accountName; + } + public String getCreditCardNumber() + { + return creditCardNumber; + } + + public void setCreditCardNumber(String creditCardNumber) + { + this.creditCardNumber = creditCardNumber; + } + + public String getCvv() + { + return cvv; + } + + public void setCvv(String cvv) + { + this.cvv = cvv; + } + + public Integer getCreditCardExpMonth() + { + return creditCardExpMonth; + } + + public void setCreditCardExpMonth(Integer creditCardExpMonth) + { + this.creditCardExpMonth = creditCardExpMonth; + } + + public Integer getCreditCardExpYear() + { + return creditCardExpYear; + } + + public void setCreditCardExpYear(Integer creditCardExpYear) + { + this.creditCardExpYear = creditCardExpYear; + } + public String getCreditCardType() + { + return creditCardType; + } + public void setCreditCardType(String creditCardType) + { + this.creditCardType = creditCardType; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/CreditCheckBean.java b/posterita/src/main/org/posterita/beans/CreditCheckBean.java new file mode 100644 index 0000000000..5ae045eaf2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CreditCheckBean.java @@ -0,0 +1,53 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 1, 2006 + */ + + +package org.posterita.beans; + + + + +public class CreditCheckBean +{ + protected String msg; + protected Boolean valid; + + public String getMsg() { + return msg; + } + public void setMsg(String msg) { + this.msg = msg; + } + public Boolean getValid() { + return valid; + } + public void setValid(Boolean valid) { + this.valid = valid; + } + + + + + + + + +} diff --git a/posterita/src/main/org/posterita/beans/CreditPaymentDetailsBean.java b/posterita/src/main/org/posterita/beans/CreditPaymentDetailsBean.java new file mode 100644 index 0000000000..d48ead320c --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CreditPaymentDetailsBean.java @@ -0,0 +1,160 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 25, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class CreditPaymentDetailsBean extends UDIBean +{ + + + public Integer getCurrencyId() { + return currencyId; + } + public void setCurrencyId(Integer currencyId) { + this.currencyId = currencyId; + } + public String getCashBookName() { + return cashBookName; + } + public void setCashBookName(String cashBookName) { + this.cashBookName = cashBookName; + } + public Integer getCashId() { + return cashId; + } + public void setCashId(Integer cashId) { + this.cashId = cashId; + } + public Integer getCashLineId() { + return cashLineId; + } + public void setCashLineId(Integer cashLineId) { + this.cashLineId = cashLineId; + } + public String getCashType() { + return cashType; + } + public void setCashType(String cashType) { + this.cashType = cashType; + } + public String getCashTypeName() { + return cashTypeName; + } + public void setCashTypeName(String cashTypeName) { + this.cashTypeName = cashTypeName; + } + public String getChequeNo() { + return chequeNo; + } + public void setChequeNo(String chequeNo) { + this.chequeNo = chequeNo; + } + public String getCreditCardNumber() { + return creditCardNumber; + } + public void setCreditCardNumber(String creditCardNumber) { + this.creditCardNumber = creditCardNumber; + } + public Timestamp getDateCreated() { + return dateCreated; + } + public void setDateCreated(Timestamp dateCreated) { + this.dateCreated = dateCreated; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public BigDecimal getDiscountAmt() { + return discountAmt; + } + public void setDiscountAmt(BigDecimal discountAmt) { + this.discountAmt = discountAmt; + } + public String getDocumentNo() { + return documentNo; + } + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + public BigDecimal getInvoiceGrandTotal() { + return invoiceGrandTotal; + } + public void setInvoiceGrandTotal(BigDecimal invoiceGrandTotal) { + this.invoiceGrandTotal = invoiceGrandTotal; + } + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + public BigDecimal getPaidAmt() { + return paidAmt; + } + public void setPaidAmt(BigDecimal paidAmt) { + this.paidAmt = paidAmt; + } + public Integer getPaymentId() { + return paymentId; + } + public void setPaymentId(Integer paymentId) { + this.paymentId = paymentId; + } + public String getTenderType() { + return tenderType; + } + public void setTenderType(String tenderType) { + this.tenderType = tenderType; + } + public Integer getUserID() { + return userID; + } + public void setUserID(Integer userID) { + this.userID = userID; + } + public String getUsername() { + return username; + } + public void setUsername(String username) { + this.username = username; + } + public BigDecimal getWriteOffAmt() { + return writeOffAmt; + } + public void setWriteOffAmt(BigDecimal writeOffAmt) { + this.writeOffAmt = writeOffAmt; + } + + + + + + + +} diff --git a/posterita/src/main/org/posterita/beans/CurrentTillAmountBean.java b/posterita/src/main/org/posterita/beans/CurrentTillAmountBean.java new file mode 100644 index 0000000000..46c8fe3087 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CurrentTillAmountBean.java @@ -0,0 +1,88 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 5, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class CurrentTillAmountBean extends UDIBean +{ + + + + public BigDecimal getBeginingBalance() { + return beginingBalance; + } + public void setBeginingBalance(BigDecimal beginingBalance) { + this.beginingBalance = beginingBalance; + } + public BigDecimal getStatementDifference() { + return statementDifference; + } + public void setStatementDifference(BigDecimal statementDifference) { + this.statementDifference = statementDifference; + } + public BigDecimal getTillGrandTotal() + { + return tillGrandTotal; + } + public void setTillGrandTotal(BigDecimal tillGrandTotal) + { + this.tillGrandTotal = tillGrandTotal; + } + public BigDecimal getCashTotal() + { + return cashTotal; + } + + public void setCashTotal(BigDecimal cashTotal) + { + this.cashTotal = cashTotal; + } + + public BigDecimal getCardTotal() + { + return cardTotal; + } + public void setCardTotal(BigDecimal cardTotal) + { + this.cardTotal = cardTotal; + } + public BigDecimal getChequeTotal() + { + return chequeTotal; + } + public void setChequeTotal(BigDecimal chequeTotal) + { + this.chequeTotal = chequeTotal; + } + + + public String getPosName() { + return posName; + } + public void setPosName(String posName) { + this.posName = posName; + } +} diff --git a/posterita/src/main/org/posterita/beans/CustomerBean.java b/posterita/src/main/org/posterita/beans/CustomerBean.java new file mode 100644 index 0000000000..1559e2d718 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/CustomerBean.java @@ -0,0 +1,463 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on 02-Sep-2005 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + +public class CustomerBean extends DocumentBean +{ + public String getPaymentTermName() { + return paymentTermName; + } + public void setPaymentTermName(String paymentTermName) { + this.paymentTermName = paymentTermName; + } + public Integer getPaymentTermId() { + return paymentTermId; + } + public void setPaymentTermId(Integer paymentTermId) { + this.paymentTermId = paymentTermId; + } + public String getCreditStatus() { + return creditStatus; + } + public void setCreditStatus(String creditStatus) { + this.creditStatus = creditStatus; + } + public BigDecimal getCreditLimit() { + return creditLimit; + } + public void setCreditLimit(BigDecimal creditLimit) { + this.creditLimit = creditLimit; + } + public Integer getDunningId() { + return dunningId; + } + public void setDunningId(Integer dunningId) { + this.dunningId = dunningId; + } + public Boolean getCreatingFromOrder() { + return creatingFromOrder; + } + public void setCreatingFromOrder(Boolean creatingFromOrder) { + this.creatingFromOrder = creatingFromOrder; + } + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + public Integer getProductId() + { + return productId; + } + public void setProductId(Integer productId) + { + this.productId = productId; + } + public Integer getLicensingDistrictId() { + return licensingDistrictId; + } + public void setLicensingDistrictId(Integer licensingDistrictId) { + this.licensingDistrictId = licensingDistrictId; + } + public String getSurname() { + return surname; + } + public void setSurname(String surname) { + this.surname = surname; + } + public String getAaCardnumber() { + return aaCardnumber; + } + public String getAddress1() { + return address1; + } + public String getAddress2() { + return address2; + } + public String getCity() { + return city; + } + + public String getCustIdNumber() { + return custIdNumber; + } + + public String getMaintenanceContractNumber() { + return maintenanceContractNumber; + } + public String getMobile() { + return mobile; + } + public String getPartnerName() { + return partnerName; + } + + public String getPhone2() { + return phone2; + } + public String getPhone() { + return phone; + } + public String getPostalAddress1() { + return postalAddress1; + } + public String getPostalCity() { + return postalCity; + } + public String getPostalCode() { + return postalCode; + } + public String getPostalPostalCode() { + return postalPostalCode; + } + + + public Integer getRegionId() { + return regionId; + } + + public void setAaCardnumber(String aaCardnumber) { + this.aaCardnumber = aaCardnumber; + } + public void setAddress1(String address1) { + this.address1 = address1; + } + public void setAddress2(String address2) { + this.address2 = address2; + } + public void setCity(String city) { + this.city = city; + } + public void setCustIdNumber(String custIdNumber) { + this.custIdNumber = custIdNumber; + } + public void setMaintenanceContractNumber(String maintenanceContractNumber) { + this.maintenanceContractNumber = maintenanceContractNumber; + } + public void setMobile(String mobile) { + this.mobile = mobile; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public void setPhone2(String phone2) { + this.phone2 = phone2; + } + public void setPhone(String phone) { + this.phone = phone; + } + public void setPostalAddress1(String postalAddress1) { + this.postalAddress1 = postalAddress1; + } + public void setPostalCity(String postalCity) { + this.postalCity = postalCity; + } + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + public void setPostalPostalCode(String postalPostalCode) { + this.postalPostalCode = postalPostalCode; + } + public void setRegionId(Integer regionId) { + this.regionId = regionId; + } + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public String getLicensingDistrict() + { + return licensingDistrict; + } + + public void setLicensingDistrict(String licensingDistrict) + { + this.licensingDistrict = licensingDistrict; + } + + public String getRegion() + { + return region; + } + + public void setRegion(String region) + { + this.region = region; + } + + public String getCompanyRegNo() + { + return companyRegNo; + } + + public void setCompanyRegNo(String companyRegNo) + { + this.companyRegNo = companyRegNo; + } + + public String getPassportNo() + { + return passportNo; + } + + public void setPassportNo(String passportNo) + { + this.passportNo = passportNo; + } + + public String getEmail() + { + return email; + } + + public void setEmail(String email) + { + this.email = email; + } + + public Integer getSalesRepId() + { + return salesRepId; + } + + public void setSalesRepId(Integer salesRepId) + { + this.salesRepId = salesRepId; + } + + public String getMakeName() + { + return makeName; + } + + public void setMakeName(String makeName) + { + this.makeName = makeName; + } + + public String getModelName() + { + return modelName; + } + + public void setModelName(String modelName) + { + this.modelName = modelName; + } + + public String getYearName() + { + return yearName; + } + + public void setYearName(String yearName) + { + this.yearName = yearName; + } + + public Integer getCreditCardExpMonth() + { + return creditCardExpMonth; + } + + public void setCreditCardExpMonth(Integer creditCardExpMonth) + { + this.creditCardExpMonth = creditCardExpMonth; + } + + public Integer getCreditCardExpYear() + { + return creditCardExpYear; + } + + public void setCreditCardExpYear(Integer creditCardExpYear) + { + this.creditCardExpYear = creditCardExpYear; + } + + public String getCreditCardNumber() + { + return creditCardNumber; + } + + public void setCreditCardNumber(String creditCardNumber) + { + this.creditCardNumber = creditCardNumber; + } + + public String getPassword() + { + return password; + } + + public void setPassword(String password) + { + this.password = password; + } + + public String getConfirmPassword() + { + return confirmPassword; + } + + public void setConfirmPassword(String confirmPassword) + { + this.confirmPassword = confirmPassword; + } + + public String getCountryName() + { + return countryName; + } + + public void setCountryName(String countryName) + { + this.countryName = countryName; + } + + public String getPostalAddress() + { + return postalAddress; + } + + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + + public String getUsername() + { + return username; + } + public void setUsername(String username) + { + this.username = username; + } + + public String getUserSurname() + { + return userSurname; + } + + public void setUserSurname(String userSurname) + { + this.userSurname = userSurname; + } + + public String getFax() + { + return fax; + } + + public void setFax(String fax) + { + this.fax = fax; + } + + public Integer getCountryId() + { + return countryId; + } + + public void setCountryId(Integer countryId) + { + this.countryId = countryId; + } + +/* public Integer getCvv() + { + return cvv; + } + + public void setCvv(Integer cvv) + { + this.cvv = cvv; + } +*/ + public String getCreditCardPayment() + { + return creditCardPayment; + } + + public void setCreditCardPayment(String creditCardPayment) + { + this.creditCardPayment = creditCardPayment; + } + + public String getShipmentMethod() + { + return shipmentMethod; + } + + public void setShipmentMethod(String shipmentMethod) + { + this.shipmentMethod = shipmentMethod; + } + + public String getBirthdate() + { + return birthdate; + } + public void setBirthdate(String birthdate) + { + this.birthdate = birthdate; + } + public String getStartDay() { + return startDay; + } + public void setStartDay(String startDay) { + this.startDay = startDay; + } + public String getStartMonth() { + return startMonth; + } + public void setStartMonth(String startMonth) { + this.startMonth = startMonth; + } + public String getStartYear() { + return startYear; + } + public void setStartYear(String startYear) { + this.startYear = startYear; + } + public Integer getUserId() { + return userId; + } + public void setUserId(Integer userId) { + this.userId = userId; + } + +} diff --git a/posterita/src/main/org/posterita/beans/DateFilterBean.java b/posterita/src/main/org/posterita/beans/DateFilterBean.java new file mode 100644 index 0000000000..94ab651d80 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DateFilterBean.java @@ -0,0 +1,151 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* Created on Sep 11, 2006 by ashley +* +*/ + +/** + @author ashley + */ + +package org.posterita.beans; + +public class DateFilterBean extends UDIBean +{ + public String getFromDate() + { + return fromDate; + } + + public void setFromDate(String fromDate) + { + this.fromDate = fromDate; + } + + public String getToDate() + { + return toDate; + } + + public void setToDate(String toDate) + { + this.toDate = toDate; + } + + public String getStartDay() + { + return startDay; + } + + public void setStartDay(String startDay) + { + this.startDay = startDay; + } + + public String getStartMonth() + { + return startMonth; + } + + public void setStartMonth(String startMonth) + { + this.startMonth = startMonth; + } + + public String getStartYear() + { + return startYear; + } + + public void setStartYear(String startYear) + { + this.startYear = startYear; + } + + public String getEndDay() + { + return endDay; + } + + public void setEndDay(String endDay) + { + this.endDay = endDay; + } + + public String getEndMonth() + { + return endMonth; + } + + public void setEndMonth(String endMonth) + { + this.endMonth = endMonth; + } + + public String getEndYear() + { + return endYear; + } + + public void setEndYear(String endYear) + { + this.endYear = endYear; + } + + public String getStartHour() + { + return startHour; + } + + public void setStartHour(String startHour) + { + this.startHour = startHour; + } + + public String getStartMinute() + { + return startMinute; + } + + public void setStartMinute(String startMinute) + { + this.startMinute = startMinute; + } + + public String getEndHour() + { + return endHour; + } + + public void setEndHour(String endHour) + { + this.endHour = endHour; + } + + public String getEndMinute() + { + return endMinute; + } + + public void setEndMinute(String endMinute) + { + this.endMinute = endMinute; + } +} diff --git a/posterita/src/main/org/posterita/beans/DisplayMessageLogBean.java b/posterita/src/main/org/posterita/beans/DisplayMessageLogBean.java new file mode 100644 index 0000000000..ce4c6afc89 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DisplayMessageLogBean.java @@ -0,0 +1,115 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.sql.Timestamp; + + +public class DisplayMessageLogBean +{ + private String input; + private String output; + private String status; + private String type; + private String documentType; + private Timestamp date; + private Integer documentId; + private String reasonDescription; + + public Timestamp getDate() + { + return date; + } + + public void setDate(Timestamp date) + { + this.date = date; + } + + public String getDocumentType() + { + return documentType; + } + + public void setDocumentType(String documentType) + { + this.documentType = documentType; + } + + public String getInput() + { + return input; + } + + public void setInput(String input) + { + this.input = input; + } + + public String getOutput() + { + return output; + } + + public void setOutput(String output) + { + this.output = output; + } + + public String getStatus() + { + return status; + } + + public void setStatus(String status) + { + this.status = status; + } + + public String getType() + { + return type; + } + + public void setType(String type) + { + this.type = type; + } + + public Integer getDocumentId() + { + return documentId; + } + + public void setDocumentId(Integer documentId) + { + this.documentId = documentId; + } + + public String getReasonDescription() + { + return reasonDescription; + } + + public void setReasonDescription(String reasonDescription) + { + this.reasonDescription = reasonDescription; + } +} diff --git a/posterita/src/main/org/posterita/beans/DocumentBean.java b/posterita/src/main/org/posterita/beans/DocumentBean.java new file mode 100644 index 0000000000..ff146ccc8c --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DocumentBean.java @@ -0,0 +1,84 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + + +public class DocumentBean extends UDIBean +{ + public Integer getDocumentId() + { + return documentId; + } + + public void setDocumentId(Integer documentId) + { + this.documentId = documentId; + } + + + public String getDocumentType() + { + return documentType; + } + + public void setDocumentType(String documentType) + { + this.documentType = documentType; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public String getSubmit() + { + return submit; + } + + public void setSubmit(String submit) + { + this.submit = submit; + } + + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } +} diff --git a/posterita/src/main/org/posterita/beans/DocumentHistortFilterBean.java b/posterita/src/main/org/posterita/beans/DocumentHistortFilterBean.java new file mode 100644 index 0000000000..b870d5e162 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DocumentHistortFilterBean.java @@ -0,0 +1,80 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +package org.posterita.beans; + +import java.util.ArrayList; +import java.util.Iterator; +import java.util.TreeSet; + + + +/** + * @author alok + */ + +public class DocumentHistortFilterBean +{ + + private TreeSet bPartnerList = new TreeSet(); + private TreeSet docStatusList = new TreeSet(); + + public DocumentHistortFilterBean(ArrayList beans) + { + + if(beans!=null) + { + Iterator iter = beans.iterator(); + + while(iter.hasNext()) + { + DocumentHistoryBean bean = (DocumentHistoryBean) iter.next(); + + if(bean.getBpartnerId()!=null) + { + UDIPair pair = new UDIPair(bean.getBpartnerId(),bean.getPartnerName()); + bPartnerList.add(pair); + } + + if(bean.getDocStatus()!= null) + { + UDIPair docStatusPair = new UDIPair(bean.getDocStatusCode(), bean.getDocStatus()); + docStatusList.add(docStatusPair); + } + } + } + + } + + + public TreeSet getBPartnerList() + { + return bPartnerList; + } + + public TreeSet getDocStatusList() + { + return docStatusList; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/DocumentHistoryBean.java b/posterita/src/main/org/posterita/beans/DocumentHistoryBean.java new file mode 100644 index 0000000000..84af7801b2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DocumentHistoryBean.java @@ -0,0 +1,248 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ +package org.posterita.beans; + +import java.sql.Timestamp; +import java.util.ArrayList; + +import org.posterita.beans.UDIBean; + +public class DocumentHistoryBean extends UDIBean +{ +/* + protected Integer orderId; + protected Integer paymentId; + protected Integer invoiceId; + protected Integer minOutId; + protected String docStatus; //Shipment DocStatus + protected Integer month; + protected Integer year; + protected Integer bpartnerId; + protected String partnerName; + protected Timestamp dateOrdered; + protected String docStatusCode; +*/ + protected String paymentStatus; + protected String shipmentStatus; + + protected String invoiceNo; + protected String paymentNo; + protected String shipmentNo; + protected ArrayList documentHistoryList; + + + + + + + + + public ArrayList getDocumentHistoryList() { + return documentHistoryList; + } + + public void setDocumentHistoryList(ArrayList documentHistoryList) { + this.documentHistoryList = documentHistoryList; + } + + public Integer getCashLineId() { + return cashLineId; + } + + public void setCashLineId(Integer cashLineId) { + this.cashLineId = cashLineId; + } + + public String getDocumentNo() + { + return documentNo; + } + + public void setDocumentNo(String documentNo) + { + this.documentNo=documentNo; + } + public String getOrderType() + { + return orderType; + } + + public void setOrderType(String orderType) + { + this.orderType=orderType; + } + + + public String getDocStatus() + { + return docStatus; + } + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + public Integer getInvoiceId() + { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + public Integer getMinOutId() + { + return minOutId; + } + public void setMinOutId(Integer minOutId) + { + this.minOutId = minOutId; + } + public Integer getMonth() + { + return month; + } + public void setMonth(Integer month) + { + this.month = month; + } + public Integer getOrderId() + { + return orderId; + } + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + public Integer getPaymentId() + { + return paymentId; + } + public void setPaymentId(Integer paymentId) + { + this.paymentId = paymentId; + } + public Integer getYear() + { + return year; + } + public void setYear(Integer year) + { + this.year = year; + } + public Integer getBpartnerId() + { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + public String getPartnerName() + { + return partnerName; + } + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + public Timestamp getDateOrdered() + { + return dateOrdered; + } + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + public String getDocStatusCode() + { + return docStatusCode; + } + public void setDocStatusCode(String docStatusCode) + { + this.docStatusCode = docStatusCode; + } + public String getPaymentStatus() + { + return paymentStatus; + } + public void setPaymentStatus(String paymentStatus) + { + this.paymentStatus = paymentStatus; + } + public String getShipmentStatus() + { + return shipmentStatus; + } + public void setShipmentStatus(String shipmentStatus) + { + this.shipmentStatus = shipmentStatus; + } + + public String getInvoiceNo() + { + return invoiceNo; + } + + public void setInvoiceNo(String invoiceNo) + { + this.invoiceNo = invoiceNo; + } + + public String getPaymentNo() + { + return paymentNo; + } + + public void setPaymentNo(String paymentNo) + { + this.paymentNo = paymentNo; + } + + public String getShipmentNo() + { + return shipmentNo; + } + + public void setShipmentNo(String shipmentNo) + { + this.shipmentNo = shipmentNo; + } + + public Boolean getIsCustomer() { + return isCustomer; + } + + public void setIsCustomer(Boolean isCustomer) { + this.isCustomer = isCustomer; + } + + public Boolean getIsVendor() { + return isVendor; + } + + public void setIsVendor(Boolean isVendor) { + this.isVendor = isVendor; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/DunningBean.java b/posterita/src/main/org/posterita/beans/DunningBean.java new file mode 100644 index 0000000000..c3f0660196 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/DunningBean.java @@ -0,0 +1,105 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 27, 2006 + */ + + +package org.posterita.beans; + + +public class DunningBean extends UDIBean +{ + + + + + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Integer getDunningId() { + return dunningId; + } + public void setDunningId(Integer dunningId) { + this.dunningId = dunningId; + } + public String getDunningLevelName() { + return dunningLevelName; + } + public void setDunningLevelName(String dunningLevelName) { + this.dunningLevelName = dunningLevelName; + } + public String getDunningName() { + return dunningName; + } + public void setDunningName(String dunningName) { + this.dunningName = dunningName; + } + public Integer getDunningLevelId() { + return dunningLevelId; + } + public void setDunningLevelId(Integer dunningLevelId) { + this.dunningLevelId = dunningLevelId; + } + public String getDunningPrintNote() { + return dunningPrintNote; + } + public void setDunningPrintNote(String dunningPrintNote) { + this.dunningPrintNote = dunningPrintNote; + } + public String getDunningPrintText() { + return dunningPrintText; + } + public void setDunningPrintText(String dunningPrintText) { + this.dunningPrintText = dunningPrintText; + } + public Integer getBP_Group_ID() { + return BP_Group_ID; + } + public void setBP_Group_ID(Integer group_ID) { + BP_Group_ID = group_ID; + } + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public Integer getCurrencyId() { + return currencyId; + } + public void setCurrencyId(Integer currencyId) { + this.currencyId = currencyId; + } + + + + + public Integer[] getBpartnerIds() { + return bpartnerIds; + } + public void setBpartnerIds(Integer[] bpartnerIds) { + this.bpartnerIds = bpartnerIds; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/EditPriceBean.java b/posterita/src/main/org/posterita/beans/EditPriceBean.java new file mode 100644 index 0000000000..5d76d0d0db --- /dev/null +++ b/posterita/src/main/org/posterita/beans/EditPriceBean.java @@ -0,0 +1,62 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 20, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class EditPriceBean extends UDIBean +{ + public BigDecimal getPrice() + { + return price; + } + + public void setPrice(BigDecimal price) + { + this.price = price; + } + + public Integer getPriceListVersionId() + { + return priceListVersionId; + } + + public void setPriceListVersionId(Integer priceListVersionId) + { + this.priceListVersionId = priceListVersionId; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/FilterBean.java b/posterita/src/main/org/posterita/beans/FilterBean.java new file mode 100644 index 0000000000..e9bab97232 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/FilterBean.java @@ -0,0 +1,137 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 19, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.util.ArrayList; + +public class FilterBean extends UDIBean +{ + private ArrayList bpList; + private ArrayList docStatusList; + public Integer getRefToQuote() + { + return refToQuote; + } + public void setRefToQuote(Integer refToQuote) + { + this.refToQuote = refToQuote; + } + + public String getOrderType() + { + return orderType; + } + public void setOrderType(String orderType) + { + this.orderType = orderType; + } + + public String getDocStatus() + { + return docStatus; + } + + public String getDocStatusCode() + { + return docStatusCode; + } + + public String getDocumentNo() + { + return documentNo; + } + + public Integer getMonth() + { + return month; + } + + + public Integer getPartnerId() + { + return this.partnerId; + } + + public String getPartnerName() + { + return partnerName; + } + + public Integer getYear() + { + return year; + } + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + + public void setDocStatusCode(String docStatusCode) + { + this.docStatusCode = docStatusCode; + } + + public void setDocumentNo(String documentNo) + { + this.documentNo = documentNo; + } + + public void setMonth(Integer month) + { + this.month = month; + } + + public void setPartnerId(Integer partnerId) + { + this.partnerId = partnerId; + } + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + + public void setYear(Integer year) + { + this.year = year; + } + + public ArrayList getBpList() + { + return bpList; + } + + public void setBpList(ArrayList bpList) + { + this.bpList = bpList; + } + + public ArrayList getDocStatusList() + { + return docStatusList; + } + + public void setDocStatusList(ArrayList docStatusList) + { + this.docStatusList = docStatusList; + } + +} diff --git a/posterita/src/main/org/posterita/beans/GenericProductBean.java b/posterita/src/main/org/posterita/beans/GenericProductBean.java new file mode 100644 index 0000000000..af28427bb5 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/GenericProductBean.java @@ -0,0 +1,167 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + +public class GenericProductBean +{ + private String name; + private Integer qtyOnHand; + private Integer productId; + private String description; + private ProductImageInfo imageInfo; + private Boolean isSmall; + private Boolean isMedium; + private Boolean isLarge; + private Boolean isXLarge; + private Integer qtySmall; + private Integer qtyMedium; + private Integer qtyLarge; + private Integer qtyXLarge; + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public Integer getQtyOnHand() + { + return qtyOnHand; + } + + public void setQtyOnHand(Integer qtyOnHand) + { + this.qtyOnHand = qtyOnHand; + } + + + public Integer getProductId() + { + return productId; + } + public void setProductId(Integer productId) + { + this.productId = productId; + } + + + public String getDescription() + { + return description; + } + public void setDescription(String description) + { + this.description = description; + } + + public ProductImageInfo getImageInfo() + { + return imageInfo; + } + public void setImageInfo(ProductImageInfo imageInfo) + { + this.imageInfo = imageInfo; + } + + public Boolean getIsLarge() + { + return isLarge; + } + + public void setIsLarge(Boolean isLarge) + { + this.isLarge = isLarge; + } + + public Boolean getIsMedium() + { + return isMedium; + } + + public void setIsMedium(Boolean isMedium) + { + this.isMedium = isMedium; + } + + public Boolean getIsSmall() + { + return isSmall; + } + + public void setIsSmall(Boolean isSmall) + { + this.isSmall = isSmall; + } + + public Boolean getIsXLarge() + { + return isXLarge; + } + + public void setIsXLarge(Boolean isXLarge) + { + this.isXLarge = isXLarge; + } + + public Integer getQtyLarge() + { + return qtyLarge; + } + + public void setQtyLarge(Integer qtyLarge) + { + this.qtyLarge = qtyLarge; + } + + public Integer getQtyMedium() + { + return qtyMedium; + } + + public void setQtyMedium(Integer qtyMedium) + { + this.qtyMedium = qtyMedium; + } + + public Integer getQtySmall() + { + return qtySmall; + } + + public void setQtySmall(Integer qtySmall) + { + this.qtySmall = qtySmall; + } + + public Integer getQtyXLarge() + { + return qtyXLarge; + } + + public void setQtyXLarge(Integer qtyXLarge) + { + this.qtyXLarge = qtyXLarge; + } +} diff --git a/posterita/src/main/org/posterita/beans/InOutHistoryBean.java b/posterita/src/main/org/posterita/beans/InOutHistoryBean.java new file mode 100644 index 0000000000..f1f5af1d2b --- /dev/null +++ b/posterita/src/main/org/posterita/beans/InOutHistoryBean.java @@ -0,0 +1,113 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 08-Aug-2005 by alok + * + */ +package org.posterita.beans; + +import java.sql.Timestamp; + + +public class InOutHistoryBean extends FilterBean +{ + + public String getPartnerName() + { + return partnerName; + } + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + + public Integer getInOutId() + { + return inOutId; + } + + public void setInOutId(Integer inOutId) + { + this.inOutId = inOutId; + } + + public Timestamp getDateMovement() + { + return dateMovement; + } + public void setDateMovement(Timestamp dateMovement) + { + this.dateMovement = dateMovement; + } + public Timestamp getDateOrdered() + { + return dateOrdered; + } + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + public Integer getInvoiceId() + { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + public String getIsSotrx() + { + return isSoTrx; + } + public void setIsSotrx(String isSotrx) + { + this.isSoTrx = isSotrx; + } + public Integer getOrderId() + { + return orderId; + } + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + public String getPoReference() + { + return poReference; + } + public void setPoReference(String poReference) + { + this.poReference = poReference; + } + public Integer getRefInOutId() + { + return refInOutId; + } + public void setRefInOutId(Integer refInOutId) + { + this.refInOutId = refInOutId; + } + public Integer getWarehouseId() + { + return warehouseId; + } + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } +} diff --git a/posterita/src/main/org/posterita/beans/InventoryBean.java b/posterita/src/main/org/posterita/beans/InventoryBean.java new file mode 100644 index 0000000000..f88e296393 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/InventoryBean.java @@ -0,0 +1,127 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Dec 4, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class InventoryBean extends UDIBean +{ + + + + + + + + public Integer[] getInventoryIds() + { + return inventoryIds; + } + public void setInventoryIds(Integer[] inventoryIds) + { + this.inventoryIds = inventoryIds; + } + public BigDecimal getBookQtyValue() { + return bookQtyValue; + } + public void setBookQtyValue(BigDecimal bookQtyValue) { + this.bookQtyValue = bookQtyValue; + } + public BigDecimal getCountQtyValue() { + return countQtyValue; + } + public void setCountQtyValue(BigDecimal countQtyValue) { + this.countQtyValue = countQtyValue; + } + public String getBarCode() { + return barCode; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + public String getDocStatus() { + return docStatus; + } + public void setDocStatus(String docStatus) { + this.docStatus = docStatus; + } + public String getInventoryNo() { + return inventoryNo; + } + public void setInventoryNo(String inventoryNo) { + this.inventoryNo = inventoryNo; + } + public String getMovementDate() { + return movementDate; + } + public void setMovementDate(String movementDate) { + this.movementDate = movementDate; + } + public String getProductName() { + return productName; + } + public void setProductName(String productName) { + this.productName = productName; + } + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Integer getInventoryId() { + return inventoryId; + } + public void setInventoryId(Integer inventoryId) { + this.inventoryId = inventoryId; + } + public Integer getInventoryLineId() { + return inventoryLineId; + } + public void setInventoryLineId(Integer inventoryLineId) { + this.inventoryLineId = inventoryLineId; + } + public BigDecimal getQtyBook() { + return qtyBook; + } + public void setQtyBook(BigDecimal qtyBook) { + this.qtyBook = qtyBook; + } + public BigDecimal getQtyCount() { + return qtyCount; + } + public void setQtyCount(BigDecimal qtyCount) { + this.qtyCount = qtyCount; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/InvoiceHistoryBean.java b/posterita/src/main/org/posterita/beans/InvoiceHistoryBean.java new file mode 100644 index 0000000000..bc959f0ed7 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/InvoiceHistoryBean.java @@ -0,0 +1,101 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 04-Aug-2005 by alok + * + */ +package org.posterita.beans; + +import java.sql.Timestamp; + + +public class InvoiceHistoryBean extends FilterBean +{ + private PaymentHistoryBean paymentHistoryBean; + + public PaymentHistoryBean getPaymentHistoryBean() + { + return paymentHistoryBean; + } + + public void setPaymentHistoryBean(PaymentHistoryBean paymentHistoryBean) + { + this.paymentHistoryBean = paymentHistoryBean; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + public Timestamp getDateInvoiced() + { + return dateInvoiced; + } + public void setDateInvoiced(Timestamp dateInvoiced) + { + this.dateInvoiced = dateInvoiced; + } + + public Integer getGrandTotal() + { + return grandTotal; + } + public void setGrandTotal(Integer grandTotal) + { + this.grandTotal = grandTotal; + } + public String getIsPaid() + { + return isPaid; + } + public void setIsPaid(String isPaid) + { + this.isPaid = isPaid; + } + public String getIsSotrx() + { + return isSoTrx; + } + public void setIsSotrx(String isSotrx) + { + this.isSoTrx = isSotrx; + } + public Integer getOrderId() + { + return orderId; + } + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ItemBean.java b/posterita/src/main/org/posterita/beans/ItemBean.java new file mode 100644 index 0000000000..c1ac00b0f1 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ItemBean.java @@ -0,0 +1,207 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class ItemBean extends UDIBean +{ + + private Integer productId; + private String description; + private BigDecimal price; + private Integer qty; + private BigDecimal grandTotal; + private BigDecimal discountPercent; + private BigDecimal actualPrice; + private BigDecimal taxAmt; + private BigDecimal standardPrice; + private BigDecimal priceTotal; + private BigDecimal taxTotal; + private BigDecimal qtyTotal; + private BigDecimal unitPrice; + + + + + + public BigDecimal getUnitPrice() { + return unitPrice; + } + + public void setUnitPrice(BigDecimal unitPrice) { + this.unitPrice = unitPrice; + } + + public BigDecimal getQtyTotal() { + return qtyTotal; + } + + public void setQtyTotal(BigDecimal qtyTotal) { + this.qtyTotal = qtyTotal; + } + + public BigDecimal getPriceTotal() { + return priceTotal; + } + + public void setPriceTotal(BigDecimal priceTotal) { + this.priceTotal = priceTotal; + } + + public BigDecimal getTaxTotal() { + return taxTotal; + } + + public void setTaxTotal(BigDecimal taxTotal) { + this.taxTotal = taxTotal; + } + + public BigDecimal getStandardPrice() { + return standardPrice; + } + + public void setStandardPrice(BigDecimal standardPrice) { + this.standardPrice = standardPrice; + } + + public BigDecimal getTaxAmt() { + return taxAmt; + } + + public void setTaxAmt(BigDecimal taxAmt) { + this.taxAmt = taxAmt; + } + + public void setGrandTotal(BigDecimal grandTotal) { + this.grandTotal = grandTotal; + } + + public String getBackOrder() + { + return backOrder; + } + + public void setBackOrder(String backOrder) + { + this.backOrder = backOrder; + } + + public BigDecimal getActualPrice() { + return actualPrice; + } + + public void setActualPrice(BigDecimal actualPrice) { + this.actualPrice = actualPrice; + } + public BigDecimal getDiscountPercent() { + return discountPercent; + } + public void setDiscountPercent(BigDecimal discountPercent) { + this.discountPercent = discountPercent; + } + public void setgrandTotal(BigDecimal grandTotal) + { + this.grandTotal=grandTotal; + } + + public BigDecimal getGrandTotal() + { + return grandTotal; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public BigDecimal getPrice() + { + return price; + } + + public void setPrice(BigDecimal price) + { + this.price = price; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public Integer getQty() + { + return qty; + } + + public void setQty(Integer qty) + { + this.qty = qty; + } + + + public void updateQuantity(ItemBean original, ItemBean itemToAdd,boolean add) + { + int originalQuantity = original.getQty().intValue(); + + int quantityToAdd = itemToAdd.getQty().intValue(); + + int finalQuantity=0; + if(!add) + finalQuantity= originalQuantity - quantityToAdd; + else + finalQuantity= originalQuantity + quantityToAdd; + + + original.setQty(Integer.valueOf(finalQuantity)); + } + + public boolean equals(Object o) + { + if (o == null) + return false; + + ItemBean bean1 = (ItemBean) o; + if (bean1.getProductId().intValue() == this.getProductId().intValue()) + return true; + + return false; + + } + public String getBarCode() { + return barCode; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + +} diff --git a/posterita/src/main/org/posterita/beans/LocatorBean.java b/posterita/src/main/org/posterita/beans/LocatorBean.java new file mode 100644 index 0000000000..bf65c7f46e --- /dev/null +++ b/posterita/src/main/org/posterita/beans/LocatorBean.java @@ -0,0 +1,116 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 26-Jul-2005 by alok + * + */ +package org.posterita.beans; + + +public class LocatorBean extends UDIBean +{ + + public String getAisle() + { + return aisle; + } + public void setAisle(String aisle) + { + this.aisle = aisle; + } + public String getBin() + { + return bin; + } + public void setBin(String bin) + { + this.bin = bin; + } + public Boolean getIsDefault() + { + return isDefault; + } + public void setIsDefault(Boolean isDefault) + { + this.isDefault = isDefault; + } + public String getLevel() + { + return level; + } + public void setLevel(String level) + { + this.level = level; + } + public Integer getWarehouseId() + { + return warehouseId; + } + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } + + public String getWarehouseName() + { + return warehouseName; + } + + public void setWarehouseName(String warehouseName) + { + this.warehouseName = warehouseName; + } + + + + public Integer getAttributeSetInstance() + { + return attributeSetInstance; + } + public void setAttributeSetInstance(Integer attributeSetInstance) + { + this.attributeSetInstance = attributeSetInstance; + } + public String getSernoAttributeSetInstance() + { + return sernoAttributeSetInstance; + } + public void setSernoAttributeSetInstance(String sernoAttributeSetInstance) + { + this.sernoAttributeSetInstance = sernoAttributeSetInstance; + } + + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public Integer getLocatorId() + { + return locatorId; + } + public void setLocatorId(Integer locatorId) + { + this.locatorId = locatorId; + } +} diff --git a/posterita/src/main/org/posterita/beans/LoginBean.java b/posterita/src/main/org/posterita/beans/LoginBean.java new file mode 100644 index 0000000000..f7925f334a --- /dev/null +++ b/posterita/src/main/org/posterita/beans/LoginBean.java @@ -0,0 +1,70 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 25-Jul-2005 by alok + * + */ +package org.posterita.beans; + + +public class LoginBean extends UDIBean +{ + + public String getUserPIN() + { + return userPIN; + } + public void setUserPIN(String userPIN) + { + this.userPIN = userPIN; + } + public String getPassword() + { + return password; + } + public void setPassword(String password) + { + this.password = password; + } + public String getUsername() + { + return username; + } + public void setUsername(String username) + { + this.username = username; + } + + public Integer getId() + { + return id; + } + public void setId(Integer id) + { + this.id = id; + } + + public Integer getUserId() + { + return userId; + } + public void setUserId(Integer userId) + { + this.userId = userId; + } +} diff --git a/posterita/src/main/org/posterita/beans/MenuItemBean.java b/posterita/src/main/org/posterita/beans/MenuItemBean.java new file mode 100644 index 0000000000..19a8c57bd5 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/MenuItemBean.java @@ -0,0 +1,102 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + +public class MenuItemBean extends UDIBean +{ + + + public Integer getMenuId() + { + return menuId; + } + public void setMenuId(Integer menuId) + { + this.menuId = menuId; + } + public String getMenuItemName() + { + return menuItemName; + } + public void setMenuItemName(String menuItemName) + { + this.menuItemName = menuItemName; + } + public String getMenuLink() + { + return menuLink; + } + public void setMenuLink(String menuLink) + { + this.menuLink = menuLink; + } + public Integer getParentMenuId() + { + return parentMenuId; + } + public void setParentMenuId(Integer parentMenuId) + { + this.parentMenuId = parentMenuId; + } + + public Integer getId() + { + return id; + } + public void setId(Integer id) + { + this.id = id; + } + + public Boolean getIsActive() + { + return isActive; + } + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + public String getName() + { + return name; + } + public void setName(String name) + { + this.name = name; + } + public Boolean getIsClosable() + { + return isClosable; + } + public void setIsClosable(Boolean isClosable) + { + this.isClosable = isClosable; + } + + public String getDescription() + { + return description; + } + public void setDescription(String description) + { + this.description = description; + } +} diff --git a/posterita/src/main/org/posterita/beans/MessageBean.java b/posterita/src/main/org/posterita/beans/MessageBean.java new file mode 100644 index 0000000000..e434d36c72 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/MessageBean.java @@ -0,0 +1,126 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 1, 2005 by din + */ + +package org.posterita.beans; + +import java.sql.Timestamp; + +public class MessageBean extends UDIBean +{ + public String getMessage() + { + return message; + } + public void setMessage(String message) + { + this.message = message; + } + public Integer getMessageID() + { + return messageID; + } + public void setMessageID(Integer messageID) + { + this.messageID = messageID; + } + public String getSubject() + { + return subject; + } + public void setSubject(String subject) + { + this.subject = subject; + } + public Integer getCounterOrgID() + { + return counterOrgID; + } + public void setCounterOrgID(Integer counterOrgID) + { + this.counterOrgID = counterOrgID; + } + public String getCounterOrgName() + { + return counterOrgName; + } + public void setCounterOrgName(String counterOrgName) + { + this.counterOrgName = counterOrgName; + } + public Integer getOrgID() + { + return OrgID; + } + public void setOrgID(Integer orgID) + { + OrgID = orgID; + } + public String getRead() + { + return read; + } + public void setRead(String read) + { + this.read = read; + } + public Timestamp getDateCreated() + { + return dateCreated; + } + public void setDateCreated(Timestamp dateCreated) + { + this.dateCreated = dateCreated; + } + public String getCounterOrderStatusInfo() + { + return counterOrderStatusInfo; + } + public void setCounterOrderStatusInfo(String counterOrderStatusInfo) + { + this.counterOrderStatusInfo = counterOrderStatusInfo; + } + public String getOrderStatusInfo() + { + return orderStatusInfo; + } + public void setOrderStatusInfo(String orderStatusInfo) + { + this.orderStatusInfo = orderStatusInfo; + } + public Boolean getIsActive() + { + return isActive; + } + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } +} diff --git a/posterita/src/main/org/posterita/beans/MessageLoggerBean.java b/posterita/src/main/org/posterita/beans/MessageLoggerBean.java new file mode 100644 index 0000000000..fa0eebe47c --- /dev/null +++ b/posterita/src/main/org/posterita/beans/MessageLoggerBean.java @@ -0,0 +1,58 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * */ +package org.posterita.beans; + + +public class MessageLoggerBean +{ + private String cause; + private String error; + private String description; + + public String getCause() + { + return cause; + } + + public void setCause(String cause) + { + this.cause = cause; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public String getError() + { + return error; + } + + public void setError(String error) + { + this.error = error; + } +} diff --git a/posterita/src/main/org/posterita/beans/MinOutHistoryBean.java b/posterita/src/main/org/posterita/beans/MinOutHistoryBean.java new file mode 100644 index 0000000000..7790d84f93 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/MinOutHistoryBean.java @@ -0,0 +1,44 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +public class MinOutHistoryBean extends UDIBean +{ + public Integer getMinOutId() + { + return minOutId; + } + + public void setMinOutId(Integer minOutId) + { + this.minOutId = minOutId; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } +} diff --git a/posterita/src/main/org/posterita/beans/OpenItemBean.java b/posterita/src/main/org/posterita/beans/OpenItemBean.java new file mode 100644 index 0000000000..fe83da2433 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OpenItemBean.java @@ -0,0 +1,284 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 17, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class OpenItemBean extends UDIBean +{ + + + public BigDecimal getAvailableAmt() + { + return AvailableAmt; + } + public void setAvailableAmt(BigDecimal availableAmt) + { + AvailableAmt = availableAmt; + } + public BigDecimal getPaymentAllocatedAmt() + { + return paymentAllocatedAmt; + } + public void setPaymentAllocatedAmt(BigDecimal paymentAllocatedAmt) + { + this.paymentAllocatedAmt = paymentAllocatedAmt; + } + public String getAllocationStatus() + { + return allocationStatus; + } + public void setAllocationStatus(String allocationStatus) + { + this.allocationStatus = allocationStatus; + } + public BigDecimal getAllocatedAmount() { + return allocatedAmount; + } + public void setAllocatedAmount(BigDecimal allocatedAmount) { + this.allocatedAmount = allocatedAmount; + } + + public Integer[] getPaymentIds() { + return paymentIds; + } + public void setPaymentIds(Integer[] paymentIds) { + this.paymentIds = paymentIds; + } + public String getTrxDate() { + return trxDate; + } + public void setTrxDate(String trxDate) { + this.trxDate = trxDate; + } + public BigDecimal getTaxedAmt() { + return taxedAmt; + } + public void setTaxedAmt(BigDecimal taxedAmt) { + this.taxedAmt = taxedAmt; + } + public Integer getPaymentId() { + return paymentId; + } + public void setPaymentId(Integer paymentId) { + this.paymentId = paymentId; + } + public String getPaymentNo() { + return paymentNo; + } + public void setPaymentNo(String paymentNo) { + this.paymentNo = paymentNo; + } + + + public String getTenderType() { + return tenderType; + } + public void setTenderType(String tenderType) { + this.tenderType = tenderType; + } + public String getForward() { + return forward; + } + public void setForward(String forward) { + this.forward = forward; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public String getPaymentTermName() { + return paymentTermName; + } + public void setPaymentTermName(String paymentTermName) { + this.paymentTermName = paymentTermName; + } + public String getInvoiceNo() { + return invoiceNo; + } + public void setInvoiceNo(String invoiceNo) { + this.invoiceNo = invoiceNo; + } + public String getChequeNo() { + return chequeNo; + } + public void setChequeNo(String chequeNo) { + this.chequeNo = chequeNo; + } + public String getCreditCardNumber() { + return creditCardNumber; + } + public void setCreditCardNumber(String creditCardNumber) { + this.creditCardNumber = creditCardNumber; + } + public String getInvoiceDate() { + return invoiceDate; + } + public void setInvoiceDate(String invoiceDate) { + this.invoiceDate = invoiceDate; + } + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public Integer getPaymentTermId() { + return paymentTermId; + } + public Integer getCurrencyId() { + return currencyId; + } + public void setCurrencyId(Integer currencyId) { + this.currencyId = currencyId; + } + + public Integer getDaysDue() { + return daysDue; + } + public void setDaysDue(Integer daysDue) { + this.daysDue = daysDue; + } + public BigDecimal getDiscountAmt() { + return discountAmt; + } + public void setDiscountAmt(BigDecimal discountAmt) { + this.discountAmt = discountAmt; + } + public String getDiscountDate() { + return discountDate; + } + public void setDiscountDate(String discountDate) { + this.discountDate = discountDate; + } + public String getDocumentNo() { + return documentNo; + } + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + public String getDueDate() { + return dueDate; + } + public void setDueDate(String dueDate) { + this.dueDate = dueDate; + } + + + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + public Integer getInvoiceScheduleId() { + return invoiceScheduleId; + } + public void setInvoiceScheduleId(Integer invoiceScheduleId) { + this.invoiceScheduleId = invoiceScheduleId; + } + public String getIsSoTrx() { + return isSoTrx; + } + public void setIsSoTrx(String isSoTrx) { + this.isSoTrx = isSoTrx; + } + public Integer getNetDays() { + return netDays; + } + public void setNetDays(Integer netDays) { + this.netDays = netDays; + } + public BigDecimal getOpenAmt() { + return openAmt; + } + public void setOpenAmt(BigDecimal openAmt) { + this.openAmt = openAmt; + } + public Integer getOrderId() { + return orderId; + } + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + public BigDecimal getPaidAmt() { + return paidAmt; + } + public void setPaidAmt(BigDecimal paidAmt) { + this.paidAmt = paidAmt; + } + public Integer getPaumentTermId() { + return paymentTermId; + } + public void setPaymentTermId(Integer paymentTermId) { + this.paymentTermId = paymentTermId; + } + public BigDecimal getInvoiceGrandTotal() { + return invoiceGrandTotal; + } + public void setInvoiceGrandTotal(BigDecimal invoiceGrandTotal) { + this.invoiceGrandTotal = invoiceGrandTotal; + } + + public BigDecimal getOverUnderPayment() { + return overUnderPayment; + } + public void setOverUnderPayment(BigDecimal overUnderPayment) { + this.overUnderPayment = overUnderPayment; + } + + public BigDecimal getPaymentAmt() { + return paymentAmt; + } + public void setPaymentAmt(BigDecimal paymentAmt) { + this.paymentAmt = paymentAmt; + } + public String getTrxType() { + return trxType; + } + public void setTrxType(String trxType) { + this.trxType = trxType; + } + public BigDecimal getWriteOffAmt() { + return writeOffAmt; + } + public void setWriteOffAmt(BigDecimal writeOffAmt) { + this.writeOffAmt = writeOffAmt; + } + public String getCurrencySymbole() { + return currencySymbole; + } + public void setCurrencySymbole(String currencySymbole) { + this.currencySymbole = currencySymbole; + } + public Integer[] getInvoiceIds() { + return invoiceIds; + } + public void setInvoiceIds(Integer[] invoiceIds) { + this.invoiceIds = invoiceIds; + } + +} diff --git a/posterita/src/main/org/posterita/beans/OrderBean.java b/posterita/src/main/org/posterita/beans/OrderBean.java new file mode 100644 index 0000000000..d54c38e959 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderBean.java @@ -0,0 +1,73 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ + +/** + @author ashley + */ + +package org.posterita.beans; + +public class OrderBean extends UDIBean +{ + + + public Integer getPaymentTermId() { + return paymentTermId; + } + + public void setPaymentTermId(Integer paymentTermId) { + this.paymentTermId = paymentTermId; + } + + public Integer getOrderId() + { + return orderId; + } + + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public Integer getBpartnerId() { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + + public String getDocStatus() { + return docStatus; + } + + public void setDocStatus(String docStatus) { + this.docStatus = docStatus; + } + + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } +} diff --git a/posterita/src/main/org/posterita/beans/OrderHistoryBean.java b/posterita/src/main/org/posterita/beans/OrderHistoryBean.java new file mode 100644 index 0000000000..5eca8f4b44 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderHistoryBean.java @@ -0,0 +1,339 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 04-Aug-2005 by alok + * + */ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import java.util.ArrayList; + + +public class OrderHistoryBean extends FilterBean +{ + public ArrayList orderHistoryBean; + private ArrayList invoiceHistoryList; + private ArrayList orderHistoryList; + + protected Integer refOrderId; + private FilterBean filterBean; + private String serno; + + + + + + public Integer getDocumentId() { + return documentId; + } + public void setDocumentId(Integer documentId) { + this.documentId = documentId; + } + public Integer[] getOrderIds() { + return orderIds; + } + public void setOrderIds(Integer[] orderIds) { + this.orderIds = orderIds; + } + public String getSerno() { + return serno; + } + + public void setSerno(String serno) { + this.serno = serno; + } + + public Integer getRefOrderId() + { + return refOrderId; + } + + public void setRefOrderId(Integer refOrderId) + { + this.refOrderId = refOrderId; + } + + public Integer getRefToQuote() + { + return refToQuote; + } + public void setRefToQuote(Integer refToQuote) + { + this.refToQuote = refToQuote; + } + public String getOrderType() + { + return orderType; + } + public void setOrderType(String orderType) + { + this.orderType = orderType; + } + public ArrayList getOrderHistoryBean() + { + return orderHistoryBean; + } + + public void setOrderHistoryBean(ArrayList orderHistoryBean) + { + this.orderHistoryBean = orderHistoryBean; + } + + public Integer getInOutId() + { + return inOutId; + } + + public void setInOutId(Integer inOutId) + { + this.inOutId = inOutId; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + + public Integer getPaymentId() + { + return paymentId; + } + + public void setPaymentId(Integer paymentId) + { + this.paymentId = paymentId; + } + + public String getPartnerName() + { + return partnerName; + } + + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + public Integer getBpartnerId() + { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public Timestamp getDateOrdered() + { + return dateOrdered; + } + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + public String getDatePromised() + { + return datePromised; + } + public void setDatePromised(String datePromised) + { + this.datePromised = datePromised; + } + public BigDecimal getOrderGrandTotal() + { + return orderGrandTotal; + } + public void setOrderGrandTotal(BigDecimal orderGrandTotal) + { + this.orderGrandTotal = orderGrandTotal; + } + public String getIsApproved() + { + return isApproved; + } + public void setIsApproved(String isApproved) + { + this.isApproved = isApproved; + } + public String getIsDelivered() + { + return isDelivered; + } + public void setIsDelivered(String isDelivered) + { + this.isDelivered = isDelivered; + } + public String getIsInvoiced() + { + return isInvoiced; + } + public void setIsInvoiced(String isInvoiced) + { + this.isInvoiced = isInvoiced; + } + public String getIsSotrx() + { + return isSoTrx; + } + public void setIsSotrx(String isSotrx) + { + this.isSoTrx = isSotrx; + } + public Integer getOrderId() + { + return orderId; + } + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + public String getPoReference() + { + return poReference; + } + public void setPoReference(String poReference) + { + this.poReference = poReference; + } + + public String getIsSoTrx() + { + return isSoTrx; + } + + public void setIsSoTrx(String isSoTrx) + { + this.isSoTrx = isSoTrx; + } + + public ArrayList getInvoiceHistoryList() + { + return invoiceHistoryList; + } + + public void setInvoiceHistoryList(ArrayList list) + { + this.invoiceHistoryList = list; + } + + public String getSotrxFlag() + { + return sotrxFlag; + } + + public void setSotrxFlag(String sotrxFlag) + { + this.sotrxFlag = sotrxFlag; + } + + public FilterBean getFilterBean() + { + return filterBean; + } + + public void setFilterBean(FilterBean filterBean) + { + this.filterBean = filterBean; + } + + public String getBpName() + { + return bpName; + } + + public void setBpName(String bpName) + { + this.bpName = bpName; + } + + public String getDocStatus() + { + return docStatus; + } + + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + + public ArrayList getOrderHistoryList() + { + return orderHistoryList; + } + + public void setOrderHistoryList(ArrayList orderHistoryList) + { + this.orderHistoryList = orderHistoryList; + } + + public String getCompiereDocStatus() + { + return compiereDocStatus; + } + + public void setCompiereDocStatus(String compiereDocStatus) + { + this.compiereDocStatus = compiereDocStatus; + } + + public Integer getOrderlineCount() + { + return orderlineCount; + } + + public void setOrderlineCount(Integer orderlineCount) + { + this.orderlineCount = orderlineCount; + } + + public Integer getOrderlineInvoicedCount() + { + return orderlineInvoicedCount; + } + + public void setOrderlineInvoicedCount(Integer orderlineInvoicedCount) + { + this.orderlineInvoicedCount = orderlineInvoicedCount; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public Timestamp getDateInvoiced() + { + return dateInvoiced; + } + + public void setDateInvoiced(Timestamp dateInvoiced) + { + this.dateInvoiced = dateInvoiced; + } +} diff --git a/posterita/src/main/org/posterita/beans/OrderInfoBean.java b/posterita/src/main/org/posterita/beans/OrderInfoBean.java new file mode 100644 index 0000000000..14c2ebd399 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderInfoBean.java @@ -0,0 +1,149 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 8, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.sql.Timestamp; + +public class OrderInfoBean +{ + private Integer orderId; + private Integer poReference; + private Timestamp dateOrdered; + private String docStatus; + private String orderedFrom; + private String vinNumber; + private String reserved; + private String assetStatus; + private String orderBy; + private String docType; + private Integer attributeSetInstanceId; + + public Timestamp getDateOrdered() + { + return dateOrdered; + } + + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + + public String getDocStatus() + { + return docStatus; + } + + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + + public String getOrderedFrom() + { + return orderedFrom; + } + + public void setOrderedFrom(String orderedFrom) + { + this.orderedFrom = orderedFrom; + } + + public Integer getPoReference() + { + return poReference; + } + + public void setPoReference(Integer poReference) + { + this.poReference = poReference; + } + + public Integer getOrderId() + { + return orderId; + } + + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public String getAssetStatus() + { + return assetStatus; + } + + public void setAssetStatus(String assetStatus) + { + this.assetStatus = assetStatus; + } + + public String getDocType() + { + return docType; + } + + public void setDocType(String docType) + { + this.docType = docType; + } + + public String getOrderBy() + { + return orderBy; + } + + public void setOrderBy(String orderBy) + { + this.orderBy = orderBy; + } + + public String getReserved() + { + return reserved; + } + + public void setReserved(String reserved) + { + this.reserved = reserved; + } + + public String getVinNumber() + { + return vinNumber; + } + + public void setVinNumber(String vinNumber) + { + this.vinNumber = vinNumber; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } +} diff --git a/posterita/src/main/org/posterita/beans/OrderLineAttributeSetInstanceBean.java b/posterita/src/main/org/posterita/beans/OrderLineAttributeSetInstanceBean.java new file mode 100644 index 0000000000..0bea792765 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderLineAttributeSetInstanceBean.java @@ -0,0 +1,47 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +public class OrderLineAttributeSetInstanceBean +{ + private int orderLineId; + private int attributeSetInstanceId; + + public int getOrderLineId() + { + return orderLineId; + } + + public void setOrderLineId(int orderLineId) + { + this.orderLineId = orderLineId; + } + + public int getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(int attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } +} diff --git a/posterita/src/main/org/posterita/beans/OrderLineBean.java b/posterita/src/main/org/posterita/beans/OrderLineBean.java new file mode 100644 index 0000000000..fb04cab222 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderLineBean.java @@ -0,0 +1,418 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 09-Aug-2005 by alok + * + */ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.ArrayList; + +public class OrderLineBean extends DocumentBean implements Comparable +{ + + + + + + + + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Double getTotalActualPrice() { + return totalActualPrice; + } + public void setTotalActualPrice(Double totalActualPrice) { + this.totalActualPrice = totalActualPrice; + } + public Double getPaymentByCard() { + return paymentByCard; + } + public void setPaymentByCard(Double paymentByCard) { + this.paymentByCard = paymentByCard; + } + public Double getPaymentByCash() { + return paymentByCash; + } + public void setPaymentByCash(Double paymentByCash) { + this.paymentByCash = paymentByCash; + } + public Double getPaymentByChq() { + return paymentByChq; + } + public void setPaymentByChq(Double paymentByChq) { + this.paymentByChq = paymentByChq; + } + public String[] getActualPrice() { + return actualPrice; + } + public void setActualPrice(String[] actualPrice) { + this.actualPrice = actualPrice; + } + + public String[] getDiscountPercent() { + return discountPercent; + } + public void setDiscountPercent(String[] discountPercent) { + this.discountPercent = discountPercent; + } + public String getQtyAndItem() { + return qtyAndItem; + } + public void setQtyAndItem(String qtyAndItem) { + this.qtyAndItem = qtyAndItem; + } + public String getBarCode() { + return barCode; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public Integer[] getPosOrderLineIds() + { + return posOrderLineIds; + } + + public void setPosOrderLineIds(Integer[] posOrderLineIds) + { + this.posOrderLineIds = posOrderLineIds; + } + public String getChequeNo() + { + return chequeNo; + } + + public void setChequeNo(String chequeNo) + { + this.chequeNo = chequeNo; + } + + public Integer getCreditCardExpMonth() + { + return creditCardExpMonth; + } + + public void setCreditCardExpMonth(Integer creditCardExpMonth) + { + this.creditCardExpMonth = creditCardExpMonth; + } + + public Integer getCreditCardExpYear() + { + return creditCardExpYear; + } + + public void setCreditCardExpYear(Integer creditCardExpYear) + { + this.creditCardExpYear = creditCardExpYear; + } + + public String getCreditCardNumber() + { + return creditCardNumber; + } + + public void setCreditCardNumber(String creditCardNumber) + { + this.creditCardNumber = creditCardNumber; + } + + public String getCreditCardType() + { + return creditCardType; + } + + public void setCreditCardType(String creditCardType) + { + this.creditCardType = creditCardType; + } + public Integer getOrderId() + { + return orderId; + } + + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + public String getSurname() { + return surname; + } + public void setSurname(String surname) { + this.surname = surname; + } + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + public Boolean getIsQtyReserved() + { + return isQtyReserved; + } + + public void setIsQtyReserved(Boolean isQtyReserved) + { + this.isQtyReserved = isQtyReserved; + } + public String getEngineNo() { + return engineNo; + } + public void setEngineNo(String engineNo) { + this.engineNo = engineNo; + } + public Integer getQuantity() + { + return quantity; + } + + public void setQuantity(Integer quantity) + { + this.quantity = quantity; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + + public Integer[] getCheckBox() + { + return checkBox; + } + public void setCheckBox(Integer [] checkBox) + { + this.checkBox = checkBox; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public ArrayList getOrderLineList() + { + return orderLineList; + } + public void setOrderLineList(ArrayList orderLineList) + { + this.orderLineList = orderLineList; + } + + public Integer getOrderLineId() + { + return orderLineId; + } + + public void setOrderLineId(Integer orderLineId) + { + this.orderLineId = orderLineId; + } + + public Integer getOrgId() + { + return orgId; + } + + public void setOrgId(Integer orgId) + { + this.orgId = orgId; + } + + public Integer getAllocationId() + { + return allocationId; + } + + public void setAllocationId(Integer allocationId) + { + this.allocationId = allocationId; + } + + public boolean equals(Object obj) + { + OrderLineBean target = (OrderLineBean) obj; + + if ( obj == null) + return false; + + if (this.getAttributeSetInstanceId().equals(target.getAttributeSetInstanceId())) + return true; + + return false; + } + + public String getSubmit() + { + return submit; + } + + public void setSubmit(String submit) + { + this.submit = submit; + } + + + public int compareTo(Object o) + { + OrderLineBean src = (OrderLineBean) o; + + if (src.getAttributeSetInstanceId().intValue() == this.getAttributeSetInstanceId().intValue()) + return 0; + + + return -1; + } + + + + + + + public BigDecimal getAmountGiven() + { + return amountGiven; + } + + public void setAmountGiven(BigDecimal amountGiven) + { + this.amountGiven = amountGiven; + } + + public BigDecimal getAmountRefunded() + { + return amountRefunded; + } + + public void setAmountRefunded(BigDecimal amountRefunded) + { + this.amountRefunded = amountRefunded; + } + public String getTrxType() + { + return trxType; + } + + public void setTrxType(String trxType) + { + this.trxType = trxType; + } + + public String getTransferAmount() { + return transferAmount; + } + public void setTransferAmount(String transferAmount) { + this.transferAmount = transferAmount; + } + + public Integer getCashBookIds() { + return cashBookIds; + } + public void setCashBookIds(Integer cashBookIds) { + this.cashBookIds = cashBookIds; + } + public String getIsSales() { + return isSales; + } + public void setIsSales(String isSales) { + this.isSales = isSales; + } + public String getIfAdd() { + return ifAdd; + } + public void setIfAdd(String ifAdd) { + this.ifAdd = ifAdd; + } + + public String getVendorName() { + return vendorName; + } + public void setVendorName(String vendorName) { + this.vendorName = vendorName; + } + + public String getDocumentNo() { + return documentNo; + } + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + + public BigDecimal getUserDiscount() { + return userDiscount; + } + public void setUserDiscount(BigDecimal userDiscount) { + this.userDiscount = userDiscount; + } + + public Integer getPaymentTermId() { + return paymentTermId; + } + public void setPaymentTermId(Integer paymentTermId) { + this.paymentTermId = paymentTermId; + } + + public String getPaymentTermName() { + return paymentTermName; + } + public void setPaymentTermName(String paymentTermName) { + this.paymentTermName = paymentTermName; + } + public String getToBeShipped() { + return toBeShipped; + } + public void setToBeShipped(String toBeShipped) { + this.toBeShipped = toBeShipped; + } + + public Boolean getOpenDrawer() { + return openDrawer; + } + public void setOpenDrawer(Boolean openDrawer) { + this.openDrawer = openDrawer; + } + +} diff --git a/posterita/src/main/org/posterita/beans/OrderLineImporterBean.java b/posterita/src/main/org/posterita/beans/OrderLineImporterBean.java new file mode 100644 index 0000000000..c7643bab34 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrderLineImporterBean.java @@ -0,0 +1,28 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on Nov 4, 2005 by ashley +* +*/ + +package org.posterita.beans; + +public class OrderLineImporterBean extends UDIBean +{ + +} diff --git a/posterita/src/main/org/posterita/beans/OrgBean.java b/posterita/src/main/org/posterita/beans/OrgBean.java new file mode 100644 index 0000000000..d07906b0d7 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrgBean.java @@ -0,0 +1,207 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + +public class OrgBean extends UDIBean +{ + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public Integer getOrgId() + { + return orgId; + } + + public void setOrgId(Integer orgId) + { + this.orgId = orgId; + } + public String getAddress1() + { + return address1; + } + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public String getOrgName() + { + return orgName; + } + + public void setOrgName(String orgName) + { + this.orgName = orgName; + } + + public String getPostalAddress() + { + return postalAddress; + } + + public void setPostalAddress(String postalAddress1) + { + this.postalAddress = postalAddress1; + } + + public Integer getRegionId() + { + return regionId; + } + + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + public String getRegion() + { + return region; + } + + public void setRegion(String region) + { + this.region = region; + } + + public String getOrgType() + { + return orgType; + } + + public void setOrgType(String orgType) + { + this.orgType = orgType; + } + + public Boolean getIsAutomobile() + { + return isAutomobile; + } + + public void setIsAutomobile(Boolean isAutomobile) + { + this.isAutomobile = isAutomobile; + } + + public Boolean getIsMotorcycle() + { + return isMotorcycle; + } + + public void setIsMotorcycle(Boolean isMotorcycle) + { + this.isMotorcycle = isMotorcycle; + } + + public Boolean getIsRetailer() + { + return isRetailer; + } + + public void setIsRetailer(Boolean isRetailer) + { + this.isRetailer = isRetailer; + } + + public Boolean getIsWholesaler() + { + return isWholesaler; + } + + public void setIsWholesaler(Boolean isWholesaler) + { + this.isWholesaler = isWholesaler; + } + + public String getFax() + { + return fax; + } + + public void setFax(String fax) + { + this.fax = fax; + } + + public String getPhone() + { + return phone; + } + + public void setPhone(String phone) + { + this.phone = phone; + } + + public Boolean getIsActive() + { + return isActive; + } + + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + + public Boolean getIsVisible() + { + return isVisible; + } + + public void setIsVisible(Boolean isVisible) + { + this.isVisible = isVisible; + } + + + public String getActive() + { + return active; + } + public void setActive(String active) + { + this.active = active; + } + public String getVisible() + { + return visible; + } + public void setVisible(String visible) + { + this.visible = visible; + } +} diff --git a/posterita/src/main/org/posterita/beans/OrgUsersBean.java b/posterita/src/main/org/posterita/beans/OrgUsersBean.java new file mode 100644 index 0000000000..4cc85d7399 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/OrgUsersBean.java @@ -0,0 +1,60 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 2, 2005 by din + */ + +package org.posterita.beans; + +import java.util.Vector; + + + + +public class OrgUsersBean extends UDIBean +{ + + + public String getOrgName() + { + return orgName; + } + + public void setOrgName(String orgName) + { + this.orgName = orgName; + } + + public Integer getOrgID() + { + return OrgID; + } + public void setOrgID(Integer orgID) + { + OrgID = orgID; + } + + public Vector getOrgUsers() + { + return orgUsers; + } + public void setOrgUsers(Vector orgUsers) + { + this.orgUsers = orgUsers; + } +} diff --git a/posterita/src/main/org/posterita/beans/POSBean.java b/posterita/src/main/org/posterita/beans/POSBean.java new file mode 100644 index 0000000000..48b8573793 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSBean.java @@ -0,0 +1,238 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on 17-Mar-2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class POSBean extends OrderLineBean +{ + + + + + public Timestamp getDateCreated() { + return dateCreated; + } + public void setDateCreated(Timestamp dateCreated) { + this.dateCreated = dateCreated; + } + public String getCashJournalDisc() { + return cashJournalDisc; + } + public void setCashJournalDisc(String cashJournalDisc) { + this.cashJournalDisc = cashJournalDisc; + } + public Integer getCashJournalId() { + return cashJournalId; + } + public void setCashJournalId(Integer cashJournalId) { + this.cashJournalId = cashJournalId; + } + public String getCashJournalName() { + return cashJournalName; + } + public void setCashJournalName(String cashJournalName) { + this.cashJournalName = cashJournalName; + } + public Timestamp getDateAcct() { + return dateAcct; + } + public void setDateAcct(Timestamp dateAcct) { + this.dateAcct = dateAcct; + } + public String getDocStatus() { + return docStatus; + } + public void setDocStatus(String docStatus) { + this.docStatus = docStatus; + } + public Integer getGrandTotal() { + return grandTotal; + } + public void setGrandTotal(Integer grandTotal) { + this.grandTotal = grandTotal; + } + public String getPaymentRule() { + return paymentRule; + } + public void setPaymentRule(String paymentRule) { + this.paymentRule = paymentRule; + } + public Integer getPriceListId() { + return priceListId; + } + public void setPriceListId(Integer priceListId) { + this.priceListId = priceListId; + } + public String getPriceListName() { + return priceListName; + } + public void setPriceListName(String priceListName) { + this.priceListName = priceListName; + } + public String getWarehouseName() { + return warehouseName; + } + public void setWarehouseName(String warehouseName) { + this.warehouseName = warehouseName; + } + public String getPosDesc() + { + return posDesc; + } + public void setPosDesc(String posDesc) + { + this.posDesc = posDesc; + } + public Integer getPosId() + { + return posId; + } + public void setPosId(Integer posId) + { + this.posId = posId; + } + public String getPosName() + { + return posName; + } + public void setPosName(String posName) + { + this.posName = posName; + } + public String getSaleRepName() + { + return saleRepName; + } + public void setSaleRepName(String saleRepName) + { + this.saleRepName = saleRepName; + } + public Integer getSalesRepId() + { + return salesRepId; + } + public void setSalesRepId(Integer salesRepId) + { + this.salesRepId = salesRepId; + } + public Integer getWarehouseId() + { + return warehouseId; + } + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } + public Integer getCashBookId() + { + return cashBookId; + } + + public void setCashBookId(Integer cashBookId) + { + this.cashBookId = cashBookId; + } + + public String getCashBookName() + { + return cashBookName; + } + + public void setCashBookName(String cashBookName) + { + this.cashBookName = cashBookName; + } + public String getTrxType() + { + return trxType; + } + + + public void setTrxType(String trxType) + { + this.trxType = trxType; + } + public BigDecimal getAmount() + { + return amount; + } + + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + public BigDecimal getBeginingBalance() + { + return beginingBalance; + } + + public void setBeginingBalance(BigDecimal beginingBalance) + { + this.beginingBalance = beginingBalance; + } + + public BigDecimal getEndingBalance() + { + return endingBalance; + } + + public void setEndingBalance(BigDecimal endingBalance) + { + this.endingBalance = endingBalance; + } + + public BigDecimal getStatementDifference() + { + return statementDifference; + } + + public void setStatementDifference(BigDecimal statementDifference) + { + this.statementDifference = statementDifference; + } + + public String toString() + { + StringBuffer buffer = new StringBuffer(); + buffer.append("\n POS NAME= "+ getPosName()); + buffer.append("\n PAYMENT RULE = " + getPaymentRule()); + buffer.append("\n TOTAL = "+getGrandTotal()); + buffer.append("\n The Begining Balance = "+getBeginingBalance()); + buffer.append("\n The Ending Balance = "+getEndingBalance()); + + return buffer.toString(); + + } +} diff --git a/posterita/src/main/org/posterita/beans/POSDescriptionBean.java b/posterita/src/main/org/posterita/beans/POSDescriptionBean.java new file mode 100644 index 0000000000..adff505990 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSDescriptionBean.java @@ -0,0 +1,55 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 4, 2006 + */ + + +package org.posterita.beans; + + +public class POSDescriptionBean extends UDIBean +{ + + + public String getPosName() { + return posName; + } + public void setPosName(String posName) { + this.posName = posName; + } + public Integer getPosId() { + return posId; + } + public void setPosId(Integer posId) { + this.posId = posId; + } + public Integer getWareHouseId() { + return wareHouseId; + } + public void setWareHouseId(Integer wareHouseId) { + this.wareHouseId = wareHouseId; + } + public String getWarehouseName() { + return warehouseName; + } + public void setWarehouseName(String warehouseName) { + this.warehouseName = warehouseName; + } +} diff --git a/posterita/src/main/org/posterita/beans/POSHistoryBean.java b/posterita/src/main/org/posterita/beans/POSHistoryBean.java new file mode 100644 index 0000000000..02d6d76efd --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSHistoryBean.java @@ -0,0 +1,126 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on May 15, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; + + +public class POSHistoryBean extends UDIBean +{ + public String isCustomer; + + + public String getHistoryType() + { + return historyType; + } + public void setHistoryType(String historyType) + { + this.historyType = historyType; + } + public Integer getBpartnerId() + { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + public String getPaymentRule() { + return paymentRule; + } + public void setPaymentRule(String paymentRule) { + this.paymentRule = paymentRule; + } + public String getOrderType() { + return orderType; + } + public void setOrderType(String orderType) { + this.orderType = orderType; + } + public Integer getMonth() { + return month; + } + public void setMonth(Integer month) { + this.month = month; + } + public Integer getYear() { + return year; + } + public void setYear(Integer year) { + this.year = year; + } + public Timestamp getDateAcct() { + return dateAcct; + } + public void setDateAcct(Timestamp dateAcct) { + this.dateAcct = dateAcct; + } + public String getDocumentNo() { + return documentNo; + } + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + public BigDecimal getOrderGrandTotal() { + return orderGrandTotal; + } + public void setOrderGrandTotal(BigDecimal orderGrandTotal) { + this.orderGrandTotal = orderGrandTotal; + } + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + public Integer getOrderId() { + return orderId; + } + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public String getDocStatus() + { + return docStatus; + } + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + public String getIsCustomer() + { + return isCustomer; + } + public void setIsCustomer(String isCustomer) + { + this.isCustomer = isCustomer; + } +} diff --git a/posterita/src/main/org/posterita/beans/POSInfoBean.java b/posterita/src/main/org/posterita/beans/POSInfoBean.java new file mode 100644 index 0000000000..28feb5f9c5 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSInfoBean.java @@ -0,0 +1,99 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 3, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class POSInfoBean extends UDIBean +{ + public String getPosName() + { + return posName; + } + public void setPosName(String posName) + { + this.posName = posName; + } + + public String getPaymentRule() { + return paymentRule; + } + public void setPaymentRule(String paymentRule) { + this.paymentRule = paymentRule; + } + public BigDecimal getOrderGrandTotal() { + return orderGrandTotal; + } + public void setOrderGrandTotal(BigDecimal orderGrandTotal) { + this.orderGrandTotal = orderGrandTotal; + } + + public BigDecimal getTillGrandTotal() + { + return tillGrandTotal; + } + public void setTillGrandTotal(BigDecimal tillGrandTotal) + { + this.tillGrandTotal = tillGrandTotal; + } + public BigDecimal getCashTotal() + { + return cashTotal; + } + + public void setCashTotal(BigDecimal cashTotal) + { + this.cashTotal = cashTotal; + } + + public BigDecimal getCardTotal() + { + return cardTotal; + } + public void setCardTotal(BigDecimal cardTotal) + { + this.cardTotal = cardTotal; + } + public BigDecimal getChequeTotal() + { + return chequeTotal; + } + public void setChequeTotal(BigDecimal chequeTotal) + { + this.chequeTotal = chequeTotal; + } + public String toString() + { + StringBuffer buffer = new StringBuffer(); + buffer.append("\n POS NAME= "+ getPosName()); + buffer.append("\n PAYMENT RULE = " + getPaymentRule()); + buffer.append("\n TOTAL = "+getOrderGrandTotal()); + + + return buffer.toString(); + + } + +} diff --git a/posterita/src/main/org/posterita/beans/POSReportBean.java b/posterita/src/main/org/posterita/beans/POSReportBean.java new file mode 100644 index 0000000000..20edec28d4 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSReportBean.java @@ -0,0 +1,155 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 11, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class POSReportBean extends UDIBean +{ + + + + + + + + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public Integer getQtyInventoryIn() { + return qtyInventoryIn; + } + public void setQtyInventoryIn(Integer qtyInventoryIn) { + this.qtyInventoryIn = qtyInventoryIn; + } + public Integer getQtyInventoryOut() { + return qtyInventoryOut; + } + public void setQtyInventoryOut(Integer qtyInventoryOut) { + this.qtyInventoryOut = qtyInventoryOut; + } + public String getProductCategory() { + return productCategory; + } + public void setProductCategory(String productCategory) { + this.productCategory = productCategory; + } + public String getBrandName() { + return brandName; + } + public void setBrandName(String brandName) { + this.brandName = brandName; + } + public String getColourName() { + return colourName; + } + public void setColourName(String colourName) { + this.colourName = colourName; + } + public String getDesignName() { + return designName; + } + public void setDesignName(String designName) { + this.designName = designName; + } + public BigDecimal getEndingBalance() + { + return endingBalance; + } + + public void setEndingBalance(BigDecimal endingBalance) + { + this.endingBalance = endingBalance; + } + public String getModelName() { + return modelName; + } + public void setModelName(String modelName) { + this.modelName = modelName; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public Integer getQuantity() { + return quantity; + } + public void setQuantity(Integer quantity) { + this.quantity= quantity; + } + public String getSizeName() { + return sizeName; + } + public void setSizeName(String sizeName) { + this.sizeName = sizeName; + } + public Integer getCloseingBalanceQty() { + return closeingBalanceQty; + } + public void setCloseingBalanceQty(Integer closeingBalanceQty) { + this.closeingBalanceQty = closeingBalanceQty; + } + public String getProductName() { + return productName; + } + public void setProductName(String productName) { + this.productName = productName; + } + public Integer getOpeningBalanceQty() { + return openingBalanceQty; + } + public void setOpeningBalanceQty(Integer openingBalanceQty) { + this.openingBalanceQty = openingBalanceQty; + } + public Integer getQtyOfGoodsReceived() { + return qtyOfGoodsReceived; + } + public void setQtyOfGoodsReceived(Integer qtyOfGoodsReceived) { + this.qtyOfGoodsReceived = qtyOfGoodsReceived; + } + public Integer getQtyOfGoodsReturned() { + return qtyOfGoodsReturned; + } + public void setQtyOfGoodsReturned(Integer qtyOfGoodsReturned) { + this.qtyOfGoodsReturned = qtyOfGoodsReturned; + } + public Integer getQtyOfGoodsSold() { + return qtyOfGoodsSold; + } + public void setQtyOfGoodsSold(Integer qtyOfGoodsSold) { + this.qtyOfGoodsSold = qtyOfGoodsSold; + } + public Integer getQtyReturnedByCustomer() { + return qtyReturnedByCustomer; + } + public void setQtyReturnedByCustomer(Integer qtyReturnedByCustomer) { + this.qtyReturnedByCustomer = qtyReturnedByCustomer; + } +} diff --git a/posterita/src/main/org/posterita/beans/POSStockBean.java b/posterita/src/main/org/posterita/beans/POSStockBean.java new file mode 100644 index 0000000000..727f75229b --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSStockBean.java @@ -0,0 +1,128 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 8, 2006 + */ + + +package org.posterita.beans; + +import java.util.HashMap; + + +public class POSStockBean extends UDIBean +{ + + + + public String getQtyFilter() { + return qtyFilter; + } + + public void setQtyFilter(String qtyFilter) { + this.qtyFilter = qtyFilter; + } + + public Boolean getIsTextileProduct() { + return isTextileProduct; + } + + public void setIsTextileProduct(Boolean isTextileProduct) { + this.isTextileProduct = isTextileProduct; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public HashMap getAttributeValuesMap() { + return attributeValuesMap; + } + public void setAttributeValuesMap(HashMap attributeValuesMap) { + this.attributeValuesMap = attributeValuesMap; + } + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public String getProductName() { + return productName; + } + public void setProductName(String productName) { + this.productName = productName; + } + public Integer getQuantity() { + return quantity; + } + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + public String getBrandName() { + return brandName; + } + public void setBrandName(String brandName) { + this.brandName = brandName; + } + public String getColourName() { + return colourName; + } + public void setColourName(String colourName) { + this.colourName = colourName; + } + public String getDesignName() { + return designName; + } + public void setDesignName(String designName) { + this.designName = designName; + } + public String getModelName() { + return modelName; + } + public void setModelName(String modelName) { + this.modelName = modelName; + } + public String getSizeName() { + return sizeName; + } + public void setSizeName(String sizeName) { + this.sizeName = sizeName; + } + + public AttributeValuesPair getAttributeValuesPair() + { + return attributeValuesPair; + } + + public void setAttributeValuesPair(AttributeValuesPair attributeValuesPair) + { + this.attributeValuesPair = attributeValuesPair; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/POSSupplierBean.java b/posterita/src/main/org/posterita/beans/POSSupplierBean.java new file mode 100644 index 0000000000..1e926e7f31 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/POSSupplierBean.java @@ -0,0 +1,43 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 8, 2006 + */ + + +package org.posterita.beans; + + +public class POSSupplierBean extends UDIBean +{ + + + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } +} diff --git a/posterita/src/main/org/posterita/beans/PaymentAllocationBean.java b/posterita/src/main/org/posterita/beans/PaymentAllocationBean.java new file mode 100644 index 0000000000..92a799d430 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PaymentAllocationBean.java @@ -0,0 +1,124 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 30, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class PaymentAllocationBean extends UDIBean +{ + + + + + + + + public Integer getCreditMemoId() { + return creditMemoId; +} +public void setCreditMemoId(Integer creditMemoId) { + this.creditMemoId = creditMemoId; +} +public String getCreditMemoNumber() { + return creditMemoNumber; +} +public void setCreditMemoNumber(String creditMemoNumber) { + this.creditMemoNumber = creditMemoNumber; +} + public BigDecimal getAmount() { + return amount; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public Integer getCashLineId() { + return cashLineId; + } + public void setCashLineId(Integer cashLineId) { + this.cashLineId = cashLineId; + } + public BigDecimal getDiscountAmt() { + return discountAmt; + } + public void setDiscountAmt(BigDecimal discountAmt) { + this.discountAmt = discountAmt; + } + public String getDocumentNo() { + return documentNo; + } + public void setDocumentNo(String documentNo) { + this.documentNo = documentNo; + } + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + public String getInvoiceNo() { + return invoiceNo; + } + public void setInvoiceNo(String invoiceNo) { + this.invoiceNo = invoiceNo; + } + public Integer getOrderId() { + return orderId; + } + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + public BigDecimal getOverUnderPayment() { + return overUnderPayment; + } + public void setOverUnderPayment(BigDecimal overUnderPayment) { + this.overUnderPayment = overUnderPayment; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public Integer getPaymentId() { + return paymentId; + } + public void setPaymentId(Integer paymentId) { + this.paymentId = paymentId; + } + public BigDecimal getWriteOffAmt() { + return writeOffAmt; + } + public void setWriteOffAmt(BigDecimal writeOffAmt) { + this.writeOffAmt = writeOffAmt; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/PaymentBean.java b/posterita/src/main/org/posterita/beans/PaymentBean.java new file mode 100644 index 0000000000..8f6e3428e1 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PaymentBean.java @@ -0,0 +1,115 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class PaymentBean extends PaymentHistoryBean +{ + private AttributeValuesPair attributeValuesPair; + private String serno; + + + public Integer[] getInvoiceIds() { + return invoiceIds; + } + public void setInvoiceIds(Integer[] invoiceIds) { + this.invoiceIds = invoiceIds; + } + + public BigDecimal[] getAllocateAmount() { + return allocateAmount; + } + public void setAllocateAmount(BigDecimal[] allocateAmount) { + this.allocateAmount = allocateAmount; + } + public Integer getInvoiceId() { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) { + this.invoiceId = invoiceId; + } + + + + + public BigDecimal getAllocatedAmount() { + return allocatedAmount; + } + public void setAllocatedAmount(BigDecimal allocatedAmount) { + this.allocatedAmount = allocatedAmount; + } + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public AttributeValuesPair getAttributeValuesPair() + { + return attributeValuesPair; + } + public void setAttributeValuesPair(AttributeValuesPair attributeValuesPair) + { + this.attributeValuesPair = attributeValuesPair; + } + public String getSerno() + { + return serno; + } + public void setSerno(String serno) + { + this.serno = serno; + } + + + + public String getPartnerName() + { + return partnerName; + } + + public String getTrxType() { + return trxType; + } + public void setTrxType(String trxType) { + this.trxType = trxType; + } + public String getChequeNo() { + return chequeNo; + } + public void setChequeNo(String chequeNo) { + this.chequeNo = chequeNo; + } + public String getCreditCardNumber() { + return creditCardNumber; + } + public void setCreditCardNumber(String creditCardNumber) { + this.creditCardNumber = creditCardNumber; + } + public BigDecimal getAmount() { + return amount; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + +} diff --git a/posterita/src/main/org/posterita/beans/PaymentHistoryBean.java b/posterita/src/main/org/posterita/beans/PaymentHistoryBean.java new file mode 100644 index 0000000000..46c3e292ad --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PaymentHistoryBean.java @@ -0,0 +1,101 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 05-Aug-2005 by alok + * + */ +package org.posterita.beans; + +import java.sql.Timestamp; + + +public class PaymentHistoryBean extends FilterBean +{ + private MinOutHistoryBean minoutHistoryBean; + + public MinOutHistoryBean getMinoutHistoryBean() + { + return minoutHistoryBean; + } + + public void setMinoutHistoryBean(MinOutHistoryBean bean) + { + this.minoutHistoryBean = bean; + } + + public String getCheckNo() + { + return checkNo; + } + public void setCheckNo(String checkNo) + { + this.checkNo = checkNo; + } + public Timestamp getDateTrx() + { + return dateTrx; + } + public void setDateTrx(Timestamp dateTrx) + { + this.dateTrx = dateTrx; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + public String getIsReceipt() + { + return isReceipt; + } + public void setIsReceipt(String isReceipt) + { + this.isReceipt = isReceipt; + } + public Integer getOrderId() + { + return orderId; + } + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public Integer getPayAmt() + { + return payAmt; + } + public void setPayAmt(Integer payAmt) + { + this.payAmt = payAmt; + } + public Integer getPaymentId() + { + return paymentId; + } + public void setPaymentId(Integer paymentId) + { + this.paymentId = paymentId; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/PaymentTermBean.java b/posterita/src/main/org/posterita/beans/PaymentTermBean.java new file mode 100644 index 0000000000..11932bef0f --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PaymentTermBean.java @@ -0,0 +1,120 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 31, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class PaymentTermBean extends UDIBean +{ + + + + + + + + + public BigDecimal getDiscountAmt1() { + return discountAmt1; + } + public void setDiscountAmt1(BigDecimal discountAmt1) { + this.discountAmt1 = discountAmt1; + } + public BigDecimal getDiscountAmt2() { + return discountAmt2; + } + public void setDiscountAmt2(BigDecimal discountAmt2) { + this.discountAmt2 = discountAmt2; + } + public Integer getDiscountDay1() { + return discountDay1; + } + public void setDiscountDay1(Integer discountDay1) { + this.discountDay1 = discountDay1; + } + public Integer getDiscountDay2() { + return discountDay2; + } + public void setDiscountDay2(Integer discountDay2) { + this.discountDay2 = discountDay2; + } + public Boolean getAfterDelivery() { + return afterDelivery; + } + public void setAfterDelivery(Boolean afterDelivery) { + this.afterDelivery = afterDelivery; + } + public Integer getFiedMonthCutoff() { + return fiedMonthCutoff; + } + public void setFiedMonthCutoff(Integer fiedMonthCutoff) { + this.fiedMonthCutoff = fiedMonthCutoff; + } + public Boolean getFixedDueDate() { + return fixedDueDate; + } + public void setFixedDueDate(Boolean fixedDueDate) { + this.fixedDueDate = fixedDueDate; + } + public Integer getFixedMonthDay() { + return fixedMonthDay; + } + public void setFixedMonthDay(Integer fixedMonthDay) { + this.fixedMonthDay = fixedMonthDay; + } + public Integer getFixedMonthOffset() { + return fixedMonthOffset; + } + public void setFixedMonthOffset(Integer fixedMonthOffset) { + this.fixedMonthOffset = fixedMonthOffset; + } + public Boolean getNextBusinessday() { + return nextBusinessday; + } + public void setNextBusinessday(Boolean nextBusinessday) { + this.nextBusinessday = nextBusinessday; + } + public Integer getPaymentTermId() { + return paymentTermId; + } + public void setPaymentTermId(Integer paymentTermId) { + this.paymentTermId = paymentTermId; + } + + public String getPaymentTermName() { + return paymentTermName; + } + public void setPaymentTermName(String paymentTermName) { + this.paymentTermName = paymentTermName; + } + public Integer getNetDays() { + return netDays; + } + public void setNetDays(Integer netDays) { + this.netDays = netDays; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/PaymentTypeBean.java b/posterita/src/main/org/posterita/beans/PaymentTypeBean.java new file mode 100644 index 0000000000..9ed016c96b --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PaymentTypeBean.java @@ -0,0 +1,47 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Oct 25, 2006 + */ + + +package org.posterita.beans; + + +public class PaymentTypeBean +{ + protected String paymentType; + + protected Integer id; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getPaymentType() { + return paymentType; + } + + public void setPaymentType(String paymentType) { + this.paymentType = paymentType; + } +} diff --git a/posterita/src/main/org/posterita/beans/PopulateHistoryBean.java b/posterita/src/main/org/posterita/beans/PopulateHistoryBean.java new file mode 100644 index 0000000000..0aec697136 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PopulateHistoryBean.java @@ -0,0 +1,37 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 09-Aug-2005 by alok + * + */ +package org.posterita.beans; + + +public class PopulateHistoryBean extends UDIBean +{ + + protected String partnerName; + protected String DocStatus; + protected String isDelivered; + protected String isInvoiced; + protected String isPaid; + protected String isReceipt; + protected String isSotrx; + + +} diff --git a/posterita/src/main/org/posterita/beans/PriceListBean.java b/posterita/src/main/org/posterita/beans/PriceListBean.java new file mode 100644 index 0000000000..f27e9e588a --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PriceListBean.java @@ -0,0 +1,107 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 19, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.math.BigDecimal; + +public class PriceListBean extends UDIBean +{ + private String colour,model,transmission,year; + protected BigDecimal priceList;; + + public Integer getPriceListVersionId() + { + return priceListVersionId; + } + + public void setPriceListVersionId(Integer priceListVersionId) + { + this.priceListVersionId = priceListVersionId; + } + + public String getColour() + { + return colour; + } + + public void setColour(String colour) + { + this.colour = colour; + } + + public String getModel() + { + return model; + } + + public void setModel(String model) + { + this.model = model; + } + + public String getTransmission() + { + return transmission; + } + + public void setTransmission(String transmission) + { + this.transmission = transmission; + } + + public String getYear() + { + return year; + } + + public void setYear(String year) + { + this.year = year; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public BigDecimal getPriceList() + { + return priceList; + } + + public void setPriceList(BigDecimal priceList) + { + this.priceList = priceList; + } + + public Integer[] getProductIds() { + return productIds; + } + public void setProductIds(Integer[] productIds) { + this.productIds = productIds; + } +} diff --git a/posterita/src/main/org/posterita/beans/PrintBarcodeBean.java b/posterita/src/main/org/posterita/beans/PrintBarcodeBean.java new file mode 100644 index 0000000000..0d77237e72 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/PrintBarcodeBean.java @@ -0,0 +1,64 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 04-Oct-2006 10:41:05 by praveen + * + */ + +package org.posterita.beans; + +public class PrintBarcodeBean +{ + private int qty; + private String title; + private String subtitle; + private String barcode; + private String price; + + public String getBarcode() { + return barcode; + } + public void setBarcode(String barcode) { + this.barcode = barcode; + } + public String getPrice() { + return price; + } + public void setPrice(String price) { + this.price = price; + } + public int getQty() { + return qty; + } + public void setQty(int qty) { + this.qty = qty; + } + public String getSubtitle() { + return subtitle; + } + public void setSubtitle(String subtitle) { + this.subtitle = subtitle; + } + public String getTitle() { + return title; + } + public void setTitle(String title) { + this.title = title; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ProductAttributeBean.java b/posterita/src/main/org/posterita/beans/ProductAttributeBean.java new file mode 100644 index 0000000000..66f1ede656 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductAttributeBean.java @@ -0,0 +1,141 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jul 28, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.util.ArrayList; + +public class ProductAttributeBean extends UDIBean +{ + private ArrayList attributeSets; + private ArrayList attributes; + private ArrayList attributeValues; + + public String getAttribute() + { + return attribute; + } + + public void setAttribute(String attribute) + { + this.attribute = attribute; + } + + public Integer getAttributeId() + { + return attributeId; + } + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + public Integer getAttributeSetId() + { + return attributeSetId; + } + + public void setAttributeSetId(Integer attributeSetId) + { + this.attributeSetId = attributeSetId; + } + + public String getAttributeValue() + { + return attributeValue; + } + + public void setAttributeValue(String attributeValue) + { + this.attributeValue = attributeValue; + } + + public ArrayList getAttributes() + { + return attributes; + } + + public void setAttributes(ArrayList attributes) + { + this.attributes = attributes; + } + + public ArrayList getAttributeSets() + { + return attributeSets; + } + + public void setAttributeSets(ArrayList attributeSets) + { + this.attributeSets = attributeSets; + } + + public ArrayList getAttributeValues() + { + return attributeValues; + } + + public void setAttributeValues(ArrayList attributeValues) + { + this.attributeValues = attributeValues; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public Integer getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(Integer productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + + public Integer getAttributeValueId() { + return attributeValueId; + } + public void setAttributeValueId(Integer attributeValueId) { + this.attributeValueId = attributeValueId; + } + public Boolean getShowActiveOnly() { + return showActiveOnly; + } + public void setShowActiveOnly(Boolean showActiveOnly) { + this.showActiveOnly = showActiveOnly; + } + public Integer getUpdateAttrValueId() { + return updateAttrValueId; + } + public void setUpdateAttrValueId(Integer updateAttrValueId) { + this.updateAttrValueId = updateAttrValueId; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductAttributeValueBean.java b/posterita/src/main/org/posterita/beans/ProductAttributeValueBean.java new file mode 100644 index 0000000000..3fb1ea95db --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductAttributeValueBean.java @@ -0,0 +1,69 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 31, 2005 by praveen + * + */ +package org.posterita.beans; + +public class ProductAttributeValueBean extends UDIBean +{ + + protected String attrColour; + protected String attrModel; + protected String attrTrx; + protected String attrYear; + + public String getAttrColour() { + return attrColour; + } + public void setAttrColour(String attrColour) { + this.attrColour = attrColour; + } + public String getAttrModel() { + return attrModel; + } + public void setAttrModel(String attrModel) { + this.attrModel = attrModel; + } + public String getAttrTrx() { + return attrTrx; + } + public void setAttrTrx(String attrTrx) { + this.attrTrx = attrTrx; + } + public String getAttrYear() { + return attrYear; + } + public void setAttrYear(String attrYear) { + this.attrYear = attrYear; + } + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public String getProductName() { + return productName; + } + public void setProductName(String productName) { + this.productName = productName; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ProductBean.java b/posterita/src/main/org/posterita/beans/ProductBean.java new file mode 100644 index 0000000000..43af4ca5f3 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductBean.java @@ -0,0 +1,774 @@ +/* + * + * Copyright (c) 2005 UDI Ltd. All Rights Reserved. + * + * This software is the confidential and proprietary information of UDI Ltd. + * ("Confidential Information"). You shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with UDI. + * + * UDI MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE + * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT. UDI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY + * LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS + * DERIVATIVES. + * + */ + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.HashMap; + +import org.apache.struts.upload.FormFile; + +public class ProductBean extends UDIBean implements Comparable +{ + + protected Integer attributeSetId; + protected Integer mAttrSetInstanceId; + + + private String productName; + + private String engineNo; + + private Integer qtyOnHand; + + private Integer qtyReserved = Integer.valueOf(0); + + private Integer qtyOrdered = Integer.valueOf(0); + + private Integer productId; + + private BigDecimal priceList; + + private BigDecimal priceLimit; + + private BigDecimal priceStandard; + + private Integer orgId; + + //this is the attributeSetInstance corresponding to the serial number + private Integer sernoAttributeSetInstance; + + //attributeSetInstance for model/colour/transmission/year + private Integer attributeSetInstanceId; + + private Integer priceListVersionId; + + private Integer locatorId; + + private String regionName; + + private ArrayList orderLineList; + + private ArrayList productInstances; + + private String priceListName; + + private String orgName; + + private String serno; + + private AttributeValuesPair attributeValuesPair; + + private Integer productCategoryId; + + // Y/N + private String isOwnedByWholesaler; + + private String isNatisReleased; + + private String reserveStatus; + + private String warehouseName; + + private String ETA; + + private ProductImageInfo imageInfo; + + private HashMap attributeValuesMap; + + private String description; + + private String imageLink; + private String textLink; + + private String customSize; + + private String group1; + + private String group2; + + + + + + + + + + public Integer getTaxCategoryId() { + return taxCategoryId; + } + public void setTaxCategoryId(Integer taxCategoryId) { + this.taxCategoryId = taxCategoryId; + } + public String getTaxCategoryName() { + return taxCategoryName; + } + public void setTaxCategoryName(String taxCategoryName) { + this.taxCategoryName = taxCategoryName; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public Integer getBpartnerId() { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } + public String getBarCode() { + return barCode; + } + public void setBarCode(String barCode) { + this.barCode = barCode; + } + //TODO refactor this + private ArrayList availableColours; + + private ArrayList availableSizes; + + + public Integer getLicensingDistrictId() + { + return licensingDistrictId; + } + public void setLicensingDistrictId(Integer licensingDistrictId) { + this.licensingDistrictId = licensingDistrictId; + } + + public String getReserveStatus() + { + return reserveStatus; + } + + public void setReserveStatus(String reserveStatus) + { + this.reserveStatus = reserveStatus; + } + + public String getIsOwnedByWholesaler() + { + return isOwnedByWholesaler; + } + + public void setIsOwnedByWholesaler(String isOwnedByWholesaler) + { + this.isOwnedByWholesaler = isOwnedByWholesaler; + } + + + public Integer getQuantity() + { + return quantity; + } + public void setQuantity(Integer quantity) + { + this.quantity = quantity; + } + public ArrayList getOrderLineList() + { + return orderLineList; + } + + public void setOrderLineList(ArrayList orderLineList) + { + this.orderLineList = orderLineList; + } + + public String getProductName() + { + return productName; + } + + public void setProductName(String productName) + { + this.productName = productName; + } + + public Integer getQtyOnHand() + { + return qtyOnHand; + } + + public void setQtyOnHand(Integer qtyOnHand) + { + this.qtyOnHand = qtyOnHand; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public BigDecimal getPriceList() + { + return priceList; + } + + public void setPriceList(BigDecimal priceList) + { + this.priceList = priceList; + } + + public BigDecimal getPriceLimit() + { + return priceLimit; + } + + public void setPriceLimit(BigDecimal priceLimit) + { + this.priceLimit = priceLimit; + } + + public BigDecimal getPriceStandard() + { + return priceStandard; + } + + public void setPriceStandard(BigDecimal priceStandard) + { + this.priceStandard = priceStandard; + } + + public ArrayList getProductInstances() + { + return productInstances; + } + + public void setProductInstances(ArrayList productInstances) + { + this.productInstances = productInstances; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public Integer getLocatorId() + { + return locatorId; + } + + public void setLocatorId(Integer locatorId) + { + this.locatorId = locatorId; + } + + public Integer getOrgId() + { + return orgId; + } + + public void setOrgId(Integer orgId) + { + this.orgId = orgId; + } + + public Integer getQtyReserved() + { + return qtyReserved; + } + + public void setQtyReserved(Integer qtyReserved) + { + this.qtyReserved = qtyReserved; + } + + public Integer getQtyOrdered() + { + return qtyOrdered; + } + + public void setQtyOrdered(Integer qtyOrdered) + { + this.qtyOrdered = qtyOrdered; + } + + public String getOrgName() + { + return orgName; + } + + public void setOrgName(String orgName) + { + this.orgName = orgName; + } + + + public int compareTo(Object o) + { + if (o == null) + return -1; + + ProductBean bean = (ProductBean) o; + + return (bean.getProductName().compareToIgnoreCase(this.getProductName())); + } + + public boolean equals(Object obj) + { + ProductBean bean = (ProductBean) obj; + + if ( obj == null) + return false; + + if (bean.getProductId().intValue() == this.getProductId().intValue()) + return true; + + return false; + } + + public Integer getSernoAttributeSetInstance() + { + return sernoAttributeSetInstance; + } + + public void setSernoAttributeSetInstance(Integer sernoAttributeSetInstance) + { + this.sernoAttributeSetInstance = sernoAttributeSetInstance; + } + + public String getRegionName() + { + return regionName; + } + + public void setRegionName(String regionName) + { + this.regionName = regionName; + } + + public void setSerno(String serno) + { + this.serno = serno; + } + + public String getSerno() + { + return serno; + } + + + public String getIsNatisReleased() + { + return isNatisReleased; + } + + public void setIsNatisReleased(String isNatisReleased) + { + this.isNatisReleased = isNatisReleased; + } + + public String getPriceListName() + { + return priceListName; + } + + public void setPriceListName(String priceListName) + { + this.priceListName = priceListName; + } + + public Integer getPriceListVersionId() + { + return priceListVersionId; + } + + public void setPriceListVersionId(Integer priceListVersionId) + { + this.priceListVersionId = priceListVersionId; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + public void setCheckBox(Integer [] checkBox) + { + this.checkBox = checkBox; + } + + + public AttributeValuesPair getAttributeValuesPair() + { + return attributeValuesPair; + } + + public void setAttributeValuesPair(AttributeValuesPair attributeValuesPair) + { + this.attributeValuesPair = attributeValuesPair; + } + + + public String getEngineNo() { + return engineNo; + } + public void setEngineNo(String engineNo) { + this.engineNo = engineNo; + } + + public Integer getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(Integer productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + public String getWarehouseType() + { + return warehouseType; + } + + public void setWarehouseType(String warehouseType) + { + this.warehouseType = warehouseType; + } + + public String toString() + { + return this.getProductName(); + } + + public String getWarehouseName() + { + return warehouseName; + } + + public void setWarehouseName(String warehouseName) + { + this.warehouseName = warehouseName; + } + + public Integer getWarehouseId() + { + return warehouseId; + } + + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } + + public String getETA() + { + return ETA; + } + public void setETA(String eta) + { + ETA = eta; + } + + public Integer[] getProductIds() + { + return productIds; + } + + public void setProductIds(Integer[] productIds) + { + this.productIds = productIds; + } + + public ProductImageInfo getImageInfo() + { + return imageInfo; + } + public void setImageInfo(ProductImageInfo imageInfo) + { + this.imageInfo = imageInfo; + } + + public HashMap getAttributeValuesMap() + { + return attributeValuesMap; + } + + public void setAttributeValuesMap(HashMap attributeValuesMap) + { + this.attributeValuesMap = attributeValuesMap; + } + + + public String getDescription() + { + return description; + } + public void setDescription(String description) + { + this.description = description; + } + + public ArrayList getAvailableColours() + { + return availableColours; + } + public void setAvailableColours(ArrayList availableColours) + { + this.availableColours = availableColours; + } + public ArrayList getAvailableSizes() + { + return availableSizes; + } + public void setAvailableSizes(ArrayList availableSizes) + { + this.availableSizes = availableSizes; + } + + public Integer getAttributeId() + { + return attributeId; + } + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + + public String getImageLink() + { + return imageLink; + } + + public void setImageLink(String imageLink) + { + this.imageLink = imageLink; + } + + public String getTextLink() + { + return textLink; + } + + public void setTextLink(String textLink) + { + this.textLink = textLink; + } + public String getCurrency() + { + return currency; + } + public void setCurrency(String currency) + { + this.currency = currency; + } + + public String getSalesPriceLimit() { + return salesPriceLimit; + } + public void setSalesPriceLimit(String salesPriceLimit) { + this.salesPriceLimit = salesPriceLimit; + } + public String getSalesPriceList() { + return salesPriceList; + } + public void setSalesPriceList(String salesPriceList) { + this.salesPriceList = salesPriceList; + } + public String getSalesPriceStandard() { + return salesPriceStandard; + } + public void setSalesPriceStandard(String salesPriceStandard) { + this.salesPriceStandard = salesPriceStandard; + } + + + public String getBrandName() { + return brandName; + } + public void setBrandName(String brandName) { + this.brandName = brandName; + } + public String getColourName() { + return colourName; + } + public void setColourName(String colourName) { + this.colourName = colourName; + } + public String getDesignName() { + return designName; + } + public void setDesignName(String designName) { + this.designName = designName; + } + public String getSizeName() { + return sizeName; + } + public void setSizeName(String sizeName) { + this.sizeName = sizeName; + } + public String[] getSizes() + { + return sizes; + } + public void setSizes(String[] sizes) + { + this.sizes = sizes; + } + + + + public String getPurchasePriceLimit() { + return purchasePriceLimit; + } + public void setPurchasePriceLimit(String purchasePriceLimit) { + this.purchasePriceLimit = purchasePriceLimit; + } + public String getPurchasePriceList() { + return purchasePriceList; + } + public void setPurchasePriceList(String purchasePriceList) { + this.purchasePriceList = purchasePriceList; + } + public String getPurchasePriceStandard() { + return purchasePriceStandard; + } + public void setPurchasePriceStandard(String purchasePriceStandard) { + this.purchasePriceStandard = purchasePriceStandard; + } + public String getModelName() { + return modelName; + } + public void setModelName(String modelName) { + this.modelName = modelName; + } + public String getRevenueRecognition() { + return revenueRecognition; + } + public void setRevenueRecognition(String revenueRecognition) { + this.revenueRecognition = revenueRecognition; + } + public Integer getAttributeSetId() { + return attributeSetId; + } + public void setAttributeSetId(Integer attributeSetId) { + this.attributeSetId = attributeSetId; + } + public Integer getMAttrSetInstanceId() { + return mAttrSetInstanceId; + } + public void setMAttrSetInstanceId(Integer attrSetInstanceId) { + mAttrSetInstanceId = attrSetInstanceId; + } + public Integer getRevenueRecoId() { + return revenueRecoId; + } + public void setRevenueRecoId(Integer revenueRecoId) { + this.revenueRecoId = revenueRecoId; + } + + public String getProductType() { + return productType; + } + public void setProductType(String productType) { + this.productType = productType; + } + + public Boolean getIsActive() { + return isActive; + } + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + public BigDecimal getTaxRate() { + return taxRate; + } + public void setTaxRate(BigDecimal taxRate) { + this.taxRate = taxRate; + } + public String getCustomSize() { + return customSize; + } + public void setCustomSize(String customSize) { + this.customSize = customSize; + } + public String getProductClassification() + { + return productClassification; + } + public void setProductClassification(String productClassification) + { + this.productClassification = productClassification; + } + public String getKeyword2() + { + return keyword2; + } + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + + public Boolean getIsSelfService() + { + return isSelfService; + } + + public void setIsSelfService(Boolean isSelfService) + { + this.isSelfService = isSelfService; + } + + public String getSearchText() + { + return searchText; + } + + public void setSearchText(String searchText) + { + this.searchText = searchText; + } + + public FormFile getFile() { + return file; + } + public void setFile(FormFile file) { + this.file = file; + } + public String getGroup1() { + return group1; + } + public void setGroup1(String group1) { + this.group1 = group1; + } + public String getGroup2() { + return group2; + } + public void setGroup2(String group2) { + this.group2 = group2; + } + +} \ No newline at end of file diff --git a/posterita/src/main/org/posterita/beans/ProductCategoryBean.java b/posterita/src/main/org/posterita/beans/ProductCategoryBean.java new file mode 100644 index 0000000000..bd6eed6b3e --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductCategoryBean.java @@ -0,0 +1,42 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Created on May 9, 2006 + */ + + +package org.posterita.beans; + + +public class ProductCategoryBean extends UDIBean +{ + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public Integer getProductCategoryId() { + return productCategoryId; + } + public void setProductCategoryId(Integer productCategoryId) { + this.productCategoryId = productCategoryId; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductDetailsBean.java b/posterita/src/main/org/posterita/beans/ProductDetailsBean.java new file mode 100644 index 0000000000..2fd2d184c2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductDetailsBean.java @@ -0,0 +1,128 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ + +/** + @author ashley + */ + +package org.posterita.beans; + +public class ProductDetailsBean extends UDIBean +{ + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public String getBarCode() + { + return barCode; + } + + public void setBarCode(String barCode) + { + this.barCode = barCode; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public Boolean getHasImage() + { + return hasImage; + } + + public void setHasImage(Boolean hasImage) + { + this.hasImage = hasImage; + } + + public String getProductName() + { + return productName; + } + + public void setProductName(String productName) + { + this.productName = productName; + } + + public String getRevenueRecognition() + { + return revenueRecognition; + } + + public void setRevenueRecognition(String revenueRecognition) + { + this.revenueRecognition = revenueRecognition; + } + + public Double getStdPurchasePrice() + { + return stdPurchasePrice; + } + + public void setStdPurchasePrice(Double stdPurchasePrice) + { + this.stdPurchasePrice = stdPurchasePrice; + } + + public Double getStdSalesPrice() + { + return stdSalesPrice; + } + + public void setStdSalesPrice(Double stdSalesPrice) + { + this.stdSalesPrice = stdSalesPrice; + } + + public String getTaxCategoryName() + { + return taxCategoryName; + } + + public void setTaxCategoryName(String taxCategoryName) + { + this.taxCategoryName = taxCategoryName; + } + + public Integer getQuantity() { + return quantity; + } + + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductImageBean.java b/posterita/src/main/org/posterita/beans/ProductImageBean.java new file mode 100644 index 0000000000..d9b2e16cf6 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductImageBean.java @@ -0,0 +1,166 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Mar 14, 2006 by praveen + * + */ +package org.posterita.beans; + +import java.util.ArrayList; + +import org.apache.struts.upload.FormFile; + +import org.posterita.businesslogic.ProductManager; + + +public class ProductImageBean extends UDIBean +{ + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public FormFile getFile() { + return file; + } + public void setFile(FormFile file) { + this.file = file; + } + public Integer[] getProductIds() { + return productIds; + } + public void setProductIds(Integer[] productIds) { + this.productIds = productIds; + } + public String getBrandName() + { + return brandName; + } + public void setBrandName(String brandName) + { + this.brandName = brandName; + } + public String getColourName() + { + return colourName; + } + public void setColourName(String colourName) + { + this.colourName = colourName; + } + public String getDesignName() + { + return designName; + } + public void setDesignName(String designName) + { + this.designName = designName; + } + public String getModelName() + { + return modelName; + } + public void setModelName(String modelName) + { + this.modelName = modelName; + } + public String getKeyword1() + { + return keyword1; + } + public void setKeyword1(String keyword1) + { + this.keyword1 = keyword1; + } + public String getKeyword2() + { + return keyword2; + } + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + public String[] getSizes() + { + return sizes; + } + public void setSizes(String[] sizes) + { + this.sizes = sizes; + } + + public String toString() + { + StringBuffer productName = new StringBuffer(); + productName.append(brandName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + productName.append(designName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + productName.append(modelName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + productName.append(colourName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + + return productName.toString(); + } + public String getKeyword3() + { + return keyword3; + } + public void setKeyword3(String keyword3) + { + this.keyword3 = keyword3; + } + public String getKeyword4() + { + return keyword4; + } + public void setKeyword4(String keyword4) + { + this.keyword4 = keyword4; + } + public String getImageName() + { + return imageName; + } + public void setImageName(String imageName) + { + this.imageName = imageName; + } + public ArrayList getProductsList() + { + return productsList; + } + public void setProductsList(ArrayList productsList) + { + this.productsList = productsList; + } + public String getSearchText() + { + return searchText; + } + public void setSearchText(String searchText) + { + this.searchText = searchText; + } + public String getBarCode() + { + return barCode; + } + public void setBarCode(String barCode) + { + this.barCode = barCode; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductImageInfo.java b/posterita/src/main/org/posterita/beans/ProductImageInfo.java new file mode 100644 index 0000000000..1069e34348 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductImageInfo.java @@ -0,0 +1,59 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Mar 15, 2006 by praveen + * + */ +package org.posterita.beans; + +public class ProductImageInfo +{ + private Integer productId; + private Boolean hasAttachment; + private String model; + + public Boolean getHasAttachment() { + return hasAttachment; + } + public void setHasAttachment(Boolean hasAttachment) { + this.hasAttachment = hasAttachment; + } + public String getModel() { + return model; + } + public void setModel(String model) { + this.model = model; + } + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + private String productName; + + + public String getProductName() + { + return productName; + } + public void setProductName(String productName) + { + this.productName = productName; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductInfo.java b/posterita/src/main/org/posterita/beans/ProductInfo.java new file mode 100644 index 0000000000..b393f07e28 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductInfo.java @@ -0,0 +1,131 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.sql.Timestamp; +import java.util.ArrayList; + + +public class ProductInfo implements Comparable +{ + private AttributeValuesBean attributeValuesBean = new AttributeValuesBean(); + private ArrayList products = new ArrayList(); + private ArrayList regions = new ArrayList(); + private ArrayList reservedStatusValues = new ArrayList(); + private ArrayList warehouseTypes = new ArrayList(); + private ArrayList organisations = new ArrayList(); + private ArrayList warehouseNames = new ArrayList(); + private Integer productCategoryId; + private Timestamp ETA; + + public ArrayList getOrganisations() + { + return organisations; + } + public void setOrganisations(ArrayList organisations) + { + this.organisations = organisations; + } + + + public AttributeValuesBean getAttributeValuesBean() + { + return attributeValuesBean; + } + + public void setAttributeValuesBean(AttributeValuesBean attributeValuesBean) + { + this.attributeValuesBean = attributeValuesBean; + } + + public ArrayList getProducts() + { + return products; + } + + public void setProducts(ArrayList products) + { + this.products = products; + } + + public void setRegions(ArrayList regions) + { + this.regions = regions; + } + + public ArrayList getRegions() + { + return regions; + } + + public ArrayList getReservedStatusValues() + { + return reservedStatusValues; + } + + public void setReservedStatusValues(ArrayList reservedStatusValues) + { + this.reservedStatusValues = reservedStatusValues; + } + + public Integer getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(Integer productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + public ArrayList getWarehouseTypes() + { + return warehouseTypes; + } + + public void setWarehouseTypes(ArrayList warehouseTypes) + { + this.warehouseTypes = warehouseTypes; + } + + public ArrayList getWarehouseNames() + { + return warehouseNames; + } + + public void setWarehouseNames(ArrayList warehouseNames) + { + this.warehouseNames = warehouseNames; + } + + public int compareTo(Object o) + { + return 0; + } + + public Timestamp getETA() + { + return ETA; + } + public void setETA(Timestamp eta) + { + ETA = eta; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductInfoBean.java b/posterita/src/main/org/posterita/beans/ProductInfoBean.java new file mode 100644 index 0000000000..63652fd231 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductInfoBean.java @@ -0,0 +1,27 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 31, 2005 by praveen + * + */ +package org.posterita.beans; + +public class ProductInfoBean extends StockBean +{ + +} diff --git a/posterita/src/main/org/posterita/beans/ProductInstanceBean.java b/posterita/src/main/org/posterita/beans/ProductInstanceBean.java new file mode 100644 index 0000000000..1e0c564b4d --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductInstanceBean.java @@ -0,0 +1,81 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +public class ProductInstanceBean +{ + private int attributeSetInstanceId; + private int attributeId; + private String serNo; + private String description; + private int qtyOnHand; + + public int getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + public void setAttributeSetInstanceId(int attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public int getAttributeId() + { + return attributeId; + } + + public void setAttributeId(int attributeId) + { + this.attributeId = attributeId; + } + + public String getSerno() + { + return serNo; + } + + public void setSerno(String serno) + { + this.serNo = serno; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + //this should return only on because a serial number(vin number) + // must be unique + public int getQtyOnHand() + { + return qtyOnHand; + } + + public void setQtyOnHand(int qtyOnHand) + { + this.qtyOnHand = qtyOnHand; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductKeywordsBean.java b/posterita/src/main/org/posterita/beans/ProductKeywordsBean.java new file mode 100644 index 0000000000..2a15fbd891 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductKeywordsBean.java @@ -0,0 +1,116 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on May 12, 2006 by ashley +* +*/ + +package org.posterita.beans; + +import org.apache.struts.upload.FormFile; + +public class ProductKeywordsBean extends UDIBean +{ + + public String getProductClassification() + { + return productClassification; + } + public void setProductClassification(String productClassification) + { + this.productClassification = productClassification; + } + public String getKeyword1() + { + return keyword1; + } + public void setKeyword1(String keyword1) + { + this.keyword1 = keyword1; + } + public String getKeyword2() + { + return keyword2; + } + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + public String getKeyword3() + { + return keyword3; + } + public void setKeyword3(String keyword3) + { + this.keyword3 = keyword3; + } + public String getKeyword4() + { + return keyword4; + } + public void setKeyword4(String keyword4) + { + this.keyword4 = keyword4; + } + public Integer[] getProductIds() + { + return productIds; + } + public void setProductIds(Integer[] productIds) + { + this.productIds = productIds; + } + + public String getImageName() + { + return imageName; + } + public void setImageName(String imageName) + { + this.imageName = imageName; + } + public FormFile getFile() + { + return file; + } + public void setFile(FormFile file) + { + this.file = file; + } + + public Boolean getIsSelfService() + { + return isSelfService; + } + + public void setIsSelfService(Boolean isSelfService) + { + this.isSelfService = isSelfService; + } + + public String getDocumentNote() + { + return documentNote; + } + public void setDocumentNote(String documentNote) + { + this.documentNote = documentNote; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/ProductPriceBean.java b/posterita/src/main/org/posterita/beans/ProductPriceBean.java new file mode 100644 index 0000000000..2ef43bd140 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductPriceBean.java @@ -0,0 +1,76 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 30, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class ProductPriceBean extends ProductAttributeValueBean +{ + protected BigDecimal priceList; + protected String priceListName; + protected BigDecimal priceStandard; + + public Integer getPriceListVersionId() + { + return priceListVersionId; + } + + public void setPriceListVersionId(Integer priceListVersionId) + { + this.priceListVersionId = priceListVersionId; + } + + + + public String getPriceListName() + { + return priceListName; + } + + public void setPriceListName(String priceListName) + { + this.priceListName = priceListName; + } + + + + public BigDecimal getPriceList() + { + return priceList; + } + + public void setPriceList(BigDecimal priceList) + { + this.priceList = priceList; + } + + public BigDecimal getPriceStandard() + { + return priceStandard; + } + + public void setPriceStandard(BigDecimal priceStandard) + { + this.priceStandard = priceStandard; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductQuery.java b/posterita/src/main/org/posterita/beans/ProductQuery.java new file mode 100644 index 0000000000..eab21ab4d5 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductQuery.java @@ -0,0 +1,204 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +package org.posterita.beans; + + + +public class ProductQuery +{ + + private int locatorId; + private int attributeSetId; + private int attributeValueIds[]; + private int productId; + private String fromLocatorSQL; + private String regionFilterSQL; + private int hondaOrgId; + private int priceListId; + private int priceListVersionId; + private int warehouseId; + private String reserveStatusFilter; + private String availableForBackOrderFilter; + private int productCategoryId; + private Integer ad_Org_ID; + private String ETAFilter; + private String backOrder; + + + public String getAvailableForBackOrderFilter() { + return availableForBackOrderFilter; + } + public void setAvailableForBackOrderFilter( + String availableForBackOrderFilter) { + this.availableForBackOrderFilter = availableForBackOrderFilter; + } + public String getReserveStatusFilter() + { + return reserveStatusFilter; + } + + public void setReserveStatusFilter(String reserveStatusFilter) + { + this.reserveStatusFilter = reserveStatusFilter; + } + + public int getWarehouseId() + { + return warehouseId; + } + + public void setWarehouseId(int warehouseId) + { + this.warehouseId = warehouseId; + } + + public int getPriceListVersionId() + { + return priceListVersionId; + } + + public void setPriceListVersionId(int priceListVersionId) + { + this.priceListVersionId = priceListVersionId; + } + + public int getPriceListId() + { + return priceListId; + } + + public void setPriceListId(int priceListId) + { + this.priceListId = priceListId; + } + + public int getHondaOrgId() + { + return hondaOrgId; + } + public void setHondaOrgId(int hondaOrgId) + { + this.hondaOrgId = hondaOrgId; + } + + public int getProductId() + { + return productId; + } + + public void setProductId(int productId) + { + this.productId = productId; + } + + + public int getLocatorId() + { + return locatorId; + } + + public void setLocatorId(int locatorId) + { + this.locatorId = locatorId; + } + + + + + public int[] getAttributeValueIds() + { + return attributeValueIds; + } + public void setAttributeValueIds(int[] attributeValueIds) + { + this.attributeValueIds = attributeValueIds; + } + + + public int getAttributeSetId() + { + return attributeSetId; + } + + public void setAttributeSetId(int attributeSetid) + { + this.attributeSetId = attributeSetid; + } + + public String getFromLocatorSQL() + { + return fromLocatorSQL; + } + + public void setFromLocatorSQL(String fromLocatorSQL) + { + this.fromLocatorSQL = fromLocatorSQL; + } + + public String getRegionFilterSQL() + { + return regionFilterSQL; + } + + public void setRegionFilterSQL(String regionFilterSQL) + { + this.regionFilterSQL = regionFilterSQL; + } + + public int getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(int productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + public Integer getAd_Org_ID() + { + return ad_Org_ID; + } + + public void setAd_Org_ID(Integer ad_Org_ID) + { + this.ad_Org_ID = ad_Org_ID; + } + + public String getETAFilter() + { + return ETAFilter; + } + public void setETAFilter(String filter) + { + ETAFilter = filter; + } + + public String getBackOrder() + { + return backOrder; + } + + public void setBackOrder(String backOrder) + { + this.backOrder = backOrder; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductRestrictionBean.java b/posterita/src/main/org/posterita/beans/ProductRestrictionBean.java new file mode 100644 index 0000000000..451de68469 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductRestrictionBean.java @@ -0,0 +1,96 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 30, 2005 by praveen + * + */ +package org.posterita.beans; + +public class ProductRestrictionBean extends StockBean +{ + public Integer getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(Integer productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + public Integer getColour() + { + return colour; + } + + public Integer getModel() + { + return model; + } + + public Integer getOrgId() + { + return orgId; + } + + public Integer getTransmission() + { + return transmission; + } + + public Integer getYear() + { + return year; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } + + public void setColour(Integer colour) + { + this.colour = colour; + } + + public void setModel(Integer model) + { + this.model = model; + } + + public void setOrgId(Integer orgId) + { + this.orgId = orgId; + } + + public void setTransmission(Integer transmission) + { + this.transmission = transmission; + } + + public void setYear(Integer year) + { + this.year = year; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/ProductSalesInfoBean.java b/posterita/src/main/org/posterita/beans/ProductSalesInfoBean.java new file mode 100644 index 0000000000..52a9fe7505 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductSalesInfoBean.java @@ -0,0 +1,82 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 10-Oct-2006 12:34:54 by praveen + * + */ + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.Date; + +public class ProductSalesInfoBean { + private String DocumentNo; + private Date dateOrdered; + private String bpartnerName; + private String orderType; + private BigDecimal qtyOrderded; + private Integer orderId; + private BigDecimal lineAmount; + + public String getBpartnerName() { + return bpartnerName; + } + public void setBpartnerName(String bpartnerName) { + this.bpartnerName = bpartnerName; + } + public Date getDateOrdered() { + return dateOrdered; + } + public void setDateOrdered(Date dateOrdered) { + this.dateOrdered = dateOrdered; + } + public String getDocumentNo() { + return DocumentNo; + } + public void setDocumentNo(String documentNo) { + DocumentNo = documentNo; + } + public String getOrderType() { + return orderType; + } + public void setOrderType(String orderType) { + this.orderType = orderType; + } + public BigDecimal getQtyOrderded() { + return qtyOrderded; + } + public void setQtyOrderded(BigDecimal qtyOrderded) { + this.qtyOrderded = qtyOrderded; + } + public Integer getOrderId() { + return orderId; + } + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + public BigDecimal getLineAmount() { + return lineAmount; + } + public void setLineAmount(BigDecimal lineAmount) { + this.lineAmount = lineAmount; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/ProductSalesSummaryBean.java b/posterita/src/main/org/posterita/beans/ProductSalesSummaryBean.java new file mode 100644 index 0000000000..80b6870660 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductSalesSummaryBean.java @@ -0,0 +1,67 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 10-Oct-2006 12:25:01 by praveen + * + */ + +package org.posterita.beans; + +import java.math.BigDecimal; + +public class ProductSalesSummaryBean { + private Integer productId; + private String productName; + private BigDecimal qtySold; + private BigDecimal totalAmount; + private BigDecimal qtyOnHand; + + public Integer getProductId() { + return productId; + } + public void setProductId(Integer productId) { + this.productId = productId; + } + public String getProductName() { + return productName; + } + public void setProductName(String productName) { + this.productName = productName; + } + public BigDecimal getQtyOnHand() { + return qtyOnHand; + } + public void setQtyOnHand(BigDecimal qtyOnHand) { + this.qtyOnHand = qtyOnHand; + } + public BigDecimal getQtySold() { + return qtySold; + } + public void setQtySold(BigDecimal qtySold) { + this.qtySold = qtySold; + } + public BigDecimal getTotalAmount() { + return totalAmount; + } + public void setTotalAmount(BigDecimal totalAmount) { + this.totalAmount = totalAmount; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/ProductSearchBean.java b/posterita/src/main/org/posterita/beans/ProductSearchBean.java new file mode 100644 index 0000000000..71fbc2030d --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductSearchBean.java @@ -0,0 +1,51 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on May 17, 2006 by ashley +* +*/ + +package org.posterita.beans; + +public class ProductSearchBean extends UDIBean +{ + public Boolean getIsActive() + { + return isActive; + } + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + public Boolean getIsWebstoreFeatured() + { + return isWebstoreFeatured; + } + public void setIsWebstoreFeatured(Boolean isWebstoreFeatured) + { + this.isWebstoreFeatured = isWebstoreFeatured; + } + public String getSearchText() + { + return searchText; + } + public void setSearchText(String searchText) + { + this.searchText = searchText; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductSpecsBean.java b/posterita/src/main/org/posterita/beans/ProductSpecsBean.java new file mode 100644 index 0000000000..ca858f8598 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductSpecsBean.java @@ -0,0 +1,86 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class ProductSpecsBean +{ + private String model; + private String colour; + private String year; + private String transmission; + private BigDecimal priceStd; + + + public BigDecimal getPriceStd() { + return priceStd; + } + public void setPriceStd(BigDecimal priceStd) { + this.priceStd = priceStd; + } + public String getColour() { + return colour; + } + public void setColour(String colour) { + this.colour = colour; + } + public String getModel() { + return model; + } + public void setModel(String model) { + this.model = model; + } + public String getTransmission() { + return transmission; + } + public void setTransmission(String transmission) { + this.transmission = transmission; + } + public String getYear() { + return year; + } + public void setYear(String year) { + this.year = year; + } + + public boolean equals(Object obj) + { + ProductSpecsBean bean = (ProductSpecsBean) obj; + + if ( obj == null) + return false; + + if (this.getModel().equalsIgnoreCase(bean.getModel()) == false) + return false; + + if (this.getColour().equalsIgnoreCase(bean.getColour()) == false) + return false; + + if (this.getTransmission().equalsIgnoreCase(bean.getTransmission()) == false) + return false; + + if (this.getYear().equalsIgnoreCase(bean.getYear()) == false) + return false; + + return true; + } +} diff --git a/posterita/src/main/org/posterita/beans/ProductStatusBean.java b/posterita/src/main/org/posterita/beans/ProductStatusBean.java new file mode 100644 index 0000000000..13e01140f6 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductStatusBean.java @@ -0,0 +1,229 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jan 18, 2006 by praveen + * + */ +package org.posterita.beans; + +public class ProductStatusBean extends UDIBean +{ + private Boolean availability = Boolean.valueOf(true); + + private ProductImageInfo imageInfo; + private Boolean hasAttachment; + + public String getProductClassification() + { + return productClassification; + } + public void setProductClassification(String productClassification) + { + this.productClassification = productClassification; + } + + public Integer[] getCheckBox() + { + return checkBox; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } + + public Boolean getAvailability() + { + return availability; + } + + public void setAvailability(Boolean availability) + { + this.availability = availability; + } + + private String colour,model,transmission,year; + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public String getColour() + { + return colour; + } + + public void setColour(String colour) + { + this.colour = colour; + } + + public String getModel() + { + return model; + } + + public void setModel(String model) + { + this.model = model; + } + + public String getTransmission() + { + return transmission; + } + + public void setTransmission(String transmission) + { + this.transmission = transmission; + } + + public String getYear() + { + return year; + } + + public void setYear(String year) + { + this.year = year; + } + + public Boolean getIsActive() + { + return isActive; + } + + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + + private String productName; + + public String getProductName() + { + return productName; + } + public void setProductName(String productName) + { + this.productName = productName; + } + + public ProductImageInfo getImageInfo() + { + return imageInfo; + } + + public void setImageInfo(ProductImageInfo imageInfo) + { + this.imageInfo = imageInfo; + } + + public Boolean getHasAttachment() + { + return hasAttachment; + } + public void setHasAttachment(Boolean hasAttachment) + { + this.hasAttachment = hasAttachment; + } + public Boolean getIsWebstoreFeatured() + { + return isWebstoreFeatured; + } + + public void setIsWebstoreFeatured(Boolean isWebstoreFeatured) + { + this.isWebstoreFeatured = isWebstoreFeatured; + } + + public String getProductNameComplete() + { + String retVal = ""; + if(productName != null) + retVal = productName.replaceAll("_", " "); + return retVal; + } + + public String getKeyword1() + { + return keyword1; + } + + public void setKeyword1(String keyword1) + { + this.keyword1 = keyword1; + } + + public String getKeyword2() + { + return keyword2; + } + + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + + public String getKeyword3() + { + return keyword3; + } + + public void setKeyword3(String keyword3) + { + this.keyword3 = keyword3; + } + + public String getKeyword4() + { + return keyword4; + } + + public void setKeyword4(String keyword4) + { + this.keyword4 = keyword4; + } + + public String getBarCode() + { + return barCode; + } + + public void setBarCode(String barCode) + { + this.barCode = barCode; + } + + public Boolean getIsSelfService() + { + return isSelfService; + } + + public void setIsSelfService(Boolean isSelfService) + { + this.isSelfService = isSelfService; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ProductSupplierBean.java b/posterita/src/main/org/posterita/beans/ProductSupplierBean.java new file mode 100644 index 0000000000..6a3733974a --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ProductSupplierBean.java @@ -0,0 +1,52 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jun 20, 2006 + */ + + +package org.posterita.beans; + + +public class ProductSupplierBean extends UDIBean +{ + protected Integer bPartnerId; + protected String partnerName; + protected Integer quantity; + + public Integer getBPartnerId() { + return bPartnerId; + } + public void setBPartnerId(Integer partnerId) { + bPartnerId = partnerId; + } + public String getPartnerName() { + return partnerName; + } + public void setPartnerName(String partnerName) { + this.partnerName = partnerName; + } + public Integer getQuantity() { + return quantity; + } + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/RemoveSessionBean.java b/posterita/src/main/org/posterita/beans/RemoveSessionBean.java new file mode 100644 index 0000000000..3aad81c53a --- /dev/null +++ b/posterita/src/main/org/posterita/beans/RemoveSessionBean.java @@ -0,0 +1,39 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jan 26, 2007 + */ + + +package org.posterita.beans; + + +public class RemoveSessionBean extends UDIBean +{ + + + public String getOrderType() + { + return orderType; + } + + public void setOrderType(String orderType) + { + this.orderType = orderType; + } +} \ No newline at end of file diff --git a/posterita/src/main/org/posterita/beans/ReportBean.java b/posterita/src/main/org/posterita/beans/ReportBean.java new file mode 100644 index 0000000000..d08ef2e033 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ReportBean.java @@ -0,0 +1,206 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + +public class ReportBean extends UDIBean +{ + public Integer getNoOfProductsRequired() { + return noOfProductsRequired; + } + public void setNoOfProductsRequired(Integer noOfProductsRequired) { + this.noOfProductsRequired = noOfProductsRequired; + } + public String getReportType() { + return reportType; + } + public void setReportType(String reportType) { + this.reportType = reportType; + } + public String getFromDate() + { + return fromDate; + } + + public void setFromDate(String fromDate) + { + this.fromDate = fromDate; + } + + public String getToDate() + { + return toDate; + } + + public void setToDate(String toDate) + { + this.toDate = toDate; + } + + public String getStartDay() + { + return startDay; + } + + public void setStartDay(String startDay) + { + this.startDay = startDay; + } + + public String getStartMonth() + { + return startMonth; + } + + public void setStartMonth(String startMonth) + { + this.startMonth = startMonth; + } + + public String getStartYear() + { + return startYear; + } + + public void setStartYear(String startYear) + { + this.startYear = startYear; + } + + public String getEndDay() + { + return endDay; + } + + public void setEndDay(String endDay) + { + this.endDay = endDay; + } + + public String getEndMonth() + { + return endMonth; + } + + public void setEndMonth(String endMonth) + { + this.endMonth = endMonth; + } + + public String getEndYear() + { + return endYear; + } + + public void setEndYear(String endYear) + { + this.endYear = endYear; + } + + public String getStartHour() + { + return startHour; + } + + public void setStartHour(String startHour) + { + this.startHour = startHour; + } + + public String getStartMinute() + { + return startMinute; + } + + public void setStartMinute(String startMinute) + { + this.startMinute = startMinute; + } + + public String getEndHour() + { + return endHour; + } + + public void setEndHour(String endHour) + { + this.endHour = endHour; + } + + public String getEndMinute() + { + return endMinute; + } + + public void setEndMinute(String endMinute) + { + this.endMinute = endMinute; + } + public String getAttribute() { + return attribute; + } + public void setAttribute(String attribute) { + this.attribute = attribute; + } + + public String getTimePeriod() { + return timePeriod; + } + public void setTimePeriod(String timePeriod) { + this.timePeriod = timePeriod; + } + + public String getChartType() { + return chartType; + } + public void setChartType(String chartType) { + this.chartType = chartType; + } + + public String getSalesGroup() { + return salesGroup; + } + public void setSalesGroup(String salesGroup) { + this.salesGroup = salesGroup; + } + + public Integer getAccountId() { + return accountId; + } + public void setAccountId(Integer accountId) { + this.accountId = accountId; + } + + public String getDateRange() { + return dateRange; + } + public void setDateRange(String dateRange) { + this.dateRange = dateRange; + } + + public String getPriceQtyFilter() { + return priceQtyFilter; + } + public void setPriceQtyFilter(String priceQtyFilter) { + this.priceQtyFilter = priceQtyFilter; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/ReportDataBean.java b/posterita/src/main/org/posterita/beans/ReportDataBean.java new file mode 100644 index 0000000000..ac3f3f4350 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ReportDataBean.java @@ -0,0 +1,102 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 21, 2005 by praveen + * + */ +package org.posterita.beans; + + +public class ReportDataBean +{ + private String model; + private int count; + private int automatic; + private int manual; + private int sale; + private int target; + + public ReportDataBean() + { + model = ""; + count = 0; + automatic = 0; + manual = 0; + sale = 0; + target = 0; + } + + public int getAutomatic() + { + return automatic; + } + + public void setAutomatic(int automatic) + { + this.automatic = automatic; + } + + public int getCount() + { + return count; + } + + public void setCount(int count) + { + this.count = count; + } + + public int getManual() + { + return manual; + } + + public void setManual(int manual) + { + this.manual = manual; + } + + public String getModel() + { + return model; + } + + public void setModel(String model) + { + this.model = model; + } + + public int getSale() + { + return sale; + } + + public void setSale(int sale) { + this.sale = sale; + } + + public int getTarget() + { + return target; + } + + public void setTarget(int target) + { + this.target = target; + } +} diff --git a/posterita/src/main/org/posterita/beans/ReportImageBean.java b/posterita/src/main/org/posterita/beans/ReportImageBean.java new file mode 100644 index 0000000000..197d9da23f --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ReportImageBean.java @@ -0,0 +1,149 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 17, 2005 by praveen + * + */ +package org.posterita.beans; + +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.GregorianCalendar; + + +public class ReportImageBean +{ + private String imagePath; + private String imageTitle; + private String altText; + private String requestParams; + private String dateFrom; + private String dateTo; + + public ReportImageBean() + { + initDateFrom(); + initDateTo(); + } + + private void initDateFrom() + { + SimpleDateFormat df = new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss"); + + Calendar calendar = GregorianCalendar.getInstance(); + + if(calendar.get(Calendar.MONTH) == Calendar.JANUARY) + { + calendar.set(Calendar.DATE,9); + } + else + { + calendar.set(Calendar.DATE,1); + } + + calendar.set(Calendar.HOUR_OF_DAY,9); + calendar.set(Calendar.MINUTE,15); + calendar.set(Calendar.SECOND,0); + dateFrom = df.format(calendar.getTime()); + } + + private void initDateTo() + { + SimpleDateFormat df = new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss"); + + Calendar calendar = GregorianCalendar.getInstance(); + //int maxNoOfDays = calendar.getActualMaximum(Calendar.DAY_OF_MONTH); + //calendar.set(Calendar.DATE,maxNoOfDays); + dateTo = df.format(calendar.getTime()); + } + + public String getAltText() + { + return altText; + } + + public void setAltText(String altText) + { + this.altText = altText; + } + + public String getImagePath() + { + return imagePath; + } + + public void setImagePath(String imagePath) + { + this.imagePath = imagePath; + } + + public String getImageTitle() + { + return imageTitle; + } + + public void setImageTitle(String imageTitle) + { + this.imageTitle = imageTitle; + } + + public void setRequestParams(String requestParams) + { + this.requestParams = requestParams; + } + + public String getDateFrom() + { + return dateFrom; + } + + public void setDateFrom(String dateFrom) + { + this.dateFrom = dateFrom; + } + + public String getDateTo() + { + return dateTo; + } + + public void setDateTo(String dateTo) + { + this.dateTo = dateTo; + } + + public String getRequestParams() + { + requestParams = null; + + try + { + requestParams = "dateFrom=" + URLEncoder.encode(dateFrom,"UTF-8") + + "&dateTo=" + URLEncoder.encode(dateTo,"UTF-8") + + "&imagePath=" + URLEncoder.encode(imagePath,"UTF-8") + + "&imageTitle=" + URLEncoder.encode(imageTitle,"UTF-8"); + } + catch (UnsupportedEncodingException e) + { + + } + return requestParams; + } +} diff --git a/posterita/src/main/org/posterita/beans/RoleBean.java b/posterita/src/main/org/posterita/beans/RoleBean.java new file mode 100644 index 0000000000..99f66915e9 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/RoleBean.java @@ -0,0 +1,109 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Aug 16, 2005 by praveen + * + */ +package org.posterita.beans; + +public class RoleBean extends UDIBean{ + + public Integer[] getCheckBox() + { + return checkBox; + } + + public void setCheckBox(Integer[] checkBox) + { + this.checkBox = checkBox; + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public Boolean getIsActive() + { + return isActive; + } + + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + + public Integer getRoleId() + { + return roleId; + } + + public void setRoleId(Integer roleId) + { + this.roleId = roleId; + } + + public Boolean getIsAccessAllOrgs() + { + return isAccessAllOrgs; + + } + + public void setIsAccessAllOrgs(Boolean isAccessAllOrgs) + { + this.isAccessAllOrgs = isAccessAllOrgs; + } + + + + public Boolean getCanAlterOrder() + { + return canAlterOrder; + } + + public void setCanAlterOrder(Boolean canAlterOrder) + { + this.canAlterOrder = canAlterOrder; + } + + protected Boolean canCreateOrder; + protected Boolean canViewOrder; + + + public Boolean getCanCreateOrder() + { + return canCreateOrder; + } + + public void setCanCreateOrder(Boolean canCreateOrder) + { + this.canCreateOrder = canCreateOrder; + } + + public Boolean getCanViewOrder() { + return canViewOrder; + } + public void setCanViewOrder(Boolean canViewOrder) { + this.canViewOrder = canViewOrder; + } +} diff --git a/posterita/src/main/org/posterita/beans/SalesAnalysisReportBean.java b/posterita/src/main/org/posterita/beans/SalesAnalysisReportBean.java new file mode 100644 index 0000000000..8559560809 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SalesAnalysisReportBean.java @@ -0,0 +1,86 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 14-Jul-2006 14:00:21 by praveen + * + */ + +package org.posterita.beans; + +public class SalesAnalysisReportBean extends ReportBean +{ + private String supplier,category,brand,model,design,colour,size; + + public String getBrand() { + return brand; + } + + public void setBrand(String brand) { + this.brand = brand; + } + + public String getCategory() { + return category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getColour() { + return colour; + } + + public void setColour(String colour) { + this.colour = colour; + } + + public String getDesign() { + return design; + } + + public void setDesign(String design) { + this.design = design; + } + + public String getModel() { + return model; + } + + public void setModel(String model) { + this.model = model; + } + + public String getSize() { + return size; + } + + public void setSize(String size) { + this.size = size; + } + + public String getSupplier() { + return supplier; + } + + public void setSupplier(String supplier) { + this.supplier = supplier; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/SalesAnalysisReportDataBean.java b/posterita/src/main/org/posterita/beans/SalesAnalysisReportDataBean.java new file mode 100644 index 0000000000..573242e971 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SalesAnalysisReportDataBean.java @@ -0,0 +1,86 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 05-Jul-2006 12:32:38 by praveen + * + */ + +package org.posterita.beans; + +import java.math.BigDecimal; + +public class SalesAnalysisReportDataBean +{ + private String supplier,category,brand,model,design,colour,size; + private BigDecimal quantity,amount; + + public BigDecimal getAmount() { + return amount; + } + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + public String getBrand() { + return brand; + } + public void setBrand(String brand) { + this.brand = brand; + } + public String getCategory() { + return category; + } + public void setCategory(String category) { + this.category = category; + } + public String getColour() { + return colour; + } + public void setColour(String colour) { + this.colour = colour; + } + public String getDesign() { + return design; + } + public void setDesign(String design) { + this.design = design; + } + public String getModel() { + return model; + } + public void setModel(String model) { + this.model = model; + } + public BigDecimal getQuantity() { + return quantity; + } + public void setQuantity(BigDecimal quantity) { + this.quantity = quantity; + } + public String getSize() { + return size; + } + public void setSize(String size) { + this.size = size; + } + public String getSupplier() { + return supplier; + } + public void setSupplier(String supplier) { + this.supplier = supplier; + } +} diff --git a/posterita/src/main/org/posterita/beans/SearchBean.java b/posterita/src/main/org/posterita/beans/SearchBean.java new file mode 100644 index 0000000000..bc990d6916 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SearchBean.java @@ -0,0 +1,82 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on May 15, 2006 by ashley +* +*/ + +package org.posterita.beans; + +import java.util.ArrayList; + +public class SearchBean +{ + + protected String searchText; + protected ArrayList andCriteriasList; + protected ArrayList orCriteriasList; + protected ArrayList notCriteriasList; + + public SearchBean(String searchText) + { + this.searchText = searchText; + andCriteriasList = new ArrayList(); + orCriteriasList = new ArrayList(); + notCriteriasList = new ArrayList(); + } + + public ArrayList getAndCriteriasList() + { + return andCriteriasList; + } + + public void setAndCriteriasList(ArrayList andCriteriasList) + { + this.andCriteriasList = andCriteriasList; + } + + public ArrayList getNotCriteriasList() + { + return notCriteriasList; + } + + public void setNotCriteriasList(ArrayList notCriteriasList) + { + this.notCriteriasList = notCriteriasList; + } + + public ArrayList getOrCriteriasList() + { + return orCriteriasList; + } + + public void setOrCriteriasList(ArrayList orCriteriasList) + { + this.orCriteriasList = orCriteriasList; + } + + public String getSearchText() + { + return searchText; + } + + public void setSearchText(String searchText) + { + this.searchText = searchText; + } +} diff --git a/posterita/src/main/org/posterita/beans/SearchOrderBean.java b/posterita/src/main/org/posterita/beans/SearchOrderBean.java new file mode 100644 index 0000000000..02a2f4c8a2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SearchOrderBean.java @@ -0,0 +1,51 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 8, 2005 by praveen + * + */ +package org.posterita.beans; + +public class SearchOrderBean extends UDIBean +{ + + public Integer getOrderId() + { + return orderId; + } + + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public Integer getFirst() + { + return first; + } + + public void setFirst(Integer first) + { + this.first = first; + } + + + + + +} diff --git a/posterita/src/main/org/posterita/beans/ShipperBean.java b/posterita/src/main/org/posterita/beans/ShipperBean.java new file mode 100644 index 0000000000..eab92da52f --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ShipperBean.java @@ -0,0 +1,45 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + +public class ShipperBean extends UDIBean +{ + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + +} diff --git a/posterita/src/main/org/posterita/beans/ShoppingCartBean.java b/posterita/src/main/org/posterita/beans/ShoppingCartBean.java new file mode 100644 index 0000000000..fcd9a96d06 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/ShoppingCartBean.java @@ -0,0 +1,65 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.ArrayList; + + +public class ShoppingCartBean extends UDIBean +{ + private ArrayList items; + private String currency; + private BigDecimal totalPrice; + + + + public String getCurrency() + { + return currency; + } + + public void setCurrency(String currency) + { + this.currency = currency; + } + + public ArrayList getItems() + { + return items; + } + + public void setItems(ArrayList items) + { + this.items = items; + } + + public BigDecimal getTotalPrice() + { + return totalPrice; + } + + public void setTotalPrice(BigDecimal totalPrice) + { + this.totalPrice = totalPrice; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/StockBean.java b/posterita/src/main/org/posterita/beans/StockBean.java new file mode 100644 index 0000000000..2fcf230480 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/StockBean.java @@ -0,0 +1,357 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + + +public class StockBean extends UDIBean +{ + public String getKeyword2() + { + return keyword2; + } + + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + + public Integer getProductCategoryId() + { + return productCategoryId; + } + + public void setProductCategoryId(Integer productCategoryId) + { + this.productCategoryId = productCategoryId; + } + + public Integer getMake() + { + return make; + } + public void setMake(Integer make) + { + this.make = make; + } + + public String getAvailableForBackOrderFilter() { + + return availableForBackOrderFilter; + } + + public void setAvailableForBackOrderFilter(String availableForBackOrderFilter) + { + this.availableForBackOrderFilter = availableForBackOrderFilter; + } + + public Integer getModel() + { + return model; + } + + public void setModel(Integer model) + { + this.model = model; + } + + public Integer getColour() + { + return colour; + } + + public void setColour(Integer colour) + { + this.colour = colour; + } + + public Integer getTransmission() + { + return transmission; + } + + public void setTransmission(Integer transmission) + { + this.transmission = transmission; + } + + public Integer getYear() + { + return year; + } + + public void setYear(Integer year) + { + this.year = year; + } + + public Boolean getIsWholesaler() + { + return isWholesaler; + } + + public void setIsWholesaler(Boolean isWholesaler) + { + this.isWholesaler = isWholesaler; + } + + public Integer getRegionId() + { + return regionId; + } + + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + + + public Integer[] getCheckBox() + { + return checkBox; + } + public void setCheckBox(Integer [] checkBox) + { + this.checkBox = checkBox; + } + + public Integer getReserveStatus() + { + return reserveStatus; + } + + public void setReserveStatus(Integer reserveStatus) + { + this.reserveStatus = reserveStatus; + } + + + public Integer getOrgId() + { + return orgId; + } + + public void setOrgId(Integer orgId) + { + this.orgId = orgId; + } + + public Integer getAllocationId() + { + return allocationId; + } + + public void setAllocationId(Integer allocationId) + { + this.allocationId = allocationId; + } + + public String getWarehouseType() + { + return warehouseType; + } + + public void setWarehouseType(String warehouseType) + { + this.warehouseType = warehouseType; + } + + public Integer getFirst() + { + return first; + } + + public void setFirst(Integer first) + { + this.first = first; + } + + public Integer getWarehouseId() + { + return warehouseId; + } + + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } + public Integer getDocumentId() { + return documentId; + } + public void setDocumentId(Integer documentId) { + this.documentId = documentId; + } + + public String getETAFilter() + { + return ETAFilter; + } + + public void setETAFilter(String filter) + { + ETAFilter = filter; + } + + public Integer getDesign() + { + return design; + } + public void setDesign(Integer design) + { + this.design = design; + } + public Integer getSize() + { + return size; + } + public void setSize(Integer size) + { + this.size = size; + } + public Integer getStyle() + { + return style; + } + public void setStyle(Integer style) + { + this.style = style; + } + + public Integer getColourAttributeValueId() + { + return colourAttributeValueId; + } + + public void setColourAttributeValueId(Integer colourAttributeValueId) + { + this.colourAttributeValueId = colourAttributeValueId; + } + + public Integer getDesignAttributeValueId() + { + return designAttributeValueId; + } + + public void setDesignAttributeValueId(Integer designAttributeValueId) + { + this.designAttributeValueId = designAttributeValueId; + } + + public Integer getModelAttributeValueId() + { + return modelAttributeValueId; + } + + public void setModelAttributeValueId(Integer modelAttributeValueId) + { + this.modelAttributeValueId = modelAttributeValueId; + } + + public Integer getSizeAttributeValueId() + { + return sizeAttributeValueId; + } + + public void setSizeAttributeValueId(Integer sizeAttributeValueId) + { + this.sizeAttributeValueId = sizeAttributeValueId; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public String getOrderType() + { + return orderType; + } + + public void setOrderType(String orderType) + { + this.orderType = orderType; + } + + public Integer getAttributeId() + { + return attributeId; + } + + public void setAttributeId(Integer attributeId) + { + this.attributeId = attributeId; + } + + public String getKeyword() + { + return keyword; + } + + public void setKeyword(String keyword) + { + this.keyword = keyword; + } + + public String getSearchText() + { + return searchText; + } + + public void setSearchText(String searchText) + { + this.searchText = searchText; + } + + public String getBackOrder() + { + return backOrder; + } + + public void setBackOrder(String backOrder) + { + this.backOrder = backOrder; + } + + public String getFieldName() + { + return fieldName; + } + + public void setFieldName(String fieldName) + { + this.fieldName = fieldName; + } + + public Integer getProductId() + { + return productId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } +} diff --git a/posterita/src/main/org/posterita/beans/SynchronizationBean.java b/posterita/src/main/org/posterita/beans/SynchronizationBean.java new file mode 100644 index 0000000000..80e22b9ba8 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SynchronizationBean.java @@ -0,0 +1,75 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ + +/** + @author ashley + */ + +package org.posterita.beans; + +import java.util.ArrayList; + +public class SynchronizationBean +{ + private ArrayList productNotInactivatedList; + private int productsInactivated; + private int errorsProductInactivate; + + public SynchronizationBean() + { + productNotInactivatedList = new ArrayList(); + } + + public int getErrorsProductInactivate() + { + return errorsProductInactivate; + } + + public void setErrorsProductInactivate(int errorsProductInactivate) + { + this.errorsProductInactivate = errorsProductInactivate; + } + + public ArrayList getProductNotInactivatedList() + { + return productNotInactivatedList; + } + + public void setProductNotInactivatedList(ArrayList productNotInactivatedList) + { + this.productNotInactivatedList = productNotInactivatedList; + } + + public int getProductsInactivated() + { + return productsInactivated; + } + + public void setProductsInactivated(int productsInactivated) + { + this.productsInactivated = productsInactivated; + } + + public void addNotInactivatedProduct(String productName) + { + this.productNotInactivatedList.add(productName); + } +} diff --git a/posterita/src/main/org/posterita/beans/SynchronizeCollectionBean.java b/posterita/src/main/org/posterita/beans/SynchronizeCollectionBean.java new file mode 100644 index 0000000000..833c8c5af2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/SynchronizeCollectionBean.java @@ -0,0 +1,89 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ + +/** + @author ashley + */ + +package org.posterita.beans; + +public class SynchronizeCollectionBean extends UDIBean +{ + public String getStartDay() + { + return startDay; + } + + public void setStartDay(String startDay) + { + this.startDay = startDay; + } + + public String getStartHour() + { + return startHour; + } + + public void setStartHour(String startHour) + { + this.startHour = startHour; + } + + public String getStartMinute() + { + return startMinute; + } + + public void setStartMinute(String startMinute) + { + this.startMinute = startMinute; + } + + public String getStartMonth() + { + return startMonth; + } + + public void setStartMonth(String startMonth) + { + this.startMonth = startMonth; + } + + public String getStartYear() + { + return startYear; + } + + public void setStartYear(String startYear) + { + this.startYear = startYear; + } + + public String getFromDate() + { + return fromDate; + } + + public void setFromDate(String fromDate) + { + this.fromDate = fromDate; + } +} diff --git a/posterita/src/main/org/posterita/beans/TShirtProductDetailsBean.java b/posterita/src/main/org/posterita/beans/TShirtProductDetailsBean.java new file mode 100644 index 0000000000..9b05ce4651 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/TShirtProductDetailsBean.java @@ -0,0 +1,61 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on May 5, 2006 by ashley +* +*/ + +package org.posterita.beans; + +public class TShirtProductDetailsBean extends UDIBean +{ + + + public String[] getColours() + { + return colours; + } + public void setColours(String[] colours) + { + this.colours = colours; + } + public String[] getSizes() + { + return sizes; + } + public void setSizes(String[] sizes) + { + this.sizes = sizes; + } + public Integer getProductId() + { + return productId; + } + public void setProductId(Integer productId) + { + this.productId = productId; + } + public String getImageLink() + { + return imageLink; + } + public void setImageLink(String imageLink) + { + this.imageLink = imageLink; + } +} diff --git a/posterita/src/main/org/posterita/beans/TabularReportRecordBean.java b/posterita/src/main/org/posterita/beans/TabularReportRecordBean.java new file mode 100644 index 0000000000..9c488c5f36 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/TabularReportRecordBean.java @@ -0,0 +1,68 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * 06-Oct-2006 10:51:52 by praveen + * + */ + +package org.posterita.beans; + +import java.math.BigDecimal; + +public class TabularReportRecordBean +{ + private String productName; + private String date; + private BigDecimal price; + private BigDecimal qty; + + public String getDate() { + return date; + } + + public void setDate(String date) { + this.date = date; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public BigDecimal getQty() { + return qty; + } + + public void setQty(BigDecimal qty) { + this.qty = qty; + } + + + +} diff --git a/posterita/src/main/org/posterita/beans/TaxBean.java b/posterita/src/main/org/posterita/beans/TaxBean.java new file mode 100644 index 0000000000..21752b3e27 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/TaxBean.java @@ -0,0 +1,77 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Nov 28, 2006 + */ + + +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class TaxBean extends UDIBean +{ + + + + public Boolean getIsActive() { + return isActive; + } + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Boolean getIsTaxExempted() { + return isTaxExempted; + } + public void setIsTaxExempted(Boolean isTaxExempted) { + this.isTaxExempted = isTaxExempted; + } + public Integer getTaxCategoryId() { + return taxCategoryId; + } + public void setTaxCategoryId(Integer taxCategoryId) { + this.taxCategoryId = taxCategoryId; + } + public Integer getTaxId() { + return taxId; + } + public void setTaxId(Integer taxId) { + this.taxId = taxId; + } + public String getTaxName() { + return taxName; + } + public void setTaxName(String taxName) { + this.taxName = taxName; + } + public BigDecimal getTaxRate() { + return taxRate; + } + public void setTaxRate(BigDecimal taxRate) { + this.taxRate = taxRate; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/TradeInBean.java b/posterita/src/main/org/posterita/beans/TradeInBean.java new file mode 100644 index 0000000000..4f1f3c36a2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/TradeInBean.java @@ -0,0 +1,56 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + + +public class TradeInBean extends CustomerBean +{ + + public Integer getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + public Double getPriceEntered() + { + return priceEntered; + } + + public void setPriceEntered(Double priceEntered) + { + this.priceEntered = priceEntered; + } + + public String getVinNumber() + { + return vinNumber; + } + + public void setVinNumber(String vinNumber) + { + this.vinNumber = vinNumber; + } + +} diff --git a/posterita/src/main/org/posterita/beans/TrendsBean.java b/posterita/src/main/org/posterita/beans/TrendsBean.java new file mode 100644 index 0000000000..d6b82b7077 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/TrendsBean.java @@ -0,0 +1,121 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Dec 15, 2005 by praveen + * + */ +package org.posterita.beans; + +public class TrendsBean +{ + private String model; + private String colour; + private int a1,m1; + private int a2,m2; + private int a3,m3; + private int sA1,sA2,sA3; + private int sM1,sM2,sM3; + + public TrendsBean(){} + + + public int getA1() { + return a1; + } + public void setA1(int a1) { + this.a1 = a1; + } + public int getA2() { + return a2; + } + public void setA2(int a2) { + this.a2 = a2; + } + public int getA3() { + return a3; + } + public void setA3(int a3) { + this.a3 = a3; + } + public String getColour() { + return colour; + } + public void setColour(String colour) { + this.colour = colour; + } + public int getM1() { + return m1; + } + public void setM1(int m1) { + this.m1 = m1; + } + public int getM2() { + return m2; + } + public void setM2(int m2) { + this.m2 = m2; + } + public int getM3() { + return m3; + } + public void setM3(int m3) { + this.m3 = m3; + } + public String getModel() { + return model; + } + public void setModel(String model) { + this.model = model; + } + public int getSA1() { + return sA1; + } + public void setSA1(int sa1) { + sA1 = sa1; + } + public int getSA2() { + return sA2; + } + public void setSA2(int sa2) { + sA2 = sa2; + } + public int getSA3() { + return sA3; + } + public void setSA3(int sa3) { + sA3 = sa3; + } + public int getSM1() { + return sM1; + } + public void setSM1(int sm1) { + sM1 = sm1; + } + public int getSM2() { + return sM2; + } + public void setSM2(int sm2) { + sM2 = sm2; + } + public int getSM3() { + return sM3; + } + public void setSM3(int sm3) { + sM3 = sm3; + } +} diff --git a/posterita/src/main/org/posterita/beans/UDIBean.java b/posterita/src/main/org/posterita/beans/UDIBean.java new file mode 100644 index 0000000000..248552763f --- /dev/null +++ b/posterita/src/main/org/posterita/beans/UDIBean.java @@ -0,0 +1,714 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Stack; +import java.util.Vector; + +import org.apache.struts.upload.FormFile; +import org.posterita.core.JulianDate; + +public class UDIBean +{ + protected String bpAddress2; + protected String aaCardnumber; + protected String accountNo; + protected String accountType; + protected String accountName; + protected String address1; + protected String address2; + protected Boolean agreement; + protected String aisle; + protected Integer allocationId; + protected String allocationStatus; + protected String area; + protected String attribute; + protected Integer attributeId; + protected Integer attributeSetId; + protected Integer attributeSetInstanceId; + protected Integer [] sernoAttributeSetInstanceIds; + protected String attributeValue; + protected String availableForBackOrderFilter ="availableForBackOrder in ('Y', 'N')"; + protected Integer bankId; + protected String bankName; + protected String bin; + protected Integer bpartnerId; + protected Integer bPartnerLocationId; + protected Integer [] checkBox; + protected String checkNo; + protected String city; + protected Timestamp closingDate; + protected Integer colour; + protected String confirmEmail; + protected String confirmPassword; + protected Integer cost; + protected String counterOrderStatusInfo; + protected Integer counterOrgID; + protected String counterOrgName; + protected Double currentBalance; + protected String custIdNumber; + protected Timestamp dateCreated; + protected Timestamp dateUpdated; + protected Timestamp dateInvoiced; + protected Timestamp dateMovement; + protected Timestamp dateOrdered; + protected String datePromised; + protected Timestamp dateTrx; + protected String dealerName; + protected String description; + protected String district; + protected String docStatus; + protected Integer tradeInOrderlineId; + protected Integer attributeValueId; + protected String forward; + protected String birthdate; + + protected Boolean isFullAccess; + + protected Boolean openDrawer = Boolean.TRUE; + + + + protected String docStatusCode; + + //1 is reserved -0 not reserved + + protected Integer documentId; + protected String documentNo; + + protected String documentType; + protected String email; + protected String endDay; + + protected String endHour; + protected String endMinute; + protected String endMonth; + protected String endYear; + protected String engineNo; + protected String engineNumber; + protected String fax; + protected String fromDate; + protected Integer fromOrderLineId; + protected Integer grandTotal; + protected Integer id; + protected Integer inOutId; + protected Integer invoiceId; + protected Boolean isAccessAllOrgs; + protected Boolean a; + protected String isApproved; + protected Boolean isAutomobile; + protected Boolean isAvailableForBackOrder = Boolean.valueOf("True"); + protected Boolean isClosable; + protected Boolean isCustomer; + protected Boolean isDefault; + protected String isDelivered; + protected Boolean isEmployee; + protected String isInvoiced; + protected Boolean isMotorcycle; + protected Boolean isNatisReleased; + protected String isPaid; + protected Boolean isPublic; + protected Boolean isQtyReserved; + protected String isReceipt; + protected Boolean isRetailer; + protected Boolean isSalesRep; + protected Boolean isActive; + protected String isSoTrx; + protected Boolean isVendor; + protected Boolean isVisible; + protected Boolean isWholesaler; + protected String level; + protected BigDecimal lineAmt; + protected Integer lineNetAmt; + protected Integer lineTotalAmt; + protected ArrayList list; + protected String location; + protected Integer locationId; + protected Integer locatorId; + protected String locatorName; + protected String logoName; + protected Integer m_attributesetinstance_id; + protected String maintenanceContractNumber; + protected Integer make; + protected Integer menuId; + protected String menuItemName; + protected String menuLink; + protected String message; + protected Integer messageID; + protected Integer minOutId; + protected String mobile; + protected Integer model; + protected Integer modelGroup; + protected Integer month; + protected String name; + + + protected Integer natisReleaseId; + protected String newEmail; + protected String newPassword; + protected Integer nextAvailableLocatorId; + protected String oldPassword; + protected Integer orderId; + protected ArrayList orderLineBean; + protected Integer orderLineId; + protected int [] orderLineIds; + protected ArrayList orderLineList = new ArrayList(); + protected String orderStatusInfo; + protected String orderType; + protected Integer orgId; + protected Integer OrgID; + protected String orgName; + protected String orgType; + protected Vector orgUsers; + protected Integer parentMenuId; + protected Integer partnerId; + protected Integer partnerLocationId; + protected String partnerName; + protected String password; + protected Stack path; + protected Integer payAmt; + protected Integer paymentId; + protected String phone; + protected String phone2; + protected String poReference; + protected String POReference; + protected String postalAddress; + protected String postalAddress1; + protected String postalCity; + protected String postalCode; + protected String postalPostalCode; + protected Integer prefOrderLineId; + protected BigDecimal priceActual; + protected Double priceEntered; + protected BigDecimal priceLimit; + protected BigDecimal priceList; + protected Integer priceListVersionId; + protected Integer productCategoryId; + protected BigDecimal price; + + + protected String productDetails; + protected Integer productId; + protected String productName; + protected Integer productQuantity; + protected Integer qtyInvoiced; + protected String qtyReserved; + protected Integer quantity; + protected String read; + protected Integer refInOutId; + protected Integer refOrderId; + protected Integer refOrderLineid; + protected Integer refToQuote; + protected String region; + protected Integer regionId; + protected String regionName; + protected String registerNumber; + + protected Integer reserveStatus; + + protected Integer roleId; + protected String roleName; + protected String routingNumber; + protected String sernoAttributeSetInstance; + protected String startDay; + protected String startHour; + protected String startMinute; + protected String startMonth; + protected String startYear; + protected Boolean status; + protected Double stdPurchasePrice; + protected Double stdSalesPrice; + protected String subject; + protected String submit; + + protected String surname; + protected Integer taxAmt; + protected Integer[] targetId; + protected String termsAgreement; + protected String toDate; + protected Integer toOrderLineId; + protected Integer totalLines; + protected Integer transmission; + protected Integer transmissionAttributeValueId; + protected Integer userId; + protected Integer userID; + protected String username; + protected String vinNumber; + protected Integer warehouseId; + + protected Integer wareHouseId; + protected String warehouseName; + protected String warehouseType; + protected Integer year; + protected Integer yearAttributeValueId; + protected Integer makeAttributeValueId; + protected String[] qtyTargeted; + protected String sotrxFlag; + protected String bpName; + protected String compiereDocStatus; + protected String hondaDocStatus; + protected Integer first; + protected Integer licensingDistrictId; + protected String licensingDistrict; + + protected String passportNo; + protected String companyRegNo; + + protected String unitNumber; + protected String productCode; + protected Integer vehicleSpecsId; + protected String natisApplicationDate; + protected Timestamp processedDate; + + protected Timestamp natisRegistrationDate; + protected Timestamp wholesaleDate; + protected String natisControlNumber; + protected String natisRegisterNumber; + protected Integer natisModelNo; + protected String natisModelDescription; + + protected Integer enginePower; + protected Integer engineCapacity; + protected Integer tare; + protected Integer noOfWheels; + + protected Integer colourCodeMatchId; + protected String colourName; + protected String transmissionName; + protected String yearName; + + protected String mainColourCode; + protected String countryOfImpCode; + protected String shippingInvNo; + protected String estimatedTimeOfArrival; + protected String colourCodeHES; + + protected String licensingDistrictDescription; + protected String licensingDistrictCode; + + protected String bpAddress; + protected String bpPostalAddress; + + protected String bpPostalCode; + protected String bpCity; + protected String bpRegionName; + protected Integer bpRegionId; + + protected String releaseStatus; + protected String releasedBy; + protected String reservedStatus; + protected Timestamp natisreleaseDate; + + protected String uAddress1; + protected String uAddress2; + protected String uPostalAddress; + protected String uPostalCd; + protected String uCity; + protected String uRegion; + + protected String colourGroup; + + protected String modelMatching; + + protected boolean isCar; + protected ArrayList showroomTrafficBean; + + protected ArrayList showroomTrafficList = new ArrayList(); + protected Integer sales; + protected Integer traffic; + protected Integer prospects; + protected String modelName; + protected Integer modelId; + protected Integer trxId; + protected Integer modelCode; + protected Integer modelCodeId; + protected String dealerCode; + protected Integer dealerCodeId; + protected Integer salesRepId; + protected Boolean isAllocationWarehouse; + protected String name2; + protected Boolean canAlterOrder; + protected Boolean canCreateOrder; + protected Boolean canViewOrder; + protected Timestamp wholeSaleDate; + protected Integer orderlineCount; + protected Integer orderlineInvoicedCount; + protected JulianDate startDate; + protected JulianDate endDate; + protected Integer weekNo; + protected Integer attributeSetInstance; + protected String makeName; + protected String financeOption; + + protected String newVinNumber; + protected Integer attributesetinstanceIdFrom; + protected Integer attributesetinstanceIdTo; + protected ArrayList vinNumberList; + protected Integer productIds[]; + protected String reservedBy; + protected Boolean isTradeIn = Boolean.valueOf("true"); + protected String ETAFilter; + protected BigDecimal orderGrandTotal; + protected Integer orderIds[]; + + + protected Integer mImportVehiclesId; + protected String natisModelNumber; + protected Timestamp vehEstimateTimeOfArrival; + protected String vehTare; + protected String vehEngineCapacity; + protected String vehNoOfWheels; + protected String vehEnginePower; + protected Boolean colourMatchingPresent; + protected Boolean modelMatchingPresent; + protected Boolean productPresent; + protected String vehImportErrDesc; + + protected Integer modelMatchID; + protected String natisModelDesc; + protected String modelDesc; + protected String trans; + protected Boolean showActiveOnly; + protected Integer updateAttrValueId; + protected String active; + protected String visible; + protected Integer style; + protected Integer design; + protected Integer size; + protected String clientName; + + protected Integer designAttributeValueId; + protected Integer modelAttributeValueId; + protected Integer sizeAttributeValueId; + protected Integer colourAttributeValueId; + + + protected BigDecimal endingBalance; + protected String endingBalanceAsString; + protected BigDecimal amount; + protected String trxType; + protected BigDecimal amountGiven; + protected BigDecimal amountRefunded; + protected Integer cashBookId; + protected Integer cashId; + protected Integer cashLineId; + protected String cashType; + protected String cashTypeName; + protected String cashBookName; + protected String chequeNo; + protected String creditCardType; + protected String creditCardNumber; + protected String creditCardNumberEncrypted; + protected Integer creditCardExpMonth; + protected String creditCardExpMonthName; + protected Integer creditCardExpYear; + protected Integer [] posOrderLineIds; + protected Integer posId; + protected String posName; + protected String posDesc; + protected String saleRepName; + protected Integer priceListId; + protected String priceListName; + protected String paymentRule; + protected Integer cashJournalId; + protected String cashJournalName; + protected String cashJournalDisc; + protected String statmentDate; + protected Timestamp dateAcct; + protected BigDecimal invoiceAmount; + protected BigDecimal differenceAmount; + protected BigDecimal generalExpenseAmount; + protected BigDecimal generalReceiptsAmount; + protected BigDecimal bankAcctTransferAmount; + protected String transferAmount; + protected Integer cashBookIds; + protected BigDecimal beginingBalance; + protected String beginingBalanceAsString; + protected BigDecimal statementDifference; + protected String keyword; + protected String searchText; + protected String backOrder; + protected String fieldName; + protected String applicationName; + protected String applicationWebContext; + protected Boolean isWebstoreFeatured; + protected String brandName; + protected String designName; + protected String sizeName; + protected String keyword1; + protected String keyword2; + protected String keyword3; + protected String keyword4; + protected String[] sizes; + protected String[] colours; + protected String imageLink; + + protected BigDecimal priceStandard; + protected String currency;// + + protected BigDecimal cashTotal; + protected BigDecimal chequeTotal; + protected BigDecimal cardTotal; + protected BigDecimal tillGrandTotal; + protected String purchasePriceList; + protected String purchasePriceLimit; + protected String purchasePriceStandard; + protected String barCode; + protected String salesPriceList; + protected String salesPriceLimit; + protected String salesPriceStandard; + protected String reportType; + protected Integer noOfProductsRequired; + protected Integer openingBalanceQty; + protected Integer qtyOfGoodsSold; + protected Integer qtyOfGoodsReceived; + protected Integer qtyOfGoodsReturned; + protected Integer closeingBalanceQty; + protected Integer qtyReturnedByCustomer; + protected String qtyAndItem; + protected String[] discountPercent; + protected String [] actualPrice; + protected FormFile file; + protected FormFile logo; + protected FormFile image; + + protected String userSurname; + protected Integer countryId; + protected String countryName; + protected String countryCode; + + protected String newName; + protected String imageName; + protected ArrayList productsList; + protected Double paymentByCash; + protected String paymentMethod; + protected Double paymentByCard; + protected Double paymentByChq; + protected String isSales; + protected String ifAdd; + protected String productCategory; + protected String productClassification; + protected String trackingNo; + protected String revenueRecognition; + protected String cvv; + protected String creditCardPayment; + protected String shipmentMethod; + protected Boolean shipTo; + protected Boolean billTo; + protected Integer chargeId; + protected String chargeName; + protected BigDecimal chargeAmount; + + protected Integer revenueRecoId; + + protected int numberOfRequests; + protected String userName; + protected Integer requestId; + protected Integer toUserId; + protected String fromAddress; + protected String toAddresses; + protected String ccAddresses; + protected String bccAddresses; + protected String textMessage; + protected String hostAddress; + protected String priority; + protected String title; + protected Integer statusId; + + protected AttributeValuesPair attributeValuesPair; + protected HashMap attributeValuesMap; + protected Boolean isTextileProduct; + protected String qtyFilter; + protected String productType; + + + protected String attributeSetName; + + protected String attributeName; + protected ArrayList attributeValueList; + protected String [] attributeValueIds; + protected Double totalActualPrice; + protected String qtyNumberFilter; + protected Integer taxCategoryId; + protected String taxCategoryName; + protected String vendorName; + protected String timePeriod; + protected String chartType; + protected String salesGroup; + protected BigDecimal taxRate; + protected Integer accountId; + protected String dateRange; + protected Boolean transferAllAmount; + protected String adjustmentAmount; + protected String differenceAmt; + protected Boolean creatingFromOrder; + protected String transferType; + protected String priceQtyFilter; + protected Boolean hasImage; + protected String userPIN; + protected Boolean isSelfService; + protected BigDecimal cardDifference; + protected BigDecimal chequeDifference; + protected String documentNote; + protected String currencySymbole; + protected String invoiceDate; + protected Integer netDays; + protected Integer daysDue; + protected String dueDate; + protected String discountDate; + protected BigDecimal discountAmt; + protected BigDecimal invoiceGrandTotal; + protected BigDecimal paidAmt; + protected BigDecimal openAmt; + protected Integer currencyId; + protected Integer paymentTermId; + protected Integer invoiceScheduleId; + protected BigDecimal userDiscount; + + protected BigDecimal invoicedAmt; + protected BigDecimal pastDue91_plus; + protected BigDecimal pastDue61_90; + protected BigDecimal pastDue31_60; + protected BigDecimal pastDue1_30; + protected BigDecimal pastDue8_30; + protected BigDecimal pastDue1_7; + protected BigDecimal pastDueAmt; + protected BigDecimal dueAmt; + protected BigDecimal due0; + protected BigDecimal due1_7; + protected BigDecimal due8_30; + protected BigDecimal due0_30; + protected BigDecimal due31_60; + protected BigDecimal due61_90; + protected BigDecimal due91_PLUS; + + + protected BigDecimal paymentAmt; + protected BigDecimal overUnderPayment; + protected BigDecimal writeOffAmt; + protected String tenderType; + protected String invoiceNo; + protected BigDecimal creditUsed; + protected BigDecimal creditLimit; + protected BigDecimal revenue; + protected String paymentTermName; + protected Integer [] bpartnerIds; + + protected Integer blackListedId; + protected String blackListedBankName; + protected String blackListedChequeNo; + + protected Integer dunningId; + protected String dunningName; + + protected Integer dunningLevelId; + protected String dunningLevelName; + protected String dunningPrintText; + protected String dunningPrintNote; + protected Integer BP_Group_ID ; + protected String soCreditStatus; + protected String bpfirstSale; + protected String creditStatus; + public String docBasisType; + + protected String applicationType; + protected BigDecimal amtMultiplier; + + + protected Integer commissionAmtId; + protected Integer commissionRunId; + protected Integer commissionLineId; + protected BigDecimal convertedAmt; + protected Integer actualQty; + protected BigDecimal commissionAmt; + protected String commissionLineName; + protected Integer commissionDetailId; + protected String reference; + protected Integer invoiceLineId; + protected String info; + protected BigDecimal actualAmt; + protected String frequencyType; + protected String periodAndCurrencyDesc; + protected BigDecimal subtractAmt; + protected Integer qtyInventoryIn; + protected Integer qtyInventoryOut; + + protected String taxName; + protected Integer taxId; + protected Boolean isTaxExempted; + protected Integer [] invoiceIds; + protected Integer [] paymentIds; + protected String paymentNo; + protected BigDecimal taxedAmt; + protected String trxDate; + + protected Integer creditMemoId; + protected String creditMemoNumber; + + + protected Integer inventoryLineId; + protected Integer inventoryId; + protected BigDecimal qtyBook; + protected BigDecimal qtyCount; + + protected String inventoryNo; + protected String movementDate; + + protected Boolean afterDelivery; + protected Boolean fixedDueDate; + protected Boolean nextBusinessday; + protected Integer fixedMonthDay; + protected Integer fixedMonthOffset; + protected Integer fiedMonthCutoff; + protected String toBeShipped; + protected Integer discountDay1; + protected Integer discountDay2; + protected BigDecimal discountAmt1; + protected BigDecimal discountAmt2; + protected BigDecimal allocatedAmount; + protected BigDecimal bookQtyValue; + protected BigDecimal countQtyValue; + + protected PaymentBean paymentBeanIndex; + + protected BigDecimal [] allocateAmount; + + protected BigDecimal paymentAllocatedAmt; + protected BigDecimal AvailableAmt; + protected Integer [] inventoryIds; + protected String historyType; + + + public Boolean getIsActive() + { + return isActive; + } + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } +} + + + diff --git a/posterita/src/main/org/posterita/beans/UDIPair.java b/posterita/src/main/org/posterita/beans/UDIPair.java new file mode 100644 index 0000000000..437f9277f0 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/UDIPair.java @@ -0,0 +1,128 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on 28-Jun-2005 by alok + * + */ +package org.posterita.beans; + +import java.util.ArrayList; + + +public class UDIPair implements Comparable +{ + + private Integer ID; + private String key; + private String value; + + private UDIPair pair; + private ArrayList arr; + + public UDIPair(Integer ID, String value) + { + this.ID = ID; + this.value = value; + } + + public UDIPair(String key, String value) + { + this.key = key; + this.value = value; + } + + + public UDIPair(UDIPair pair, ArrayList arr) + { + this.pair = pair; + this.arr = arr; + } + + + + public ArrayList getArr() { + return arr; + } + + + public void setArr(ArrayList arr) { + this.arr = arr; + } + + + public UDIPair getPair() { + return pair; + } + + + public void setPair(UDIPair pair) { + this.pair = pair; + } + + + /** + * @return Returns the iD. + */ + public Integer getID() { + return ID; + } + /** + * @param id The iD to set. + */ + public void setID(Integer id) { + ID = id; + } + /** + * @return Returns the value. + */ + public String getValue() { + return value; + } + /** + * @param value The value to set. + */ + public void setValue(String value) { + this.value = value; + } + /* (non-Javadoc) + * @see java.lang.Comparable#compareTo(java.lang.Object) + */ + public int compareTo(Object o) + { + UDIPair pair = (UDIPair) o; + + return this.getValue().compareTo(pair.getValue()); + } + + public String getKey() + { + return key; + } + + public void setKey(String key) + { + this.key = key; + } + + public String toString() + { + String str ="ID:" +getID() + " Value:" +getValue(); + return str; + } + } + diff --git a/posterita/src/main/org/posterita/beans/UserBean.java b/posterita/src/main/org/posterita/beans/UserBean.java new file mode 100644 index 0000000000..2af1cacfe1 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/UserBean.java @@ -0,0 +1,326 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jul 29, 2005 by din + */ + +package org.posterita.beans; + +import java.math.BigDecimal; + +public class UserBean extends UDIBean +{ + + + + + + + + + public Boolean getIsFullAccess() { + return isFullAccess; +} + +public void setIsFullAccess(Boolean isFullAccess) { + this.isFullAccess = isFullAccess; +} + + public BigDecimal getSubtractAmt() { + return subtractAmt; +} + +public void setSubtractAmt(BigDecimal subtractAmt) { + this.subtractAmt = subtractAmt; +} + public String getFrequencyType() { + return frequencyType; + } + public void setFrequencyType(String frequencyType) { + this.frequencyType = frequencyType; + } + public BigDecimal getAmtMultiplier() { + return amtMultiplier; +} +public void setAmtMultiplier(BigDecimal amtMultiplier) { + this.amtMultiplier = amtMultiplier; +} + public String getDocBasisType() { + return docBasisType; + } + public void setDocBasisType(String docBasisType) { + this.docBasisType = docBasisType; + } + public String getUserPIN() + { + return userPIN; + } + public void setUserPIN(String userPIN) + { + this.userPIN = userPIN; + } + public Integer getPartnerId() + { + return partnerId; + } + + public void setPartnerId(Integer partnerId) + { + this.partnerId = partnerId; + } + + public String getCountryName() { + return countryName; +} + +public void setCountryName(String countryName) { + this.countryName = countryName; +} + + public Integer getCountryId() { + return countryId; + } + + public void setCountryId(Integer countryId) { + this.countryId = countryId; + } + + public String getUserSurname() { + return userSurname; + } + + public void setUserSurname(String userSurname) { + this.userSurname = userSurname; + } + + public Integer getLocationId() + { + return locationId; + } + + public void setLocationId(Integer locationId) + { + this.locationId = locationId; + } + + public String getAddress1() + { + return address1; + } + + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getAddress2() + { + return address2; + } + + public void setAddress2(String address2) + { + this.address2 = address2; + } + + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + public Boolean getIsActive() + { + return isActive; + } + + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } + + public String getPassword() + { + return password; + } + + public void setPassword(String password) + { + this.password = password; + } + + public String getConfirmPassword() + { + return confirmPassword; + } + + public void setConfirmPassword(String confirmPassword) + { + this.confirmPassword = confirmPassword; + } + + public String getPhone() + { + return phone; + } + + public void setPhone(String phone) + { + this.phone = phone; + } + + public String getPostalAddress() + { + return postalAddress; + } + + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + + public String getUsername() + { + return username; + } + public void setUsername(String username) + { + this.username = username; + } + + public String getEmail() + { + return email; + } + + public void setEmail(String email) + { + this.email = email; + } + public String getFax() + { + return fax; + } + + public void setFax(String fax) + { + this.fax = fax; + } + + public Integer getRoleId() + { + return roleId; + } + + public void setRoleId(Integer roleId) + { + this.roleId = roleId; + } + public String getRoleName() + { + return roleName; + } + public void setRoleName(String roleName) + { + this.roleName = roleName; + } + public Boolean getIsSalesRep() + { + return isSalesRep; + } + + public void setIsSalesRep(Boolean isSalesRep) + { + this.isSalesRep = isSalesRep; + } + + public Integer getRegionId() + { + return regionId; + } + + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + public Integer getUserId() + { + return userId; + } + + public void setUserId(Integer userId) + { + this.userId = userId; + } + + public String getRegion() + { + return region; + } + public void setRegion(String region) + { + this.region = region; + } + + public String getName() + { + return name; + } + public void setName(String name) + { + this.name = name; + } + public String getCountryCode() + { + return countryCode; + } + public void setCountryCode(String countryCode) + { + this.countryCode = countryCode; + } + + public BigDecimal getUserDiscount() { + return userDiscount; + } + public void setUserDiscount(BigDecimal userDiscount) { + this.userDiscount = userDiscount; + } + + public String getPhone2() { + return phone2; + } + public void setPhone2(String phone2) { + this.phone2 = phone2; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/VendorBean.java b/posterita/src/main/org/posterita/beans/VendorBean.java new file mode 100644 index 0000000000..c594ebc23d --- /dev/null +++ b/posterita/src/main/org/posterita/beans/VendorBean.java @@ -0,0 +1,102 @@ +package org.posterita.beans; + +public class VendorBean extends UDIBean +{ + public Integer getCountryId() { + return countryId; + } + + public void setCountryId(Integer countryId) { + this.countryId = countryId; + } + + public String getPartnerName() + { + return partnerName; + } + + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getPhone2() { + return phone2; + } + + public void setPhone2(String phone2) { + this.phone2 = phone2; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public String getFax() { + return fax; + } + + public void setFax(String fax) { + this.fax = fax; + } + + public String getSurname() { + return surname; + } + + public void setSurname(String surname) { + this.surname = surname; + } + public Boolean getIsActive() { + return isActive; + } + + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + public Integer getBpartnerId() { + return bpartnerId; + } + + public void setBpartnerId(Integer bpartnerId) { + this.bpartnerId = bpartnerId; + } +} + diff --git a/posterita/src/main/org/posterita/beans/WBProductBean.java b/posterita/src/main/org/posterita/beans/WBProductBean.java new file mode 100644 index 0000000000..4ae6275fa5 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WBProductBean.java @@ -0,0 +1,206 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on May 3, 2006 by ashley +* +*/ + +package org.posterita.beans; + +import java.math.BigDecimal; + +import org.posterita.businesslogic.ProductManager; + +public class WBProductBean extends UDIBean +{ + + + public String getProductClassification() + { + return productClassification; + } + + public void setProductClassification(String productClassification) + { + this.productClassification = productClassification; + } + + public String getCurrency() + { + return currency; + } + + public void setCurrency(String currency) + { + this.currency = currency; + } + + public BigDecimal getPriceStandard() + { + return priceStandard; + } + + public void setPriceStandard(BigDecimal priceStandard) + { + this.priceStandard = priceStandard; + } + + public WBProductBean() + { + this.quantity = Integer.valueOf(0); + } + public String getBrandName() + { + return brandName; + } + public void setBrandName(String brandName) + { + this.brandName = brandName; + } + public String getColourName() + { + return colourName; + } + public void setColourName(String colourName) + { + this.colourName = colourName; + } + public String getDesignName() + { + return designName; + } + public void setDesignName(String designName) + { + this.designName = designName; + } + public String getModelName() + { + return modelName; + } + public void setModelName(String modelName) + { + this.modelName = modelName; + } + public String getSizeName() + { + return sizeName; + } + public void setSizeName(String sizeName) + { + this.sizeName = sizeName; + } + public String getKeyword1() + { + return keyword1; + } + public void setKeyword1(String keyword1) + { + this.keyword1 = keyword1; + } + public String getKeyword2() + { + return keyword2; + } + public void setKeyword2(String keyword2) + { + this.keyword2 = keyword2; + } + public Boolean getIsWebstoreFeatured() + { + return isWebstoreFeatured; + } + public void setIsWebstoreFeatured(Boolean isWebstoreFeatured) + { + this.isWebstoreFeatured = isWebstoreFeatured; + } + public Integer getProductId() + { + return productId; + } + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public String toString() + { + StringBuffer prodNameBuffer = new StringBuffer(); + prodNameBuffer.append(brandName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(designName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(modelName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(colourName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(sizeName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + + return prodNameBuffer.toString(); + } + + public String getMainAttributes() + { + StringBuffer prodNameBuffer = new StringBuffer(); + prodNameBuffer.append(brandName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(designName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(modelName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + prodNameBuffer.append(colourName + ProductManager.PRODUCT_ATTRIBUTES_DELIMETER); + return prodNameBuffer.toString(); + } + + public Integer getQuantity() + { + return quantity; + } + public void setQuantity(Integer quantity) + { + this.quantity = quantity; + } + public String getKeyword3() + { + return keyword3; + } + public void setKeyword3(String keyword3) + { + this.keyword3 = keyword3; + } + public String getKeyword4() + { + return keyword4; + } + public void setKeyword4(String keyword4) + { + this.keyword4 = keyword4; + } + + public Boolean getIsSelfService() + { + return isSelfService; + } + + public void setIsSelfService(Boolean isSelfService) + { + this.isSelfService = isSelfService; + } + + public String getDocumentNote() + { + return documentNote; + } + + public void setDocumentNote(String documentNote) + { + this.documentNote = documentNote; + } +} diff --git a/posterita/src/main/org/posterita/beans/WarehouseBean.java b/posterita/src/main/org/posterita/beans/WarehouseBean.java new file mode 100644 index 0000000000..15d401f728 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WarehouseBean.java @@ -0,0 +1,187 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Created on Jul 26, 2005 by din + */ + +package org.posterita.beans; + +public class WarehouseBean extends UDIBean +{ + + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public String getWarehouseType() + { + return warehouseType; + } + + public void setWarehouseType(String warehouseType) + { + this.warehouseType = warehouseType; + } + + public Boolean getIsAllocationWarehouse() + { + return isAllocationWarehouse; + } + + public void setIsAllocationWarehouse(Boolean isAllocationWarehouse) + { + this.isAllocationWarehouse = isAllocationWarehouse; + } + + public Integer getWarehouseId() + { + return warehouseId; + } + + public void setWarehouseId(Integer warehouseId) + { + this.warehouseId = warehouseId; + } + + public String getWarehouseName() + { + return warehouseName; + } + + public void setWarehouseName(String warehouseName) + { + this.warehouseName = warehouseName; + } + + public String getAddress1() + { + return address1; + } + + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public String getPostalAddress() + { + return postalAddress; + } + + public void setPostalAddress(String postalAddress) + { + this.postalAddress = postalAddress; + } + + public Integer getRegionId() + { + return regionId; + } + + public void setRegionId(Integer regionId) + { + this.regionId = regionId; + } + + public Boolean getIsPublic() + { + return isPublic; + } + + public void setIsPublic(Boolean isPublic) + { + this.isPublic = isPublic; + } + + public String getAisle() + { + return aisle; + } + + public void setAisle(String aisle) + { + this.aisle = aisle; + } + + public String getBin() + { + return bin; + } + + public void setBin(String bin) + { + this.bin = bin; + } + + public Boolean getIsDefault() + { + return isDefault; + } + + public void setIsDefault(Boolean isDefault) + { + this.isDefault = isDefault; + } + + public String getLevel() + { + return level; + } + + public void setLevel(String level) + { + this.level = level; + } + + public String getRegionName() + { + return regionName; + } + + public void setRegionName(String regionName) + { + this.regionName = regionName; + } + + public Boolean getIsActive() + { + return isActive; + } + + public void setIsActive(Boolean isActive) + { + this.isActive = isActive; + } +} diff --git a/posterita/src/main/org/posterita/beans/WebDocumentBean.java b/posterita/src/main/org/posterita/beans/WebDocumentBean.java new file mode 100644 index 0000000000..0c054aec86 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebDocumentBean.java @@ -0,0 +1,612 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* Created on Jul 26, 2005 by din +*/ + +package org.posterita.beans; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Properties; + +import org.compiere.model.MBPartner; +import org.compiere.model.MBPartnerLocation; +import org.compiere.model.MCashLine; +import org.compiere.model.MInOut; +import org.compiere.model.MInvoice; +import org.compiere.model.MLocation; +import org.compiere.model.MOrder; +import org.compiere.model.MPayment; + + +public class WebDocumentBean extends UDIBean +{ + String[] simpleCommand = new String[0]; + String[] complexCommand = new String[0]; + MBPartner me; + MBPartnerLocation mebpLocation; + MLocation meLocation; + + + + MBPartner you; + MBPartnerLocation youbpLocation; + MLocation youLocation; + String daysRemaining; + String month; + String year; + String displayCheckBox = null; + private String salesRep; + private String description; + + private ArrayList lines = new ArrayList(); + + private MOrder order; + private MInvoice invoice; + private MInOut minOut; + private MPayment payment; + private String tenderType; + private WebDocumentHeaderBean headerBean; + + private Properties ctx; + private ArrayList allocations; + + private BigDecimal totalLines; + private BigDecimal totalTax; + private BigDecimal grandTotal; + private String isPaid; + private String isShipped; + private Double paymentByCash; + private Double paymentByCard; + private Double paymentbyCheque; + private Integer totalQty; + private MCashLine cashLine; + + + public String getCurrencySymbole() { + return currencySymbole; + } + public void setCurrencySymbole(String currencySymbole) { + this.currencySymbole = currencySymbole; + } + public Integer getTotalQty() { + return totalQty; + } + public void setTotalQty(Integer totalQty) { + this.totalQty = totalQty; + } + public String getIsPaid() + { + return isPaid; + } + public void setIsPaid(String isPaid) + { + this.isPaid = isPaid; + } + public String getIsShipped() + { + return isShipped; + } + public void setIsShipped(String isShipped) + { + this.isShipped = isShipped; + } + public String getTrackingNo() + { + return trackingNo; + } + public void setTrackingNo(String trackingNo) + { + this.trackingNo = trackingNo; + } + + + + public String getSalesRep() { + return salesRep; + } + public void setSalesRep(String salesRep) { + this.salesRep = salesRep; + } + public BigDecimal getGrandTotal() { + return grandTotal; + } + public void setGrandTotal(BigDecimal grandTotal) { + this.grandTotal = grandTotal; + } + public BigDecimal getTotalLines() { + return totalLines; + } + public void setTotalLines(BigDecimal totalLines) { + this.totalLines = totalLines; + } + public BigDecimal getTotalTax() { + return totalTax; + } + public void setTotalTax(BigDecimal totalTax) { + this.totalTax = totalTax; + } + + + public ArrayList getAllocations() { + return allocations; + } + public void setAllocations(ArrayList allocations) { + this.allocations = allocations; + } + public UDIPair[] pairVinNumbers = new UDIPair[]{}; + + public UDIPair[] getPairVinNumbers() + { + return pairVinNumbers; + } + + public void setPairVinNumbers(UDIPair[] pairVinNumbers) + { + this.pairVinNumbers = pairVinNumbers; + } + + public WebDocumentHeaderBean getHeaderBean() + { + return headerBean; + } + + public void setHeaderBean(WebDocumentHeaderBean headerBean) + { + this.headerBean = headerBean; + } + + + public MOrder getOrder() + { + return order; + } + + public void setOrder(MOrder order) + { + this.order = order; + } + + public MInvoice getInvoice() + { + return invoice; + } + + public void setInvoice(MInvoice invoice) + { + this.invoice = invoice; + } + + + + public String[] getSimpleCommand() { + return simpleCommand; + } + + + public void setSimpleCommand(String[] simpleCommand) + { + this.simpleCommand = simpleCommand; + } + + + public MBPartner getMe() + { + return me; + } + + + public void setMe(MBPartner me) + { + this.me = me; + } + + + public MBPartnerLocation getMebpLocation() + { + return mebpLocation; + } + + + public void setMebpLocation(MBPartnerLocation mebpLocation) + { + this.mebpLocation = mebpLocation; + } + + + public MLocation getMeLocation() + { + return meLocation; + } + + + public void setMeLocation(MLocation meLocation) + { + this.meLocation = meLocation; + } + + + public MBPartner getYou() + { + return you; + } + + + public void setYou(MBPartner you) + { + this.you = you; + } + + + public MBPartnerLocation getYoubpLocation() + { + return youbpLocation; + } + + + public void setYoubpLocation(MBPartnerLocation youbpLocation) + { + this.youbpLocation = youbpLocation; + } + + + public MLocation getYouLocation() + { + return youLocation; + } + + + public void setYouLocation(MLocation youLocation) + { + this.youLocation = youLocation; + } + + + public ArrayList getLines() + { + return lines; + } + + public void setLines(ArrayList lines) + { + this.lines = lines; + } + + + public String[] getComplexCommand() + { + return complexCommand; + } + + + public void setComplexCommand(String[] complexCommand) + { + this.complexCommand = complexCommand; + } + + public String getDaysRemaining() + { + return daysRemaining; + } + + public void setDaysRemaining(String daysRemaining) + { + this.daysRemaining = daysRemaining; + } + + + + public String getMonth() + { + return month; + } + + public void setMonth(String month) + { + this.month = month; + } + + public String getYear() + { + return year; + } + + public void setYear(String year) + { + this.year = year; + } + + public String getDisplayCheckBox() + { + return displayCheckBox; + } + + public void setDisplayCheckBox(String displayCheckBox) + { + this.displayCheckBox = displayCheckBox; + } + + public String getSubmit() + { + return submit; + } + + public void setSubmit(String submit) + { + this.submit = submit; + } + + public Integer getOrderId() + { + return orderId; + } + + public void setOrderId(Integer orderId) + { + this.orderId = orderId; + } + + public String getPoReference() + { + return poReference; + } + + public void setPoReference(String poReference) + { + this.poReference = poReference; + } + + public String getTermsAgreement() + { + return termsAgreement; + } + + public void setTermsAgreement(String termsAgreement) + { + this.termsAgreement = termsAgreement; + } + + public ArrayList getOrderLineBean() + { + return orderLineBean; + } + public void setOrderLineBean(ArrayList orderLineBean) + { + this.orderLineBean = orderLineBean; + } + + public String getAddress1() + { + return address1; + } + + public void setAddress1(String address1) + { + this.address1 = address1; + } + + public String getCity() + { + return city; + } + + public void setCity(String city) + { + this.city = city; + } + + public String getDocStatus() + { + return docStatus; + } + + public void setDocStatus(String docStatus) + { + this.docStatus = docStatus; + } + + + public String getPartnerName() + { + return partnerName; + } + + public void setPartnerName(String partnerName) + { + this.partnerName = partnerName; + } + + + public Timestamp getDateOrdered() + { + return dateOrdered; + } + + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + + + public Integer getBpartnerId() + { + return bpartnerId; + } + public void setBpartnerId(Integer bpartnerId) + { + this.bpartnerId = bpartnerId; + } + + + public String getDatePromised() + { + return datePromised; + } + + public void setDatePromised(String datePromised) + { + this.datePromised = datePromised; + } + + public String getIsApproved() + { + return isApproved; + } + + public void setIsApproved(String isApproved) + { + this.isApproved = isApproved; + } + public String getIsDelivered() + { + return isDelivered; + } + public void setIsDelivered(String isDelivered) + { + this.isDelivered = isDelivered; + } + public String getIsInvoiced() + { + return isInvoiced; + } + public void setIsInvoiced(String isInvoiced) + { + this.isInvoiced = isInvoiced; + } + + public String getDocumentNo() + { + return documentNo; + } + + public void setDocumentNo(String documentNo) + { + this.documentNo = documentNo; + } + + public String isSoTrx() + { + return isSoTrx; + } + + public void setIsSoTrx(String isSoTrx) + { + this.isSoTrx = isSoTrx; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + + public Integer getInvoiceId() + { + return invoiceId; + } + + + public MInOut getMinOut() + { + return minOut; + } + + public void setMinOut(MInOut minOut) + { + this.minOut = minOut; + } + + public Integer getPaymentId() + { + return paymentId; + } + + public void setPaymentId(Integer paymentId) + { + this.paymentId = paymentId; + } + + public MPayment getPayment() + { + return payment; + } + + public void setPayment(MPayment payment) + { + this.payment = payment; + } + + public Integer getMinOutId() + { + return minOutId; + } + + public void setMinOutId(Integer minOutId) + { + this.minOutId = minOutId; + } + + + public Properties getCtx() { + return ctx; + } + public void setCtx(Properties ctx) { + this.ctx = ctx; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Double getPaymentByCard() { + return paymentByCard; + } + public void setPaymentByCard(Double paymentByCard) { + this.paymentByCard = paymentByCard; + } + public Double getPaymentByCash() { + return paymentByCash; + } + public void setPaymentByCash(Double paymentByCash) { + this.paymentByCash = paymentByCash; + } + public Double getPaymentbyCheque() { + return paymentbyCheque; + } + public void setPaymentbyCheque(Double paymentbyCheque) { + this.paymentbyCheque = paymentbyCheque; + } + public String getTenderType() + { + return tenderType; + } + public void setTenderType(String tenderType) + { + this.tenderType = tenderType; + } + public MCashLine getCashLine() { + return cashLine; + } + public void setCashLine(MCashLine cashLine) { + this.cashLine = cashLine; + } + + +} diff --git a/posterita/src/main/org/posterita/beans/WebDocumentHeaderBean.java b/posterita/src/main/org/posterita/beans/WebDocumentHeaderBean.java new file mode 100644 index 0000000000..f6ece97bdb --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebDocumentHeaderBean.java @@ -0,0 +1,194 @@ +/* + * Created on Mar 13, 2005 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Style - Code Templates + */ +package org.posterita.beans; + +import java.sql.Timestamp; + +public class WebDocumentHeaderBean +{ + private String dcsRef; + private String dcsCounterRef; + private String documentStatus; + private String dealerRef; + private String dealerCounterRef; + private String documentTitle; + private String documentName; + private String from; + private String to; + private String date; + private String counterDate; + private String youName; + private String poReference; + private Timestamp dateOrdered; + private String documentHeader; + private String shipped; + private String paymentType; + private String paymentByCash; + private String paymentByCard; + private String paymentbyCheque; + private String bpartnerId; + + + + + + public String getPaymentType() { + return paymentType; + } + + public void setPaymentType(String paymentType) { + this.paymentType = paymentType; + } + + public String getShipped() + { + return shipped; + } + + public void setShipped(String shipped) + { + this.shipped = shipped; + } + + public String getDocumentHeader() + { + return documentHeader; + } + + public void setDocumentHeader(String documentHeader) + { + this.documentHeader = documentHeader; + } + + public String getYouName() { + return youName; + } + public void setYouName(String youName) { + this.youName = youName; + } + public String getCounterDate() { + return counterDate; + } + public void setCounterDate(String counterDate) { + this.counterDate = counterDate; + } + public String getDate() { + return date; + } + public void setDate(String date) { + this.date = date; + } + public String getDcsCounterRef() { + return dcsCounterRef; + } + public void setDcsCounterRef(String dcsCounterRef) { + this.dcsCounterRef = dcsCounterRef; + } + public String getDcsRef() { + return dcsRef; + } + public void setDcsRef(String dcsRef) { + this.dcsRef = dcsRef; + } + public String getDealerCounterRef() { + return dealerCounterRef; + } + public void setDealerCounterRef(String dealerCounterRef) { + this.dealerCounterRef = dealerCounterRef; + } + public String getDealerRef() { + return dealerRef; + } + public void setDealerRef(String dealerRef) { + this.dealerRef = dealerRef; + } + public String getDocumentName() { + return documentName; + } + public void setDocumentName(String documentName) { + this.documentName = documentName; + } + public String getDocumentStatus() { + return documentStatus; + } + public void setDocumentStatus(String documentStatus) { + this.documentStatus = documentStatus; + } + public String getDocumentTitle() { + return documentTitle; + } + public void setDocumentTitle(String documentTitle) { + this.documentTitle = documentTitle; + } + public String getFrom() { + return from; + } + public void setFrom(String from) { + this.from = from; + } + public String getTo() { + return to; + } + public void setTo(String to) { + this.to = to; + } + + public String getPoReference() + { + return poReference; + } + + public void setPoReference(String poReference) + { + this.poReference = poReference; + } + + public Timestamp getDateOrdered() + { + return dateOrdered; + } + + public void setDateOrdered(Timestamp dateOrdered) + { + this.dateOrdered = dateOrdered; + } + + public String getPaymentByCard() { + return paymentByCard; + } + + public void setPaymentByCard(String paymentByCard) { + this.paymentByCard = paymentByCard; + } + + public String getPaymentByCash() { + return paymentByCash; + } + + public void setPaymentByCash(String paymentByCash) { + this.paymentByCash = paymentByCash; + } + + public String getPaymentbyCheque() { + return paymentbyCheque; + } + + public void setPaymentbyCheque(String paymentbyCheque) { + this.paymentbyCheque = paymentbyCheque; + } + + public String getBpartnerId() + { + return bpartnerId; + } + + public void setBpartnerId(String bpartnerId) + { + this.bpartnerId = bpartnerId; + } + +} diff --git a/posterita/src/main/org/posterita/beans/WebInvoiceLineBean.java b/posterita/src/main/org/posterita/beans/WebInvoiceLineBean.java new file mode 100644 index 0000000000..2ebf1a89f4 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebInvoiceLineBean.java @@ -0,0 +1,63 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.math.BigDecimal; + + +public class WebInvoiceLineBean extends WebOrderLineBean +{ + private Integer invoiceId; + private Integer qtyInvoiced; + //amount including tax + private BigDecimal lineTotalAmount; + + public BigDecimal getLineTotalAmt() + { + return lineTotalAmount; + } + + public void setLineTotalAmt(BigDecimal lineTotalAmt) + { + this.lineTotalAmount = lineTotalAmt; + } + + + + public Integer getInvoiceId() + { + return invoiceId; + } + + public void setInvoiceId(Integer invoiceId) + { + this.invoiceId = invoiceId; + } + + public Integer getQtyInvoiced() + { + return qtyInvoiced; + } + + public void setQtyInvoiced(Integer qtyInvoiced) + { + this.qtyInvoiced = qtyInvoiced; + } +} diff --git a/posterita/src/main/org/posterita/beans/WebMinOutLineBean.java b/posterita/src/main/org/posterita/beans/WebMinOutLineBean.java new file mode 100644 index 0000000000..2273eb5dda --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebMinOutLineBean.java @@ -0,0 +1,26 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + + +public class WebMinOutLineBean extends WebOrderLineBean +{ + +} diff --git a/posterita/src/main/org/posterita/beans/WebOrderLineBean.java b/posterita/src/main/org/posterita/beans/WebOrderLineBean.java new file mode 100644 index 0000000000..d8e96b0c57 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebOrderLineBean.java @@ -0,0 +1,381 @@ +/* + * Created on Mar 3, 2005 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Style - Code Templates + */ +package org.posterita.beans; + +import java.math.BigDecimal; +import java.util.ArrayList; + + +public class WebOrderLineBean +{ + private AttributeValuesPair attributeValuesPair; + private UDIPair[] actions; + private WebOrderLineBean myPref; + private WebOrderLineBean[] myChoices; + private BigDecimal discountPercentage; + private BigDecimal qtyTotal; + + + + //amount excluding tax + private BigDecimal lineNetAmt; + private BigDecimal taxAmt; + private BigDecimal priceActual; + private Integer orderLineId; + private Integer productId; + private ArrayList vinNumberPairs; + private Integer attributeSetInstanceId; + private String serno; + private Boolean isInvoiced; + private String engineNo; + private Boolean isQtyReserved; + private Integer partnerId; + private BigDecimal totalAmt; + private Integer tradeInOrderlineId; + private BigDecimal lineTotalAmt; + private String tradeInVin; + + private String productName; + private Integer count; + private BigDecimal qtyOrdered; + private BigDecimal grandTotal; + private String trxType; + private BigDecimal amountGiven; + private BigDecimal amountRefunded; + private Boolean isRejectable; + private String currency; + private String description; + private BigDecimal unitPrice; + + + + + public BigDecimal getUnitPrice() { + return unitPrice; + } + + public void setUnitPrice(BigDecimal unitPrice) { + this.unitPrice = unitPrice; + } + + public String getCurrency() + { + return currency; + } + + public void setCurrency(String currency) + { + this.currency = currency; + } + + /** + * @return Returns the amountGiven. + */ + public BigDecimal getAmountGiven() { + return amountGiven; + } + /** + * @param amountGiven The amountGiven to set. + */ + public void setAmountGiven(BigDecimal amountGiven) { + this.amountGiven = amountGiven; + } + /** + * @return Returns the amountRefunded. + */ + public BigDecimal getAmountRefunded() { + return amountRefunded; + } + /** + * @param amountRefunded The amountRefunded to set. + */ + public void setAmountRefunded(BigDecimal amountRefunded) { + this.amountRefunded = amountRefunded; + } + public String getTrxType() + { + return trxType; + } + + public void setTrxType(String trxType) + { + this.trxType = trxType; + } + public BigDecimal getGrandTotal() + { + return grandTotal; + } + + public void setGrandTotal(BigDecimal grandTotal) + { + this.grandTotal = grandTotal; + } + public BigDecimal getQtyOrdered() + { + return qtyOrdered; + } + + public void setQtyOrdered(BigDecimal qtyOrdered) + { + this.qtyOrdered=qtyOrdered; + } + + public Integer getCount() + { + return count; + } + + public void setCount(Integer count) + { + this.count=count; + } + + public String getProductName() + { + return productName; + } + + public void setProductName(String productName) + { + this.productName=productName; + } + + public Boolean getIsQtyReserved() + { + return isQtyReserved; + } + + public void setIsQtyReserved(Boolean isQtyReserved) + { + this.isQtyReserved = isQtyReserved; + } + + public String getEngineNo() { + return engineNo; + } + public void setEngineNo(String engineNo) { + this.engineNo = engineNo; + } + public Boolean getIsInvoiced() + { + return isInvoiced; + } + + public void setIsinvoiced(Boolean isInvoiced) + { + this.isInvoiced = isInvoiced; + } + + + public BigDecimal getPriceActual() + { + return priceActual; + } + + public void setPriceActual(BigDecimal priceActual) + { + this.priceActual = priceActual; + } + public BigDecimal getTaxAmt() + { + return taxAmt; + } + + public void setTaxAmt(BigDecimal taxAmt) + { + this.taxAmt = taxAmt; + } + + + public UDIPair[] getActions() + { + return actions; + } + public void setActions(UDIPair[] actions) + { + this.actions = actions; + } + public WebOrderLineBean[] getMyChoices() + { + return myChoices; + } + public void setMyChoices(WebOrderLineBean[] myChoices) + { + this.myChoices = myChoices; + } + public WebOrderLineBean getMyPref() + { + return myPref; + } + public void setMyPref(WebOrderLineBean myPref) + { + this.myPref = myPref; + } + + public void setLineNetAmt(BigDecimal lineNetAmt) + { + this.lineNetAmt = lineNetAmt; + } + + public BigDecimal getLineNetAmt() + { + return lineNetAmt; + } + + public AttributeValuesPair getAttributeValuesPair() + { + return attributeValuesPair; + } + + public void setAttributeValuesPair(AttributeValuesPair attributeValuesPair) + { + this.attributeValuesPair = attributeValuesPair; + } + + public void setOrderLineId(Integer orderLineId) + { + this.orderLineId = orderLineId; + } + + public Integer getOrderLineId() + { + return orderLineId; + } + + public void setProductId(Integer productId) + { + this.productId = productId; + } + + public Integer getProductId() + { + return productId; + } + + public void setAttributeSetInstanceid(Integer attributeSetInstanceId) + { + this.attributeSetInstanceId = attributeSetInstanceId; + } + + public Integer getAttributeSetInstanceId() + { + return attributeSetInstanceId; + } + + + public ArrayList getVinNumberPairs() + { + return vinNumberPairs; + } + + public void setVinNumberPairs(ArrayList vinNumberPairs) + { + this.vinNumberPairs = vinNumberPairs; + } + + public String getSerno() + { + return serno; + } + + public void setSerno(String serno) + { + this.serno = serno; + } + + public Integer getPartnerId() + { + return partnerId; + } + + public void setPartnerId(Integer partnerId) + { + this.partnerId = partnerId; + } + + public BigDecimal getTotalAmt() + { + return totalAmt; + } + + public void setTotalAmt(BigDecimal totalAmt) + { + this.totalAmt = totalAmt; + } + + public Integer getTradeInOrderlineId() + { + return tradeInOrderlineId; + } + + public void setTradeInOrderlineId(Integer tradeInOrderlineId) + { + this.tradeInOrderlineId = tradeInOrderlineId; + } + + public BigDecimal getLineTotalAmt() + { + return lineTotalAmt; + } + + public void setLineTotalAmt(BigDecimal lineTotalAmt) + { + this.lineTotalAmt = lineTotalAmt; + } + + public String getTradeInVin() + { + return tradeInVin; + } + + public void setTradeInVin(String tradeInVin) + { + this.tradeInVin = tradeInVin; + } + + + + public Boolean getIsRejectable() + { + return isRejectable; + } + + public void setIsRejectable(Boolean isRejectable) + { + this.isRejectable = isRejectable; + } + + public String getDescription() + { + return description; + } + + public void setDescription(String description) + { + this.description = description; + } + + public BigDecimal getDiscountPercentage() { + return discountPercentage; + } + + public void setDiscountPercentage(BigDecimal discountPercentage) { + this.discountPercentage = discountPercentage; + } + + public BigDecimal getQtyTotal() { + return qtyTotal; + } + + public void setQtyTotal(BigDecimal qtyTotal) { + this.qtyTotal = qtyTotal; + } + + + + +} diff --git a/posterita/src/main/org/posterita/beans/WebStockBean.java b/posterita/src/main/org/posterita/beans/WebStockBean.java new file mode 100644 index 0000000000..7b379e0277 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebStockBean.java @@ -0,0 +1,49 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +package org.posterita.beans; + +import java.util.ArrayList; + + +public class WebStockBean +{ + private AttributeValuesBean attributeValuesBean; + private ArrayList regions; + + public AttributeValuesBean getAttributeValuesBean() + { + return attributeValuesBean; + } + + public void setAttributeValuesBean(AttributeValuesBean attributeValuesBean) + { + this.attributeValuesBean = attributeValuesBean; + } + + public ArrayList getRegions() + { + return regions; + } + + public void setRegions(ArrayList regions) + { + this.regions = regions; + } +} diff --git a/posterita/src/main/org/posterita/beans/WebstoreProductImageFileBean.java b/posterita/src/main/org/posterita/beans/WebstoreProductImageFileBean.java new file mode 100644 index 0000000000..8ff2977a1a --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebstoreProductImageFileBean.java @@ -0,0 +1,104 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ + +/** + @author ashley + */ + +package org.posterita.beans; + +import java.util.ArrayList; +import java.util.Iterator; + +public class WebstoreProductImageFileBean +{ + + private String fileName; + private String brandDesignModelColourAttr; + + private ArrayList sizeList; + + public WebstoreProductImageFileBean() + { + sizeList = new ArrayList(); + } + + public String getBrandDesignModelColourAttr() + { + return brandDesignModelColourAttr; + } + + public void setBrandDesignModelColourAttr(String brandDesignModelColourAttr) + { + this.brandDesignModelColourAttr = brandDesignModelColourAttr; + } + + public String getFileName() + { + return fileName; + } + + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public ArrayList getSizeList() + { + return sizeList; + } + + public void setSizeList(ArrayList sizeList) + { + this.sizeList = sizeList; + } + + public void addSize(String size) + { + sizeList.add(size); + } + + @Override + public boolean equals(Object obj) + { + boolean equals = false; + + if(obj instanceof WebstoreProductImageFileBean) + { + if(((WebstoreProductImageFileBean)obj).brandDesignModelColourAttr.equalsIgnoreCase(this.brandDesignModelColourAttr)) + { + WebstoreProductImageFileBean tWProductImageFileBean = (WebstoreProductImageFileBean)obj; + Iterator sizeIter = tWProductImageFileBean.getSizeList().iterator(); + while(sizeIter.hasNext()) + { + String s = sizeIter.next(); + if(this.sizeList.contains(s)) + { + equals = true; + break; + } + } + } + } + + return equals; + } +} diff --git a/posterita/src/main/org/posterita/beans/WebstoreUserBean.java b/posterita/src/main/org/posterita/beans/WebstoreUserBean.java new file mode 100644 index 0000000000..ea428e8fa2 --- /dev/null +++ b/posterita/src/main/org/posterita/beans/WebstoreUserBean.java @@ -0,0 +1,127 @@ +/** + * Product: Posterita Web-Based POS and Adempiere Plugin + * Copyright (C) 2007 Posterita Ltd + * This file is part of POSterita + * + * POSterita is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + **/ +package org.posterita.beans; + +import java.math.BigDecimal; + +public class WebstoreUserBean +{ + + protected UserBean userBean; + protected AddressBean shipToAddrBean; + protected CreditCardBean creditCardBean; + protected Integer chargeId; // not in udibean yet + protected String tenderType; //i.e. Payment Method: by card, cash (not in udibean yet) + protected String deliveryViaRule; // MInOut.DELIVERYVIARULE_Shipper etc + protected String chargeName; + protected BigDecimal chargeAmount; + /* + * Will be used only in session. + * Step 1: Delivery Information + * Step 2: Payment Information + * Step 3: Order Confirmation + * Step 4: Finished + */ + protected String step; + + + + public String getStep() + { + return step; + } + public void setStep(String step) + { + this.step = step; + } + + public CreditCardBean getCreditCardBean() + { + return creditCardBean; + } + public void setCreditCardBean(CreditCardBean creditCardBean) + { + this.creditCardBean = creditCardBean; + } + public AddressBean getShipToAddrBean() + { + return shipToAddrBean; + } + public void setShipToAddrBean(AddressBean shipToAddrBean) + { + this.shipToAddrBean = shipToAddrBean; + } + public UserBean getUserBean() + { + return userBean; + } + public void setUserBean(UserBean userBean) + { + this.userBean = userBean; + } + + public String getTenderType() + { + return tenderType; + } + public void setTenderType(String tenderType) + { + this.tenderType = tenderType; + } + public Integer getChargeId() + { + return chargeId; + } + public void setChargeId(Integer chargeId) + { + this.chargeId = chargeId; + } + public String getChargeName() + { + return chargeName; + } + public void setChargeName(String chargeName) + { + this.chargeName = chargeName; + } + public BigDecimal getChargeAmount() + { + return chargeAmount; + } + public void setChargeAmount(BigDecimal chargeAmount) + { + this.chargeAmount = chargeAmount; + } + public String getDeliveryViaRule() + { + return deliveryViaRule; + } + public void setDeliveryViaRule(String deliveryViaRule) + { + this.deliveryViaRule = deliveryViaRule; + } + + + + + + +}