Package org.salamanca.domain

Examples of org.salamanca.domain.DescuentoPorcentual


            }
        }

        //-------------- PORCENTUAL
        if (porcentaje != 0) {
            DescuentoPorcentual descuentoPorcentual = new DescuentoPorcentual();
            descuentoPorcentual.setNombre(nombre);
            descuentoPorcentual.setPorcentaje(porcentaje);

            ICommand insertarDescuentoPorcentual = CommandFactory.
                    createInsertarDescuentoPorcentual(descuentoPorcentual);
            try {
                insertarDescuentoPorcentual.execute();
View Full Code Here


        }

        PersistenceManager pm = BrokerServer.instance().getPMF().
                                getPersistenceManager();
        pm.currentTransaction().begin();
        DescuentoPorcentual descuentoPorcentualPM = (DescuentoPorcentual) pm.
                getObjectById(javax.jdo.
                              JDOHelper.getObjectId(descuentoPorcentual), true);

        pm.deletePersistent(descuentoPorcentualPM);
        pm.currentTransaction().commit();
View Full Code Here

TOP

Related Classes of org.salamanca.domain.DescuentoPorcentual

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.