Class UniqueAttributesInterceptor

java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.LocalizedMessageAwareValidator
de.hybris.platform.servicelayer.interceptor.impl.UniqueAttributesInterceptor
All Implemented Interfaces:
Interceptor, ValidateInterceptor

public class UniqueAttributesInterceptor extends LocalizedMessageAwareValidator implements ValidateInterceptor
Validates for any Model if the unique keys for this model are unique in the database. Throws different InterceptorExceptions if the unique constraint is violated.