@Service public class RotationService extends AbstractRestService
| Constructor and Description |
|---|
RotationService(ShiftTemplateRepository shiftTemplateRepository,
RosterService rosterService,
SpotService spotService,
EmployeeService employeeService) |
| Modifier and Type | Method and Description |
|---|---|
ShiftTemplateView |
createShiftTemplate(Integer tenantId,
ShiftTemplateView shiftTemplateView) |
Boolean |
deleteShiftTemplate(Integer tenantId,
Long id) |
ShiftTemplateView |
getShiftTemplate(Integer tenantId,
Long id) |
List<ShiftTemplateView> |
getShiftTemplateList(Integer tenantId) |
ShiftTemplateView |
updateShiftTemplate(Integer tenantId,
ShiftTemplateView shiftTemplateView) |
validateTenantIdParameterpublic RotationService(ShiftTemplateRepository shiftTemplateRepository, RosterService rosterService, SpotService spotService, EmployeeService employeeService)
@Transactional public List<ShiftTemplateView> getShiftTemplateList(Integer tenantId)
@Transactional public ShiftTemplateView getShiftTemplate(Integer tenantId, Long id)
@Transactional public ShiftTemplateView createShiftTemplate(Integer tenantId, ShiftTemplateView shiftTemplateView)
@Transactional public ShiftTemplateView updateShiftTemplate(Integer tenantId, ShiftTemplateView shiftTemplateView)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.