Package Entities

Examples of Entities.Forexorder


    }

   
    public String createForm()
  {
            forX = new Forexorder();           
           
            forX.setDateofdepart(departure);
            forX.setDateofreturn(returnDate);
            forX.setTicketnum(ticketNumber);
            forX.setVoyagernum(voyagerNum);
View Full Code Here


         setReasonForTravel(viewForX.getReasonfortravel());
    }
   
    public String updateForm()
    {
        editForX = new Forexorder();  
       
        editForX.setDateofdepart(departure);
        editForX.setDateofreturn(returnDate);
        editForX.setTicketnum(ticketNumber);
        editForX.setVoyagernum(voyagerNum);
View Full Code Here

        return event.getNewStep();
    }

    public String createForm() {
        Forexorder forX = new Forexorder();

        //forX.setDateofdepart(departure);
        //forX.setDateofreturn(returnDate);
        forX.setTicketnum(ticketNumber);
        forX.setVoyagernum(voyagerNum);
        forX.setCurrencycheque(cheqCur);
        forX.setTravelerscheques(travellerCheque);
        forX.setCurrencycash(fcCur);
        forX.setCash(foreignCash);
        //forX.setCashpassport(CashPassportCard);
        forX.setCctype(type);
        //forX.setCcnumber(number);
        //forX.setCclast3(last3);
        forX.setCcexpirydate(expire);
        forX.setCurrencycc(ccCur);
        forX.setCcpaymentamount(amount);
        forX.setDateofrequired(dateRequired);
        forX.setDatewillbeconfirmed(dateForex);
        forX.setReasonfortravel(reasonForTravel);

        csi.updateForex(forX, accountID, appnum);
        FacesContext.getCurrentInstance().addMessage("appHomeTop", new FacesMessage(FacesMessage.SEVERITY_INFO, "Success", "Changes have been saved"));
        return "/applicationHome.xhtml";
    }
View Full Code Here

    public String toAppHome() {
        return "/applicationHome.xhtml";
    }

    public String updateForm() {
        editForX = new Forexorder();

        //editForX.setDateofdepart(departure);
        //editForX.setDateofreturn(returnDate);
        editForX.setTicketnum(ticketNumber);
        editForX.setVoyagernum(voyagerNum);
View Full Code Here

   
    @Override
    public void updateForex(Forexorder forexorder, Integer id)
    {
       Integer forexID = null;
        Forexorder forexformNew = forexorder;
        Forexorder forexformOld = null;
        List<Application> allApp = appf.findAll();
        for(Application eachApp : allApp)
        {
            if(eachApp.getAccountIdaccount().getIdaccount().equals(id))
            { 
                forexID = eachApp.getForexorderIdforexorder().getIdforexorder();
            }
        }
       
        List<Forexorder> allForex = forex.findAll();
        for(Forexorder eachFor : allForex)
        {
            if(eachFor.getIdforexorder().equals(forexID))
                forexformOld = eachFor;
                forexformNew.setIdforexorder(forexformOld.getIdforexorder());
                forex.edit(forexformNew);             
        }         
    }
View Full Code Here

   
    @Override
    public Forexorder findForX(Integer id) //passing in the AccountID
    {
        Integer forexID = null;
        Forexorder forexform = null;
        List<Application> allApp = appf.findAll();
        for(Application eachApp : allApp)
        {
            if(eachApp.getAccountIdaccount().getIdaccount().equals(id))
            { 
View Full Code Here

        }
       
        Finalcosting fin = new Finalcosting();
        fin.setQuotesIdquotes(quote);
       
        Forexorder fx = new Forexorder();
        forDao.create(fx);
       
        Motivation mot = new Motivation();
        motDao.create(mot);
       
View Full Code Here

    private TravelFacadeLocal tfl;

    @Override
    public void updateForex(Forexorder forexorder, Integer id) {
        Integer forexID = null;
        Forexorder forexformNew = forexorder;
        Forexorder forexformOld;
        List<Application> allApp = appf.findAll();
        for (Application eachApp : allApp) {
            if (eachApp.getAccountIdaccount().getIdaccount().equals(id)) {
                forexID = eachApp.getForexorderIdforexorder().getIdforexorder();
            }
        }

        List<Forexorder> allForex = forex.findAll();
        for (Forexorder foundForexForm : allForex) {

            if (foundForexForm.getIdforexorder().equals(forexID)) {

                forexformOld = foundForexForm;
                    forexformNew.setIdforexorder(forexformOld.getIdforexorder());
                    forex.edit(forexformNew);
            }
        }
    }
View Full Code Here

    @Override
    public Forexorder findForX(Integer id) //passing in the AccountID
    {
        Integer forexID = null;
        Forexorder forexform = null;
        List<Application> allApp = appf.findAll();
        for (Application eachApp : allApp) {
            if (eachApp.getAccountIdaccount().getIdaccount().equals(id)) {
                forexID = eachApp.getForexorderIdforexorder().getIdforexorder();
            }
View Full Code Here

        }
       
        Finalcosting fin = new Finalcosting();
        fin.setQuotesIdquotes(quote);
       
        Forexorder fx = new Forexorder();
        forDao.create(fx);
       
        Motivation mot = new Motivation();
        motDao.create(mot);
       
View Full Code Here

TOP

Related Classes of Entities.Forexorder

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.