Interface FactorValueNeedsAttentionService
- All Known Implementing Classes:
FactorValueNeedsAttentionServiceImpl
public interface FactorValueNeedsAttentionService
Service to manipulate the "needs attention" flag on
FactorValues.- Author:
- poirigui
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearNeedsAttentionFlag(FactorValue factorValue, String note) Clear a needs attention flag on a given factor value.voidmarkAsNeedsAttention(FactorValue factorValue, String note) Mark a given factor value as needs attention.
-
Method Details
-
markAsNeedsAttention
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void markAsNeedsAttention(FactorValue factorValue, String note) Mark a given factor value as needs attention.- Parameters:
factorValue- a factor value to mark as needs attentionnote- note to use for theFactorValueNeedsAttentionEvent- Throws:
IllegalArgumentException- if the factor value already needs attention
-
clearNeedsAttentionFlag
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void clearNeedsAttentionFlag(FactorValue factorValue, String note) Clear a needs attention flag on a given factor value.- Parameters:
factorValue- a factor value whose needs flag will be clearednote- a note to use for theDoesNotNeedAttentionEventif the dataset does not need attention for any other reason.- Throws:
IllegalArgumentException- if the factor value does not need attention
-