Class PreventAttachmentHugeProcessAnnotationInterceptor
- java.lang.Object
-
- org.silverpeas.core.contribution.attachment.process.huge.AbstractAttachmentHugeProcessAnnotationInterceptor
-
- org.silverpeas.core.contribution.attachment.process.huge.PreventAttachmentHugeProcessAnnotationInterceptor
-
@InterceptorBindingOfPreventAttachmentHugeProcess @Interceptor @Priority(2000) public class PreventAttachmentHugeProcessAnnotationInterceptor extends AbstractAttachmentHugeProcessAnnotationInterceptor
Interceptor that prevent to proceed the service if a huge process over attachments is performed on the context. All method called annotated withPreventAttachmentHugeProcess
and managed by CDI, will be processed by this interceptor.- Author:
- silveryocha
- See Also:
PreventAttachmentHugeProcess
-
-
Constructor Summary
Constructors Constructor Description PreventAttachmentHugeProcessAnnotationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
endForInstances(Set<String> instanceIds)
protected void
startForInstances(Set<String> instanceIds)
-
Methods inherited from class org.silverpeas.core.contribution.attachment.process.huge.AbstractAttachmentHugeProcessAnnotationInterceptor
intercept, perform, proceed
-
-
-
-
Method Detail
-
startForInstances
protected void startForInstances(Set<String> instanceIds)
- Specified by:
startForInstances
in classAbstractAttachmentHugeProcessAnnotationInterceptor
-
endForInstances
protected void endForInstances(Set<String> instanceIds)
- Specified by:
endForInstances
in classAbstractAttachmentHugeProcessAnnotationInterceptor
-
-