1 Reply Latest reply on Sep 23, 2013 8:51 AM by Nitin Khare

    ProfileRequestTools use

    pveedu1

      Hi All,

       

      Could you please explain what is the role of ProfileRequestTools class for persisting anonymous profile and shopping cart?

       

       

      Thanks,

      P

        • 1. Re: ProfileRequestTools use
          Nitin Khare

          ProfileRequestTools provides helper methods for initializing anonymous profile by setting a default value (which I think is the id of transient profile) to all of the required properties. ProfileRequestTools is also used by ProfileRequestServlet when it creates an instance of the atg/userprofiling/Profile if a Profile does not already exist for the session. As its API docs mentions, the ProfileRequestTools class contains methods that were originally defined in ProfileRequestServlet but were later refactored and moved to ProfileRequestTools so that they can be shared wherever required.

           

          ProfileRequestTools (ATG Java API)