Package org.exoplatform.agenda.service
Class AgendaScheduleConflictServiceImpl
java.lang.Object
org.exoplatform.agenda.service.AgendaScheduleConflictServiceImpl
- All Implemented Interfaces:
org.exoplatform.agenda.service.AgendaScheduleConflictService
@Service
public class AgendaScheduleConflictServiceImpl
extends Object
implements org.exoplatform.agenda.service.AgendaScheduleConflictService
The one place a schedule clash is decided.
See AgendaScheduleConflictService for the rule, for everything that
is deliberately not a clash, and for why this is arithmetic in code rather
than a description of arithmetic handed to a caller.
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaScheduleConflictServiceImpl(org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService) Builds the service. -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.agenda.model.ScheduleConflictsgetScheduleConflicts(ZonedDateTime start, ZonedDateTime end, long userIdentityId)
-
Constructor Details
-
AgendaScheduleConflictServiceImpl
@Autowired public AgendaScheduleConflictServiceImpl(org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService) Builds the service.- Parameters:
agendaEventService- the event service the window is read from, and the holder of the calendar ACL that answers for this readagendaEventAttendeeService- used to find what the asking user answered to each event, which is what keeps a declined event out of the report
-
-
Method Details
-
getScheduleConflicts
public org.exoplatform.agenda.model.ScheduleConflicts getScheduleConflicts(ZonedDateTime start, ZonedDateTime end, long userIdentityId) throws IllegalAccessException - Specified by:
getScheduleConflictsin interfaceorg.exoplatform.agenda.service.AgendaScheduleConflictService- Throws:
IllegalAccessException
-