public class OfbizVoteHistoryStore extends Object implements VoteHistoryStore
Constructor and Description |
---|
OfbizVoteHistoryStore(OfBizDelegator ofBizDelegator) |
Modifier and Type | Method and Description |
---|---|
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 OfbizVoteHistoryStore(OfBizDelegator ofBizDelegator)
public List<VoteHistoryEntry> getHistory(Long issueId)
VoteHistoryStore
getHistory
in interface VoteHistoryStore
issueId
- the issue Id, must not be null.public void delete(String issueId) throws DataAccessException
VoteHistoryStore
delete
in interface VoteHistoryStore
issueId
- the issue id, must not be null.DataAccessException
- if there is a back-end storage problem.public void add(VoteHistoryEntry entry) throws DataAccessException
VoteHistoryStore
add
in interface VoteHistoryStore
entry
- a vote history entry for an issue.DataAccessException
- if there is a back-end storage problem.Copyright © 2002-2018 Atlassian. All Rights Reserved.