com.atlassian.jira.issue.vote
Interface VoteHistoryStore

All Known Implementing Classes:
OfbizVoteHistoryStore

public interface VoteHistoryStore

Persistent storage mechanism for AvatarImpl.

Since:
v4.0

Method Summary
 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
 

Method Detail

getHistory

List<VoteHistoryEntry> getHistory(Long issueId)
                                  throws DataAccessException
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.

delete

void delete(String issueId)
            throws DataAccessException
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.

add

void add(VoteHistoryEntry entry)
         throws DataAccessException
Creates an issue history entry

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.