Package org.jabusuite.transaction

Examples of org.jabusuite.transaction.Offer


    /* (non-Javadoc)
     * @see org.jabusuite.webclient.dataediting.FmEditJbsBaseObject#createJbsBaseObject()
     */
    @Override
    public void createJbsBaseObject() {
        this.setJbsBaseObject(new Offer());
    }
View Full Code Here


     * Creates the panel in insert-mode and creates a new instance of <code>Offer</code> to work with.
     *
     */
    public PnOfferEdit() {
        super();
        this.setOffer(new Offer());
    }
View Full Code Here

        this.setOffer(new Offer());
    }

    @Override
    public void setJbsBaseObject(JbsBaseObject jbsBaseObject) {
        Offer offer = (Offer) jbsBaseObject;
        //We have to get the positions from the database also
        if ((offer != null) && (this.getDlgState() == DlgState.dsEdit)) {
            logger.debug("Retrieving positions for offer " + offer.getId());
            try {
                OffersRemote offers = (OffersRemote) ClientTools.getRemoteBean(OffersRemote.class);
                Offer existingOffer = offers.findDataset(offer.getId(), true);
                offer = existingOffer;
            } catch (NamingException e) {
                logger.error("Error retrieving offer.", e);
            }
        }
View Full Code Here

TOP

Related Classes of org.jabusuite.transaction.Offer

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.