Class PrPartyPrepareInterceptor

java.lang.Object
de.hybris.platform.partyroleservices.interceptors.PrPartyPrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<PrPartyModel>

@Deprecated(since="2208") public class PrPartyPrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<PrPartyModel>
Deprecated.
2208
Interceptor to generate unique id and the principal to be assigned to PrPartyModel that are newly created.
Since:
2205
  • Constructor Details

    • PrPartyPrepareInterceptor

      public PrPartyPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator partyKeyGenerator, de.hybris.platform.servicelayer.keygenerator.KeyGenerator userKeyGenerator, PrGenericService genericService)
      Deprecated.
  • Method Details

    • onPrepare

      public void onPrepare(PrPartyModel partyModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
      Deprecated.
      Specified by:
      onPrepare in interface de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<PrPartyModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getGenericService

      protected PrGenericService getGenericService()
      Deprecated.
    • getPartyKeyGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getPartyKeyGenerator()
      Deprecated.
    • getUserKeyGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getUserKeyGenerator()
      Deprecated.