Package org.jabusuite.transaction.session

Examples of org.jabusuite.transaction.session.ShoppingCartsRemote


    @Override
    public List<JbsBaseObject> getDataFromServer(int startIndex,
            int resultCount) {
        try {
            ShoppingCartsRemote shoppingCarts = (ShoppingCartsRemote)ClientTools.getRemoteBean(ShoppingCartsRemote.class);
            return shoppingCarts.getDatasets(this.getFilter(), this.getOrderFields(), this.getUser(), this.getCompany(), startIndex, resultCount);
        } catch (Exception e) {
            logger.error("Error fetching shopping-carts.", e);
            return null;
        }
    }
View Full Code Here


     * @see org.jabusuite.client.datalist.LiveJbsObjectList#getListSize()
     */
    @Override
    public int getListSize() {
        try {
            ShoppingCartsRemote shoppingCarts = (ShoppingCartsRemote)ClientTools.getRemoteBean(ShoppingCartsRemote.class);
            return (int) shoppingCarts.getDatasetCount(this.getFilter(), this.getUser(), this.getCompany());
        } catch (Exception e) {
            logger.error("Error fetching shopping-cart-count.", e);
            return 0;
        }
    }
View Full Code Here

TOP

Related Classes of org.jabusuite.transaction.session.ShoppingCartsRemote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.