Package org.eurekastreams.server.search.factories

Examples of org.eurekastreams.server.search.factories.ActivityDTOFactory


        criteria.add(Restrictions.in("this.id", activityIds));

        final Map<Long, ActivityDTO> activityMap = new HashMap<Long, ActivityDTO>();

        ModelViewResultTransformer<ActivityDTO> resultTransformer = new ModelViewResultTransformer<ActivityDTO>(
                new ActivityDTOFactory());
        criteria.setResultTransformer(resultTransformer);
        List<ActivityDTO> results = criteria.list();
        for (ActivityDTO activity : results)
        {
            activityMap.put(activity.getId(), activity);
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.search.factories.ActivityDTOFactory

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.