Package org.jabusuite.address.customer

Examples of org.jabusuite.address.customer.HierarchyCustomer


        this.createDataset(manager, customer, user, user, user.getMainGroup(), company);
    }
   
    public void updateDataset(HierarchyCustomer customer, JbsUser changeUserthrows EJbsObject {
       
        HierarchyCustomer existingCustomer = manager.find(HierarchyCustomer.class, customer.getId());

        if (logger.isDebugEnabled()) {
            logger.debug("Letter-Count: " + existingCustomer.getLetters().size());
            logger.debug("Deleting letters that no longer exist.");
        }

        //this.deleteOldAddressLetters(manager, customer, existingCustomer.getLetters());
       
View Full Code Here


        return this.findDataset(id,true);
    }
   
    public HierarchyCustomer findDataset(long id, boolean withAdditionalData) {
        logger.debug("Searching for customer "+id);
        HierarchyCustomer customer = manager.find(HierarchyCustomer.class, id);
        if ((customer!=null) && (withAdditionalData)) {
            int letterCount = customer.getLetters().size();
            logger.debug("Letters: "+letterCount);
        }
        return customer;
    }
View Full Code Here

        this.setPnEditJbsObject(new PnHierarchyCustomerEdit(this.getState(), this.getCustomer()));
    }

    @Override
    public void createJbsBaseObject() {
        this.setJbsBaseObject(new HierarchyCustomer());
    }
View Full Code Here

TOP

Related Classes of org.jabusuite.address.customer.HierarchyCustomer

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.