|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NonWorkingDaysService
Provides access to non working days information. This service should mainly be used for actions that edit non working days.
for the new interface to query working days information
Field Summary | |
---|---|
static java.lang.String |
SERVICE
Used for dependency injection |
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 projectConfiguration)
|
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. |
Field Detail |
---|
static final java.lang.String SERVICE
Method Detail |
---|
java.util.Set<org.joda.time.DateMidnight> getNonWorkingDays(com.opensymphony.user.User user, Backlog backlog)
java.util.Set<org.joda.time.DateMidnight> getNonWorkingDays(com.opensymphony.user.User user, Backlog backlog, ProjectConfiguration projectConfiguration)
java.util.Set<org.joda.time.DateMidnight> getProjectDefinedNonWorkingDays(com.opensymphony.user.User user, Backlog backlog, ProjectConfiguration configuration)
boolean supportsNonWorkingDays(Backlog backlog)
ErrorCollection addNonWorkingDay(com.opensymphony.user.User user, Backlog backlog, org.joda.time.DateMidnight date)
ErrorCollection removeNonWorkingDay(com.opensymphony.user.User user, Backlog backlog, org.joda.time.DateMidnight date)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |