@Service public class ShiftService extends AbstractRestService
| Constructor and Description |
|---|
ShiftService(ShiftRepository shiftRepository,
SpotRepository spotRepository,
EmployeeRepository employeeRepository,
RosterService rosterService,
IndictmentUtils indictmentUtils) |
| Modifier and Type | Method and Description |
|---|---|
ShiftView |
createShift(Integer tenantId,
ShiftView shiftView) |
Boolean |
deleteShift(Integer tenantId,
Long id) |
ShiftView |
getShift(Integer tenantId,
Long id) |
List<ShiftView> |
getShiftList(Integer tenantId) |
ShiftView |
updateShift(Integer tenantId,
ShiftView shiftView) |
validateTenantIdParameterpublic ShiftService(ShiftRepository shiftRepository, SpotRepository spotRepository, EmployeeRepository employeeRepository, RosterService rosterService, IndictmentUtils indictmentUtils)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.