|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.backlog.BacklogCustomFieldServiceImpl
@Service(value="gh-backlogCustomFieldService") public class BacklogCustomFieldServiceImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.backlog.BacklogCustomFieldService |
---|
SERVICE |
Constructor Summary | |
---|---|
BacklogCustomFieldServiceImpl()
|
Method Summary | |
---|---|
void |
connect(com.opensymphony.user.User user,
com.atlassian.jira.issue.Issue issue,
Backlog backlog)
Connects an issue to a backlog Checks permissions |
void |
disconnect(com.opensymphony.user.User user,
java.util.Set<com.atlassian.jira.project.Project> projects)
Disconnects all issues of the passed in projects Bypasses permissions because this is always called by the system |
com.atlassian.jira.issue.fields.CustomField |
getBacklogField()
Lazily create the field if necessary. |
Backlog |
getBacklogFromIssue(com.atlassian.jira.issue.Issue issue)
Get backlog from issue |
com.atlassian.jira.issue.fields.CustomField |
getBacklogHistoryField()
Get the CustomField used to store which backlogs an issue has been associated with Note: The CustomField is automatically created if it doesn't yet exist or has been deleted |
void |
moveAllIssues(com.opensymphony.user.User user,
Backlog source,
Backlog target)
Set the backlog to all issues that are currently associated with source Bypasses permissions because this is always called by the system |
void |
removeFromHistory(com.opensymphony.user.User user,
Backlog backlog)
Find all issues that have a history with this backlog and remove that information. |
void |
repair(XProject xproject)
Repairs the passed in xproject by associating all non-associated issues with the provide unscheduled backlog. |
void |
repair(XProject xproject,
com.atlassian.jira.issue.Issue issue)
This is a singular operation on one issue. |
void |
saveToHistory(com.opensymphony.user.User user,
com.atlassian.jira.issue.Issue issue,
Backlog backlog)
The backlog history is an internal field, so we don't really want to have changelog entries or anything like that. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BacklogCustomFieldServiceImpl()
Method Detail |
---|
public void connect(com.opensymphony.user.User user, com.atlassian.jira.issue.Issue issue, Backlog backlog)
connect
in interface BacklogCustomFieldService
public void moveAllIssues(com.opensymphony.user.User user, Backlog source, Backlog target)
moveAllIssues
in interface BacklogCustomFieldService
public void disconnect(com.opensymphony.user.User user, java.util.Set<com.atlassian.jira.project.Project> projects)
disconnect
in interface BacklogCustomFieldService
projects
- a set of projects that are no longer part of an XProject and whose issues therefore need to be disconnectedpublic void repair(XProject xproject)
repair
in interface BacklogCustomFieldService
xproject
- the xproject to repairpublic void repair(XProject xproject, com.atlassian.jira.issue.Issue issue)
repair
in interface BacklogCustomFieldService
public Backlog getBacklogFromIssue(com.atlassian.jira.issue.Issue issue)
BacklogCustomFieldService
getBacklogFromIssue
in interface BacklogCustomFieldService
public com.atlassian.jira.issue.fields.CustomField getBacklogField()
getBacklogField
in interface BacklogCustomFieldService
public com.atlassian.jira.issue.fields.CustomField getBacklogHistoryField()
BacklogCustomFieldService
getBacklogHistoryField
in interface BacklogCustomFieldService
public void saveToHistory(com.opensymphony.user.User user, com.atlassian.jira.issue.Issue issue, Backlog backlog)
saveToHistory
in interface BacklogCustomFieldService
issue
- : The issue that's being carried onbacklog
- : The backlog that the issue is moved out ofpublic void removeFromHistory(com.opensymphony.user.User user, Backlog backlog)
removeFromHistory
in interface BacklogCustomFieldService
backlog
- : The backlog that gets removed from the history
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |