Annotation Type PreventAttachmentHugeProcess
-
@Inherited @Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) @InterceptorBinding @InterceptorBindingOfPreventAttachmentHugeProcess public @interface PreventAttachmentHugeProcess
Annotation to specify a service method which the treatment MUST abort if a huge processing over attachments is running.This annotation MUST be used with one of the following annotations on method parameters:
- @
SourcePK
: allows to identify aResourceReference
into parameters. From this reference will be extracted the identifier of the component instance involved by the processing - @
Target
: same asSourcePK
SourceObject
: allows to identify from any object the identifier of the component instance involved by the processing. If the object is not aSimpleDocument
one, then the methodObject.toString()
of the annotated object instance MUST return a component instance identifier to be functional
- Author:
- silveryocha
- @