public class

OfbizVoteHistoryStore

extends Object
implements VoteHistoryStore
java.lang.Object
   ↳ com.atlassian.jira.issue.vote.OfbizVoteHistoryStore

Class Overview

Main Store implementation for Avatars. Nearly all methods could throw a DataAccessException.

Summary

Public Constructors
OfbizVoteHistoryStore(OfBizDelegator ofBizDelegator)
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
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.vote.VoteHistoryStore

Public Constructors

public OfbizVoteHistoryStore (OfBizDelegator ofBizDelegator)

Public Methods

public void add (VoteHistoryEntry entry)

Creates an issue history entry

Parameters
entry a vote history entry for an issue.

public void delete (String issueId)

Remove all the vote history for an issue.

Parameters
issueId the issue id, must not be null.

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