Examples of CampaignEvent


Examples of org.criticalfailure.torchlight.core.domain.entity.campaign.CampaignEvent

     */
    public CampaignEvent createCampaignEvent(AbstractCampaign campaign, boolean empty) {

        logger.info("Creating new campaign event.");

        CampaignEvent ce = (CampaignEvent)appContext.getBean("campaignEvent");

        ce.setCampaign(campaign);

        if(!empty) {
            // TODO
        }

View Full Code Here

Examples of org.criticalfailure.torchlight.core.domain.entity.campaign.CampaignEvent

     */
    public CampaignEvent createCampaignEvent(CampaignEvent template) {

        logger.info("Creating new campaign event from template: " + template);

        CampaignEvent ce = (CampaignEvent)appContext.getBean("campaignEvent");

        ce.setId(template.getId());
        ce.setCampaign(template.getCampaign());
        ce.setDescription(template.getDescription());
        ce.setStartDate(template.getStartDate());
        ce.setEndDate(template.getEndDate());
        ce.setInsertDate(template.getInsertDate());
        ce.setPeople(template.getPeople());

        logger.info("Campaign event created: " + ce);
        return ce;
    }
View Full Code Here

Examples of org.criticalfailure.torchlight.core.domain.entity.campaign.CampaignEvent

     * .lang.Object)
     */
    public CampaignEvent translateFrom(CampaignEventSO vo, ICampaignStorageManager csm)
            throws StorageObjectTranslationException {

        CampaignEvent ce = campaignEventFactory.createCampaignEvent(null, true);

        translateFromWithMerge(vo, ce, csm);

        return ce;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.