|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.team.NonWorkingDaysServiceImpl
@Service(value="gh-nonWorkingDaysService") public class NonWorkingDaysServiceImpl
Encapsulates some code previously located in the actions. Do not use except for working days editing
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.team.NonWorkingDaysService |
---|
SERVICE |
Constructor Summary | |
---|---|
NonWorkingDaysServiceImpl()
|
Method Summary | |
---|---|
ErrorCollection |
addNonWorkingDay(com.opensymphony.user.User user,
Backlog backlog,
org.joda.time.DateMidnight date)
Add a non working day to the backlog (in fact it adds it to the project, but the date needs to be inside the range of the backlog). |
java.util.Set<org.joda.time.DateMidnight> |
getNonWorkingDays(com.opensymphony.user.User user,
Backlog backlog)
Get all non working days for a given backlog. |
java.util.Set<org.joda.time.DateMidnight> |
getNonWorkingDays(com.opensymphony.user.User user,
Backlog backlog,
ProjectConfiguration configuration)
|
java.util.Set<org.joda.time.DateMidnight> |
getProjectDefinedNonWorkingDays(com.opensymphony.user.User user,
Backlog backlog,
ProjectConfiguration configuration)
Returns the non working days that are defined against the project (as opposed to the general configuration). |
ErrorCollection |
removeNonWorkingDay(com.opensymphony.user.User user,
Backlog backlog,
org.joda.time.DateMidnight date)
Remove a non working day from the backlog (in fact it removes it from the project, but the date needs to be inside the range of the backlog). |
boolean |
supportsNonWorkingDays(Backlog backlog)
Returns whether the backlog supports non working days. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonWorkingDaysServiceImpl()
Method Detail |
---|
public java.util.Set<org.joda.time.DateMidnight> getNonWorkingDays(com.opensymphony.user.User user, Backlog backlog)
NonWorkingDaysService
getNonWorkingDays
in interface NonWorkingDaysService
public java.util.Set<org.joda.time.DateMidnight> getNonWorkingDays(com.opensymphony.user.User user, Backlog backlog, ProjectConfiguration configuration)
getNonWorkingDays
in interface NonWorkingDaysService
public java.util.Set<org.joda.time.DateMidnight> getProjectDefinedNonWorkingDays(com.opensymphony.user.User user, Backlog backlog, ProjectConfiguration configuration)
NonWorkingDaysService
getProjectDefinedNonWorkingDays
in interface NonWorkingDaysService
public boolean supportsNonWorkingDays(Backlog backlog)
NonWorkingDaysService
supportsNonWorkingDays
in interface NonWorkingDaysService
public ErrorCollection addNonWorkingDay(com.opensymphony.user.User user, Backlog backlog, org.joda.time.DateMidnight date)
addNonWorkingDay
in interface NonWorkingDaysService
public ErrorCollection removeNonWorkingDay(com.opensymphony.user.User user, Backlog backlog, org.joda.time.DateMidnight date)
removeNonWorkingDay
in interface NonWorkingDaysService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |