com.atlassian.greenhopper.service.team
Class TeamAllocationServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.team.TeamAllocationServiceImpl
- All Implemented Interfaces:
- TeamAllocationService
@Service(value="gh-teamAllocationService")
public class TeamAllocationServiceImpl
- extends java.lang.Object
- implements TeamAllocationService
Default implementation of the team allocation service
Forwards the request to the configured TeamAllocationServiceSPI implementation
Method Summary |
TimeAllocation |
getTimeAllocation(com.atlassian.crowd.embedded.api.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 |
boolean |
isDefaultService(com.atlassian.jira.project.Project project)
Is the default allocation service used for the given project |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamAllocationServiceImpl
public TeamAllocationServiceImpl()
getTimeAllocation
public TimeAllocation getTimeAllocation(com.atlassian.crowd.embedded.api.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
- Specified by:
getTimeAllocation
in interface TeamAllocationService
isDefaultService
public boolean isDefaultService(com.atlassian.jira.project.Project project)
- Description copied from interface:
TeamAllocationService
- Is the default allocation service used for the given project
- Specified by:
isDefaultService
in interface TeamAllocationService
Copyright © 2007-2014 Atlassian. All Rights Reserved.