Class PmPartyPrepareInterceptor

java.lang.Object
de.hybris.platform.partyservices.interceptors.PmPartyPrepareInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<PmPartyModel>

@Deprecated(since="2208") public class PmPartyPrepareInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.PrepareInterceptor<PmPartyModel>
Deprecated.
2208
Interceptor to create partyRole and principal for PmPartyModel that are newly created.
Since:
2205
  • Constructor Details

    • PmPartyPrepareInterceptor

      public PmPartyPrepareInterceptor(de.hybris.platform.servicelayer.keygenerator.KeyGenerator partyKeyGenerator, de.hybris.platform.servicelayer.keygenerator.KeyGenerator partyRoleKeyGenerator, de.hybris.platform.servicelayer.keygenerator.KeyGenerator principalKeyGenerator, PmGenericService pmGenericService)
      Deprecated.
  • Method Details

    • onPrepare

      public void onPrepare(PmPartyModel 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<PmPartyModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException
    • getPartyKeyGenerator

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

      protected PmGenericService getPmGenericService()
      Deprecated.
    • getPartyRoleKeyGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getPartyRoleKeyGenerator()
      Deprecated.
    • getPrincipalKeyGenerator

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