|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.greenhopper.service.issue.IssueServiceImpl
@Service(value="gh-issueService") public class IssueServiceImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.issue.IssueService |
---|
SERVICE |
Constructor Summary | |
---|---|
IssueServiceImpl()
|
Method Summary | |
---|---|
boolean |
canAssignIssue(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if an issue can be assigned to a user. |
boolean |
canComment(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if the user can comment on an issue. |
boolean |
canCreateSubTasks(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if subtasks can be created for an issue. |
boolean |
canDelete(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if an issue can be deleted. |
boolean |
canEditIssue(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if the issue can be edited. |
boolean |
canLogWork(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user)
Checks if the user can log work to an issue. |
com.atlassian.jira.issue.Issue |
createIssue(com.opensymphony.user.User user,
CreateCardModel model,
ErrorCollection errors)
TODO we're delegating here to the IssueCreationManager since refactoring it, while being a noble deed, would blow the current sprint out of the water. |
IssueModel |
createReadOnlyIssueModel(com.atlassian.jira.issue.Issue issue,
BaseData baseData)
Creates a read only XBoardIssue that shows the issue in summary mode only. |
java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> |
getComponents(XProject xproject)
Gets components for all projects in a cross project |
int |
getDaysInStatus(com.atlassian.jira.issue.Issue issue,
DaysAllocation daysAllocation)
Gets the number of days the issue has been in it's current status |
java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getIssueSubTypes(com.atlassian.jira.project.Project project)
Gets issue sub-task types for all projects in a cross project |
java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getIssueTypes(XProject xproject)
Gets issue types for all projects in a cross project |
boolean |
isFlaggable(com.atlassian.jira.issue.Issue issue,
com.opensymphony.user.User user,
FlagField flagField)
Checks if the issue can be flagged. |
boolean |
isPriorityShown(com.atlassian.jira.issue.Issue issue)
Checks if the priority is visible on this issue. |
boolean |
isTimeTrackingOn()
Checks if timeTracking is on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueServiceImpl()
Method Detail |
---|
public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getIssueTypes(XProject xproject)
IssueService
getIssueTypes
in interface IssueService
public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getIssueSubTypes(com.atlassian.jira.project.Project project)
IssueService
getIssueSubTypes
in interface IssueService
public java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> getComponents(XProject xproject)
IssueService
getComponents
in interface IssueService
public com.atlassian.jira.issue.Issue createIssue(com.opensymphony.user.User user, CreateCardModel model, ErrorCollection errors)
createIssue
in interface IssueService
public int getDaysInStatus(com.atlassian.jira.issue.Issue issue, DaysAllocation daysAllocation)
IssueService
getDaysInStatus
in interface IssueService
daysAllocation
- - Need to pass in daysallocation because doing it per issue is not ideal.public boolean canCreateSubTasks(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canCreateSubTasks
in interface IssueService
public boolean canEditIssue(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canEditIssue
in interface IssueService
public boolean isPriorityShown(com.atlassian.jira.issue.Issue issue)
IssueService
isPriorityShown
in interface IssueService
public boolean canAssignIssue(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canAssignIssue
in interface IssueService
public boolean canComment(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canComment
in interface IssueService
public boolean canLogWork(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canLogWork
in interface IssueService
public boolean isTimeTrackingOn()
IssueService
isTimeTrackingOn
in interface IssueService
public boolean isFlaggable(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user, FlagField flagField)
IssueService
isFlaggable
in interface IssueService
public boolean canDelete(com.atlassian.jira.issue.Issue issue, com.opensymphony.user.User user)
IssueService
canDelete
in interface IssueService
public IssueModel createReadOnlyIssueModel(com.atlassian.jira.issue.Issue issue, BaseData baseData)
IssueService
createReadOnlyIssueModel
in interface IssueService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |