Class CustomerExperienceUtil


  • public final class CustomerExperienceUtil
    extends java.lang.Object
    Customer Experience related utilities.
    Since:
    16.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Method Detail

      • getClosestCustomerExperienceServiceInstance

        public static java.util.Optional<ServiceInstanceConfig> getClosestCustomerExperienceServiceInstance​(java.lang.String originServiceInstanceId)
                                                                                                     throws PortalException
        Returns the Customer Experience service instance closest to the given service instance's project. Uses it's own transaciton.
        Parameters:
        originServiceInstanceId - origin service instance identifier
        Returns:
        the Customer Experience service instance closest to the given service instance's project
        Throws:
        PortalException
        Since:
        16.0.0