Interface EventContentItemClassifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Applies classification (
definitionId or classificationAgentDefinitionId) to a content item.
Instances are obtained from EventContentItemClassifierFactory, which performs the document or agent
definition lookup once and returns a classifier that can be reused for every content item in the branch
(e.g., each attachment) without further lookups.- Author:
- Felix Roth
-
Method Summary
Modifier and TypeMethodDescriptionvoidclassify(CoreContentItem contentItem) Applies the resolved classification to the given content item.
-
Method Details
-
classify
Applies the resolved classification to the given content item. Implementations do not save the content item; the caller is expected to persist it after classification.
-