public class ShiftRestServiceImpl extends AbstractRestServiceImpl implements ShiftRestService
| Constructor and Description |
|---|
ShiftRestServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ShiftView |
addShift(Integer tenantId,
ShiftView shiftView) |
RotationView |
getRotation(Integer tenantId) |
ShiftView |
getShift(Integer tenantId,
Long id) |
List<ShiftView> |
getShifts(Integer tenantId) |
Boolean |
removeShift(Integer tenantId,
Long id) |
void |
updateRotation(Integer tenantId,
RotationView rotationView) |
ShiftView |
updateShift(Integer tenantId,
ShiftView shiftView) |
validateTenantIdParameterpublic ShiftView getShift(Integer tenantId, Long id)
getShift in interface ShiftRestServicepublic ShiftView addShift(Integer tenantId, ShiftView shiftView)
addShift in interface ShiftRestServicepublic ShiftView updateShift(Integer tenantId, ShiftView shiftView)
updateShift in interface ShiftRestServicepublic Boolean removeShift(Integer tenantId, Long id)
removeShift in interface ShiftRestServicepublic List<ShiftView> getShifts(Integer tenantId)
getShifts in interface ShiftRestServicepublic RotationView getRotation(Integer tenantId)
getRotation in interface ShiftRestServicepublic void updateRotation(Integer tenantId, RotationView rotationView)
updateRotation in interface ShiftRestServiceCopyright © 2017–2018 JBoss by Red Hat. All rights reserved.