Package org.criticalfailure.torchlight.core.campaign.services.so

Examples of org.criticalfailure.torchlight.core.campaign.services.so.ParticipantSO


        try {
            String path = PathUtils.buildPath(storagePath, "participants", id);
            logger.trace("path: " + path);

            XMLDecoder dec = new XMLDecoder(new BufferedInputStream(new FileInputStream(path)));
            ParticipantSO vo = (ParticipantSO)dec.readObject();
            logger.trace("participantVO: " + vo);

            dec.close();

            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ONLINE);
View Full Code Here


     * org.criticalfailure.torchlight.core.campaign.services.vo.translator.IValueObjectTranslator#translateTo(java.lang
     * .Object)
     */
    public ParticipantSO translateTo(Participant obj) {

        ParticipantSO vo = new ParticipantSO();

        vo.setId(obj.getId());
        vo.setName(obj.getName());
        vo.setAddress(obj.getAddress());
        vo.setContactInfo(obj.getContactInfo());
        vo.setNotes(obj.getNotes());

        return vo;
    }
View Full Code Here

TOP

Related Classes of org.criticalfailure.torchlight.core.campaign.services.so.ParticipantSO

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.