Interface FactorValueNeedsAttentionService

All Known Implementing Classes:
FactorValueNeedsAttentionServiceImpl

public interface FactorValueNeedsAttentionService
Service to manipulate the "needs attention" flag on FactorValues.
Author:
poirigui
  • 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 attention
      note - note to use for the FactorValueNeedsAttentionEvent
      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 cleared
      note - a note to use for the DoesNotNeedAttentionEvent if the dataset does not need attention for any other reason.
      Throws:
      IllegalArgumentException - if the factor value does not need attention