Package org.netbeans.web.action.beans

Examples of org.netbeans.web.action.beans.SourcejarMappingBean


            SourcejarMapping removed = (SourcejarMapping) PersistenceUtils.getExist(em, "SourcejarMapping.findBySourcejar", drop);
            em.getTransaction().begin();
            em.remove(removed);
            em.getTransaction().commit();
        } else {
            SourcejarMappingBean smb = (SourcejarMappingBean) form;
            if (smb == null || smb.isClean()){
                return mapping.getInputForward();
            }
            SourcejarMapping mapp = new SourcejarMapping(smb.getSourcejar().toLowerCase());
            mapp.setComponent(smb.getComponent().toLowerCase());
            mapp.setSubcomponent(smb.getSubcomponent());
            em.getTransaction().begin();
            em.persist(mapp);
            em.getTransaction().commit();
            smb.reset();
        }
        Matcher.getDefault().reload();
        return mapping.findForward(SUCCESS);
    }
View Full Code Here

TOP

Related Classes of org.netbeans.web.action.beans.SourcejarMappingBean

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.