Class AccountUppercaseInterceptor
- java.lang.Object
-
- de.hybris.platform.accountsummaryaddon.interceptor.AccountUppercaseInterceptor
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor
public class AccountUppercaseInterceptor extends java.lang.Object implements PrepareInterceptor
Interceptor that formats a document number to uppercase.
-
-
Constructor Summary
Constructors Constructor Description AccountUppercaseInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPrepare(java.lang.Object model, InterceptorContext ctx)
Called in themodelService.saveAll()
method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorException
Description copied from interface:PrepareInterceptor
Called in themodelService.saveAll()
method. Prepares the values of the given model.- Specified by:
onPrepare
in interfacePrepareInterceptor
- Parameters:
model
- the model which values has to be preparedctx
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
-