Interface CustomerAnalyticsService

    • Method Detail

      • searchCustomerActivityEvents

        org.springframework.data.domain.Page<ActivityDataItem> searchCustomerActivityEvents​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> request)
        This method builds a list of events based on customer's actions.
        Parameters:
        request - search request as map
        Returns:
        data transport entities as page
      • searchCustomerActivityEvents

        org.springframework.data.domain.Page<ActivityDataItem> searchCustomerActivityEvents​(co.mastermindcms.modules.beans.SearchRequest sr,
                                                                                            Seller seller)
        This method builds a list of events based on customer's actions.
        Parameters:
        sr - search request as entity
        seller - customer entity
        Returns:
        data transport entities as page
      • getCustomerActivity

        org.springframework.data.domain.Page<CustomerActivity> getCustomerActivity​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> request)
        This method builds an event graph based on customer's actions.
        Parameters:
        request - search request as map
        Returns:
        data transport object
      • getCustomerActivity

        org.springframework.data.domain.Page<CustomerActivity> getCustomerActivity​(co.mastermindcms.modules.beans.SearchRequest request)
        This method builds an event graph based on customer's actions.
        Parameters:
        request - search request as entity
        Returns:
        data transport object
      • getCustomersActivityChart

        ChartData getCustomersActivityChart​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> request)
        This method builds an array for the chart diagrams based on customer's actions.
        Parameters:
        request - search request as entity
        Returns:
        data transport object
      • getRegisteredCustomersChart

        ChartData getRegisteredCustomersChart()
        This method builds an array for the chart diagrams based on registered companies.
        Returns:
        data transport object
      • getRegisteredCompaniesByCountry

        java.util.Map<java.lang.String,​java.lang.Integer> getRegisteredCompaniesByCountry()
        Retrieves a map of registered companies by country.

        This method returns a map where the keys are country code and the values are the number of registered companies in that country.

        Returns:
        a map of registered companies by country
      • getRegisteredCompaniesByType

        java.util.Map<java.lang.String,​java.lang.Integer> getRegisteredCompaniesByType()
        Retrieves a map of registered companies by type.

        This method returns a map where the keys are type and the values are the number of registered companies in that type.

        Returns:
        a map of registered companies by type