com.atlassian.jira.issue.vote
Class OfbizVoteHistoryStore

java.lang.Object
  extended by com.atlassian.jira.issue.vote.OfbizVoteHistoryStore
All Implemented Interfaces:
VoteHistoryStore

public class OfbizVoteHistoryStore
extends Object
implements VoteHistoryStore

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

Since:
v4.0

Constructor Summary
OfbizVoteHistoryStore(OfBizDelegator ofBizDelegator)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfbizVoteHistoryStore

public OfbizVoteHistoryStore(OfBizDelegator ofBizDelegator)
Method Detail

getHistory

public List<VoteHistoryEntry> getHistory(Long issueId)
Description copied from interface: VoteHistoryStore
Retrieve the vote history for an issue

Specified by:
getHistory in interface VoteHistoryStore
Parameters:
issueId - the issue Id, must not be null.
Returns:
the vote history for an issue

delete

public void delete(String issueId)
            throws DataAccessException
Description copied from interface: VoteHistoryStore
Remove all the vote history for an issue.

Specified by:
delete in interface VoteHistoryStore
Parameters:
issueId - the issue id, must not be null.
Throws:
DataAccessException - if there is a back-end storage problem.

add

public void add(VoteHistoryEntry entry)
         throws DataAccessException
Description copied from interface: VoteHistoryStore
Creates an issue history entry

Specified by:
add in interface VoteHistoryStore
Parameters:
entry - a vote history entry for an issue.
Throws:
DataAccessException - if there is a back-end storage problem.


Copyright © 2002-2014 Atlassian. All Rights Reserved.