Initial commit of Posterita

This commit is contained in:
shameem_z 2007-09-19 13:00:56 +00:00
parent 0b9e8ec106
commit 1ae1dab027
126 changed files with 17727 additions and 0 deletions

View File

@ -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 = "&#8364";
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";
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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<KeyNamePair> brand = new ArrayList<KeyNamePair>();
private ArrayList<Object> model = new ArrayList<Object>();
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<KeyNamePair> make = new ArrayList<KeyNamePair>();
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<Object> getModel()
{
return model;
}
public void setModel(ArrayList<Object> 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<KeyNamePair> getMake()
{
return make;
}
public void setMake(ArrayList<KeyNamePair> 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<KeyNamePair> getBrand() {
return brand;
}
public void setBrand(ArrayList<KeyNamePair> 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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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<UDIPair> bPartnerList = new TreeSet<UDIPair>();
private TreeSet<UDIPair> docStatusList = new TreeSet<UDIPair>();
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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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
{
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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();
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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();
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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<ProductBean> products = new ArrayList<ProductBean>();
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<ProductBean> getProducts()
{
return products;
}
public void setProducts(ArrayList<ProductBean> 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;
}
}

View File

@ -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
{
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

Some files were not shown because too many files have changed in this diff Show More