Class ContentPerformanceResource


  • @Path("/lumis/service/analytics/eventanalytics/report/rest/content")
    public class ContentPerformanceResource
    extends java.lang.Object
    Content performance REST.
    Since:
    16.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentPerformance​(ContentPerformanceRequestBody requestBody)
      Returns the performance of the contents with the given identifiers.
      javax.ws.rs.core.Response goToContentPerformanceDashboard​(java.lang.String serviceInstanceId, java.lang.String contentId)
      Intermediate endpoint to redirect the user to the correct URL.
      javax.ws.rs.core.Response goToContentPerformanceDashboard​(java.lang.String serviceInstanceId, java.lang.String contentId, java.lang.String locale)
      Intermediate endpoint to redirect the user to the correct URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentPerformanceResource

        public ContentPerformanceResource()
    • Method Detail

      • getContentPerformance

        @Path("/performance")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public java.lang.String getContentPerformance​(ContentPerformanceRequestBody requestBody)
                                               throws PortalException,
                                                      java.io.FileNotFoundException,
                                                      java.io.IOException,
                                                      java.lang.UnsupportedOperationException,
                                                      org.json.JSONException,
                                                      java.text.ParseException
        Returns the performance of the contents with the given identifiers.
        Parameters:
        originServiceInstanceId - the origin service instance
        contentIds - the content identifiers
        Returns:
        the performance of the contents with the given identifiers.
        Throws:
        java.io.IOException
        java.io.FileNotFoundException
        java.text.ParseException
        org.json.JSONException
        java.lang.UnsupportedOperationException
        PortalException
        Since:
        16.0.0
      • goToContentPerformanceDashboard

        @Path("/toContentPerformanceDashboard/{serviceInstanceId: [A-Fa-f0-9]{32}}/{contentId: [A-Fa-f0-9]{32}}")
        @GET
        public javax.ws.rs.core.Response goToContentPerformanceDashboard​(@PathParam("serviceInstanceId")
                                                                         java.lang.String serviceInstanceId,
                                                                         @PathParam("contentId")
                                                                         java.lang.String contentId)
                                                                  throws PortalException
        Intermediate endpoint to redirect the user to the correct URL.
        Parameters:
        serviceInstanceId - the service instance identifier
        contentId - the content identifier
        Returns:
        a redirect response.
        Throws:
        PortalException
        Since:
        16.0.0
      • goToContentPerformanceDashboard

        @Path("/toContentPerformanceDashboard/{serviceInstanceId: [A-Fa-f0-9]{32}}/{contentId: [A-Fa-f0-9]{32}}/{locale: [a-zA-Z_]+}")
        @GET
        public javax.ws.rs.core.Response goToContentPerformanceDashboard​(@PathParam("serviceInstanceId")
                                                                         java.lang.String serviceInstanceId,
                                                                         @PathParam("contentId")
                                                                         java.lang.String contentId,
                                                                         @PathParam("locale")
                                                                         java.lang.String locale)
                                                                  throws PortalException
        Intermediate endpoint to redirect the user to the correct URL.
        Parameters:
        serviceInstanceId - the service instance identifier
        contentId - the content identifier
        locale - the content locale
        Returns:
        a redirect response.
        Throws:
        PortalException
        Since:
        16.0.0