Package org.eurekastreams.server.search.factories

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


        fields.add(Projections.property("stream.id").as("streamId"));
        criteria.setProjection(fields);
        criteria.createAlias("streamScope", "stream");

        ModelViewResultTransformer<PersonModelView> resultTransformer = new ModelViewResultTransformer<PersonModelView>(
                new PersonModelViewFactory());
        criteria.setResultTransformer(resultTransformer);

        return criteria;
    }
View Full Code Here

TOP

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

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.