@Service public class RotationService extends AbstractRestService
| Constructor and Description |
|---|
RotationService(javax.validation.Validator validator,
ShiftTemplateRepository shiftTemplateRepository,
RosterService rosterService,
SpotService spotService,
SkillService skillService,
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) |
validateBeanpublic RotationService(javax.validation.Validator validator,
ShiftTemplateRepository shiftTemplateRepository,
RosterService rosterService,
SpotService spotService,
SkillService skillService,
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–2020 JBoss by Red Hat. All rights reserved.