|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.rapid.view.workingdays.WorkingDaysServiceImpl
@Service public class WorkingDaysServiceImpl
Constructor Summary | |
---|---|
WorkingDaysServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<WorkingDaysConfig> |
addNonWorkingDay(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
org.joda.time.LocalDate date)
Add a day off |
org.joda.time.DateTimeZone |
getDateTimeZone(WorkingDaysConfig config)
Fet the timezone configured for a given rapid board. |
java.lang.String |
getDateTimeZoneIdForUser(com.atlassian.crowd.embedded.api.User user)
Fet the timezone configured for a given user. |
ServiceOutcome<WorkingDaysConfig> |
getWorkingDaysConfiguration(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Get the week days marked as off |
ServiceOutcome<WorkingDaysConfig> |
removeNonWorkingDay(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
org.joda.time.LocalDate date)
Remove a day off |
ServiceOutcome<WorkingDaysConfig> |
updateWorkingDaysConfiguration(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
WorkingDaysConfig workingDaysConfig)
Updates the working days configuration, that is the week days and the timezone |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkingDaysServiceImpl()
Method Detail |
---|
public org.joda.time.DateTimeZone getDateTimeZone(WorkingDaysConfig config)
WorkingDaysService
getDateTimeZone
in interface WorkingDaysService
public java.lang.String getDateTimeZoneIdForUser(com.atlassian.crowd.embedded.api.User user)
WorkingDaysService
getDateTimeZoneIdForUser
in interface WorkingDaysService
public ServiceOutcome<WorkingDaysConfig> getWorkingDaysConfiguration(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
WorkingDaysService
getWorkingDaysConfiguration
in interface WorkingDaysService
public ServiceOutcome<WorkingDaysConfig> updateWorkingDaysConfiguration(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, WorkingDaysConfig workingDaysConfig)
WorkingDaysService
updateWorkingDaysConfiguration
in interface WorkingDaysService
public ServiceOutcome<WorkingDaysConfig> addNonWorkingDay(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, org.joda.time.LocalDate date)
WorkingDaysService
addNonWorkingDay
in interface WorkingDaysService
public ServiceOutcome<WorkingDaysConfig> removeNonWorkingDay(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, org.joda.time.LocalDate date)
WorkingDaysService
removeNonWorkingDay
in interface WorkingDaysService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |