Interface FieldConfigContextPersister

All Known Implementing Classes:
CachingFieldConfigContextPersister

@Internal public interface FieldConfigContextPersister
  • Method Details

    • store

      void store(String fieldId, JiraContextNode contextNode, FieldConfigScheme fieldConfigScheme)
      Store a fieldId/contextNode/scheme triplet.
      Since:
      6.4
    • getAllContextsForConfigScheme

      List<JiraContextNode> getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
    • removeContextsForConfigScheme

      void removeContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
    • store

      void store(String fieldId, Collection<? extends JiraContextNode> contextNodes, FieldConfigScheme fieldConfigScheme)
      Bulk store fieldId/contextNode/scheme triplets.
      Since:
      6.4
    • removeContextsForProject

      void removeContextsForProject(Project project)
    • removeContexts

      default void removeContexts(String fieldId, Collection<? extends JiraContextNode> contextNodes)
      Bulk remove a collection of contextNode for a given fieldId
      Since:
      8.14
    • getRelevantConfigSchemeId

      @Nullable Long getRelevantConfigSchemeId(@Nullable Long projectId, @Nonnull String fieldId)
    • getRelevantConfigSchemeId

      @Nullable Long getRelevantConfigSchemeId(@Nonnull IssueContext issueContext, @Nonnull String fieldId)