|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.team.TeamAllocationServiceImpl
@Service(value="gh-teamAllocationService") public class TeamAllocationServiceImpl
Default implementation of the team allocation service Forwards the request to the configured TeamAllocationServiceSPI implementation
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.team.TeamAllocationService |
---|
SERVICE |
Constructor Summary | |
---|---|
TeamAllocationServiceImpl()
|
Method Summary | |
---|---|
DaysAllocation |
getDayAllocation(com.opensymphony.user.User user,
XProject xproject,
Backlog backlog)
Get a DayAllocation object for a given project. |
TimeAllocation |
getTimeAllocation(com.opensymphony.user.User user,
java.util.Set<org.joda.time.DateMidnight> nonWorkingDays,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate)
Legacy implementation - used in current code until xproject and other values are available |
TimeAllocation |
getTimeAllocation(com.opensymphony.user.User user,
XProject xproject,
Backlog backlog)
Get a TimeAllocation object for a given project. |
boolean |
isDefaultService(com.atlassian.jira.project.Project project)
Is the default allocation service used for the given project |
boolean |
isDefaultService(XProject xproject)
Is the default allocation service used for the given xproject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeamAllocationServiceImpl()
Method Detail |
---|
public DaysAllocation getDayAllocation(com.opensymphony.user.User user, XProject xproject, Backlog backlog)
TeamAllocationService
getDayAllocation
in interface TeamAllocationService
public TimeAllocation getTimeAllocation(com.opensymphony.user.User user, XProject xproject, Backlog backlog)
TeamAllocationService
getTimeAllocation
in interface TeamAllocationService
public TimeAllocation getTimeAllocation(com.opensymphony.user.User user, java.util.Set<org.joda.time.DateMidnight> nonWorkingDays, org.joda.time.DateMidnight startDate, org.joda.time.DateMidnight endDate)
getTimeAllocation
in interface TeamAllocationService
public boolean isDefaultService(XProject xproject)
TeamAllocationService
isDefaultService
in interface TeamAllocationService
public boolean isDefaultService(com.atlassian.jira.project.Project project)
TeamAllocationService
isDefaultService
in interface TeamAllocationService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |