Package org.cedj.geekseek.domain.conference.model

Examples of org.cedj.geekseek.domain.conference.model.ConferenceCriteria


    @Produces({ BASE_JSON_MEDIA_TYPE, BASE_XML_MEDIA_TYPE })
    public Response search() {
        if(searchRepository.get() == null) {
            return Response.status(Response.Status.SERVICE_UNAVAILABLE).build();
        }
        Collection<Conference> conferences = searchRepository.get().search(new ConferenceCriteria());
        Collection<ConferenceRepresentation> conferenceRepresentations = getConverter().from(getUriInfo(), (Collection)conferences);

        return Response.ok(new GenericEntity<Collection<ConferenceRepresentation>>(conferenceRepresentations){})
            .type(
                matchMediaType(CONFERENCE_XML_MEDIA_TYPE, CONFERENCE_JSON_MEDIA_TYPE))
View Full Code Here

TOP

Related Classes of org.cedj.geekseek.domain.conference.model.ConferenceCriteria

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.