public interface

VoteHistoryStore

com.atlassian.jira.issue.vote.VoteHistoryStore
Known Indirect Subclasses

Class Overview

Persistent storage mechanism for AvatarImpl.

Summary

Public Methods
void add(VoteHistoryEntry entry)
Creates an issue history entry
void delete(String issueId)
Remove all the vote history for an issue.
List<VoteHistoryEntry> getHistory(Long issueId)
Retrieve the vote history for an issue

Public Methods

public void add (VoteHistoryEntry entry)

Creates an issue history entry

Parameters
entry a vote history entry for an issue.
Throws
DataAccessException if there is a back-end storage problem.

public void delete (String issueId)

Remove all the vote history for an issue.

Parameters
issueId the issue id, must not be null.
Throws
DataAccessException if there is a back-end storage problem.

public List<VoteHistoryEntry> getHistory (Long issueId)

Retrieve the vote history for an issue

Parameters
issueId the issue Id, must not be null.
Returns
  • the vote history for an issue
Throws
DataAccessException if there is a back-end storage problem.