public interface TimerManager
Modifier and Type | Method and Description |
---|---|
java.util.List<TimerDto> |
createFromHistory(com.atlassian.jira.issue.Issue issue,
int timerConfigId,
int timerSchemeId) |
void |
delete(int timerId,
boolean reindex) |
void |
delete(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer,
boolean reindex) |
void |
delete(TimerDto timerDto,
boolean reindex) |
void |
deleteForIssue(com.atlassian.jira.issue.Issue issue)
Removes all timers associated with issue.
|
void |
deleteForIssue(com.atlassian.jira.issue.Issue issue,
long customFieldId)
Removes all timers associated with issue and custom field.
|
void |
doAction(TimerActionDto timerActionDto)
Run the command on the timer.
|
java.util.List<TimerDto> |
getFor(com.atlassian.jira.issue.Issue issue) |
java.util.List<TimerDto> |
getFor(com.atlassian.jira.issue.Issue issue,
long customFieldId) |
java.util.List<TimerDto> |
getFor(long issueId) |
java.util.List<TimerDto> |
getFor(long issueId,
long customFieldId) |
TimerDto |
getRealTimeData(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer)
Converts an AO object to Dto and sets the calendar-calculated time.
|
TimerDto |
getRealTimeData(TimerDto timerDto) |
void |
trigger(com.atlassian.jira.event.issue.IssueEvent issueEvent,
boolean reindex)
Invokes a timer command that matches the transmitted event
|
void |
updateGoal(int timerId,
boolean reindex) |
com.jibrok.jira.plugins.timeinstatus.timer.api.TimerTriggerResponse |
updateGoal(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer,
boolean reindex) |
void |
updateGoalForActiveTimers(int notActualTimerGoalId,
boolean reindex) |
com.jibrok.jira.plugins.timeinstatus.timer.api.TimerTriggerResponse |
updateGoalForActiveTimers(int timerSchemeId,
int timerConfigId,
com.atlassian.jira.issue.Issue issue,
boolean reindex) |
void |
updateGoalForActiveTimers(int timerConfigId,
java.util.Set<java.lang.Integer> updatedGoalIds,
java.util.Set<java.lang.Integer> createdGoalIds,
boolean reindex) |
java.util.List<TimerDto> getFor(long issueId)
java.util.List<TimerDto> getFor(com.atlassian.jira.issue.Issue issue)
java.util.List<TimerDto> getFor(long issueId, long customFieldId)
java.util.List<TimerDto> getFor(com.atlassian.jira.issue.Issue issue, long customFieldId)
void deleteForIssue(com.atlassian.jira.issue.Issue issue, long customFieldId)
void deleteForIssue(com.atlassian.jira.issue.Issue issue)
void delete(int timerId, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void delete(TimerDto timerDto, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void delete(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void doAction(TimerActionDto timerActionDto) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void trigger(com.atlassian.jira.event.issue.IssueEvent issueEvent, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
com.jibrok.jira.plugins.timeinstatus.timer.api.TimerTriggerResponse updateGoalForActiveTimers(int timerSchemeId, int timerConfigId, com.atlassian.jira.issue.Issue issue, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void updateGoalForActiveTimers(int notActualTimerGoalId, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
com.jibrok.jira.plugins.timeinstatus.timer.api.TimerTriggerResponse updateGoal(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
void updateGoal(int timerId, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
TimerDto getRealTimeData(com.jibrok.jira.plugins.timeinstatus.timer.model.Timer timer)
void updateGoalForActiveTimers(int timerConfigId, java.util.Set<java.lang.Integer> updatedGoalIds, java.util.Set<java.lang.Integer> createdGoalIds, boolean reindex) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
java.util.List<TimerDto> createFromHistory(com.atlassian.jira.issue.Issue issue, int timerConfigId, int timerSchemeId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException