Package in.partake.model.dto

Examples of in.partake.model.dto.EventActivity


        daos.getEventAccess().put(con, eventEmbryo);

        // Event Activity にも挿入
        {
            IEventActivityAccess eaa = daos.getEventActivityAccess();
            EventActivity activity = new EventActivity(eaa.getFreshId(con), eventEmbryo.getId(), "イベントが更新されました : " + eventEmbryo.getTitle(), eventEmbryo.getDescription(), eventEmbryo.getCreatedAt());
            eaa.put(con, activity);
        }

        // TODO: twitter bot が更新をつぶやいてもいいような気がする。
    }
View Full Code Here


import org.codehaus.jackson.node.ObjectNode;

class EntityEventActivityMapper extends Postgres9EntityDataMapper<EventActivity> {
    public EventActivity map(ObjectNode obj) {
        return new EventActivity(obj).freeze();
    }
View Full Code Here

        DataIterator<EventActivity> it = new Postgres9DataIterator<EventActivity>(idMapper, psars);
        ArrayList<EventActivity> activities = new ArrayList<EventActivity>();
        try {
            while (it.hasNext()) {
                EventActivity activity = it.next();
                if (activity != null)
                    activities.add(activity);
            }
        } finally {
            it.close();
View Full Code Here

TOP

Related Classes of in.partake.model.dto.EventActivity

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.