Package services.utils

Examples of services.utils.AddressContainer


    public AddressContainer getAddressList(int parentId){
        if (parentId != 0){
            AddressObject parent = getDao().getById(AddressObject.class, parentId);
            List<AddressObject> childList = getDao().getChildList(parent);
            AddressContainer ac = new AddressContainer(parent.getType().getLevel(), childList);
            return ac;
        }else{
            return new AddressContainer(parentId, new ArrayList<AddressObject>());
        }
    }
View Full Code Here

TOP

Related Classes of services.utils.AddressContainer

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.