Package aim.dao.impl

Examples of aim.dao.impl.BlankPolicyDTO


        policiesType.getTypeSeries().add(serie1);
        serie1.setPolicyType(policiesType);
        entityManager.persist(policiesType);

        final Collection<BlankPolicyDTO> policies = new ArrayList<BlankPolicyDTO>();
        policies.add(new BlankPolicyDTO(serie1, 1, 200));
        policies.add(new BlankPolicyDTO(serie1, 400, 500));

        policyService.createPolicies(policies);

        while (policyService.getInsertOperationStatus() < 100) {
            try {
View Full Code Here


     * @return
     */
    public String inventory() {
        Collection<BlankPolicyDTO> blankPolices = new ArrayList<BlankPolicyDTO>();
        for (Policy p : policies) {
            blankPolices.add(new BlankPolicyDTO(p.getSelectedPolicySerie(), p.getFrom(), p.getTo()));
        }
        policyService.createPolicies(blankPolices);

        progressBarEnabled = false;
        return null;
View Full Code Here

TOP

Related Classes of aim.dao.impl.BlankPolicyDTO

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.