Package net.stinfoservices.pacifiq.shared.dto.inner

Examples of net.stinfoservices.pacifiq.shared.dto.inner.ItemDTO


    }

    @Override
    public ItemDTO loadItem(Long id) throws Exception {
        ServiceSecurityHelper.hasAuthority(ProfileHelper.ADMINISTRATOR, getSession());
        return new ItemDTO(itemDAO.find(id), DTOPath.ITEM_WITH_DSP5_LINK);
    }
View Full Code Here


            if (!path.accept(DTOPath.PROGRAM_GC_FOR_LAUNCH)) {
                items = new HashSet<ItemDTO>();
                if (dsp5.getItems() != null) {
                    for (Item item : dsp5.getItems()) {
                        items.add(new ItemDTO(item, path));
                    }
                }
            }
        }

        if (path.accept(DTOPath.DSP5_DOC) || path.accept(DTOPath.ITEM_GC_FOR_LAUNCH)) {
            manufacturer = (dsp5.getManufacturer() == null ? null : new ConcreteBusinessPartnerDTO(dsp5.getManufacturer(), path));
        }

        if (path.accept(DTOPath.PROGRAM_GC_FOR_LAUNCH)) {
            items = new HashSet<ItemDTO>();
            if (dsp5.getItems() != null) {
                for (Item item : dsp5.getItems()) {
                    items.add(new ItemDTO(item, DTOPath.ITEM_GC_FOR_LAUNCH));
                }
            }
        }
        // related document are displayed on board ?
        relatedDocuments = new HashMap<Long, String>();
View Full Code Here

            items = new HashSet<ItemDTO>();
            if (taa.getItems() != null) {
                for (Item item : taa.getItems()) {
                    // DTOPath.ITEM_NAME
                    items.add(new ItemDTO(item, DTOPath.NOTHING_TO_SAY));
                }
            }
        }

        if (taa instanceof SpecificTAA) {
View Full Code Here

TOP

Related Classes of net.stinfoservices.pacifiq.shared.dto.inner.ItemDTO

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.