com.atlassian.greenhopper.service.team
Interface TeamAllocationServiceSPI

All Known Implementing Classes:
GreenHopperTeamAllocationProvider

public interface TeamAllocationServiceSPI

To be implemented by team allocation data providers.


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.
 

Method Detail

getDayAllocation

DaysAllocation getDayAllocation(com.opensymphony.user.User user,
                                XProject xproject,
                                Backlog backlog)
Get a DayAllocation object for a given project.

Returns:
a DayAllocation object

getTimeAllocation

TimeAllocation getTimeAllocation(com.opensymphony.user.User user,
                                 XProject xproject,
                                 Backlog backlog)
Get a TimeAllocation object for a given project.

Returns:
a TimeAllocation object

getTimeAllocation

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



Copyright © 2007-2011 Atlassian. All Rights Reserved.