Package de.hybris.platform.servicelayer.interceptor
-
Interface Summary Interface Description InitDefaultsInterceptor<MODEL> The InitDefaultsInterceptor is called when a model is filled with its default values.Interceptor Interceptors are called during different times of the life cycle of any model.InterceptorContext Context provided to allInterceptorinstances.InterceptorRegistry Abstraction of the interceptor registry responsible for getting life-cycle handle interceptors for mapped jalo item by their type code, seeInterceptorMapping.getTypeCode()LoadInterceptor<MODEL> The LoadInterceptor is called whenever a model is loaded from the database.PrepareInterceptor<MODEL> The PrepareInterceptor is called before it is validated by theValidateInterceptors and before the model is saved to the database.RemoveInterceptor<MODEL> The RemoveInterceptor is called before a model is removed from the database.ValidateInterceptor<MODEL> The ValidateInterceptor is called after the model is been prepared by all neededPrepareInterceptors and before the model is saved to the database. -
Class Summary Class Description EnumerationPrepareInterceptorTest test-class for EnumerationPrepareInterceptor.EnumerationValidatorTest test-class for EnumerationValidator.InterceptorContextModelRegistrationTest Tests PLA-10368.
Test uses test implementation ofModelService:de.hybris.platform.servicelayer.interceptor.InterceptorTestModelService.
This test service knows only a simpleInterceptorRegistry, which is registered only for the purpose of this test.InterceptorRegistryTest Testing the order of the registered Interceptors and the dependency of their typecode.JaloInitDefaultInterceptorTest MandatoryAttributeValidatorTest PartOfModelRegisterForRemoveInterceptorIntegrationTest RemoveInterceptorTest This junit test tests the Partof remove interceptor and the partof save interceptorTaskConditionPrepareInterceptor TaskPrepareInterceptor UniqueAttributeInterceptorTest ViewTypePrepareInterceptorTest -
Enum Summary Enum Description GenderEnumStub GenderEnum - StubPersistenceOperation Specifies what operation should be performed with a particular model instance. -
Exception Summary Exception Description InterceptorException Exception which is thrown from anInterceptor.ValidationConfigurationException Exception thrown when some error in validation configuration is detected.