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)
VoteHistoryStoregetHistory in interface VoteHistoryStoreissueId - the issue Id, must not be null.public void delete(String issueId) throws DataAccessException
VoteHistoryStoredelete in interface VoteHistoryStoreissueId - the issue id, must not be null.DataAccessException - if there is a back-end storage problem.public void add(VoteHistoryEntry entry) throws DataAccessException
VoteHistoryStoreadd in interface VoteHistoryStoreentry - a vote history entry for an issue.DataAccessException - if there is a back-end storage problem.Copyright © 2002-2018 Atlassian. All Rights Reserved.