Package org.jboss.aerogear.unifiedpush.service.dashboard

Examples of org.jboss.aerogear.unifiedpush.service.dashboard.DashboardData


        long totalApps = totalApplicationNumber();
        long totalDevices = totalDeviceNumber();
        long totalMessages = totalMessages();


        final DashboardData data = new DashboardData();
        data.setApplications(totalApps);
        data.setDevices(totalDevices);
        data.setMessages(totalMessages);

        return data;
    }
View Full Code Here


        long totalApps = totalApplicationNumber();
        long totalDevices = totalDeviceNumber();
        long totalMessages = totalMessages();


        final DashboardData data = new DashboardData();
        data.setApplications(totalApps);
        data.setDevices(totalDevices);
        data.setMessages(totalMessages);

        return data;
    }
View Full Code Here

    private SearchManager service;

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public Response totalApplications(@Context HttpServletRequest request) {
        final DashboardData dataForUser =  service.getSearchService().loadDashboardData();

        return Response.ok(dataForUser).build();
    }
View Full Code Here

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public Response totalApplications(@Context HttpServletRequest request) {
        final String principalName = extractUsername(request);
        final DashboardData dataForUser =  service.loadDashboardData(principalName);

        return Response.ok(dataForUser).build();
    }
View Full Code Here

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public Response totalApplications(@Context HttpServletRequest request) {
        final String principalName = extractUsername(request);
        final DashboardData dataForUser =  service.loadDashboardData(principalName);

        return Response.ok(dataForUser).build();
    }
View Full Code Here

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public Response totalApplications(@Context HttpServletRequest request) {
        final String principalName = extractUsername(request);
        final DashboardData dataForUser =  service.loadDashboardData(principalName);

        return Response.ok(dataForUser).build();
    }
View Full Code Here

TOP

Related Classes of org.jboss.aerogear.unifiedpush.service.dashboard.DashboardData

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.