public class SpotRestServiceImpl extends AbstractRestServiceImpl implements SpotRestService
| Constructor and Description |
|---|
SpotRestServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Spot |
addSpot(Integer tenantId,
Spot spot) |
Spot |
getSpot(Integer tenantId,
Long id) |
List<Spot> |
getSpotList(Integer tenantId) |
Boolean |
removeSpot(Integer tenantId,
Long id) |
Spot |
updateSpot(Integer tenantId,
Spot spot) |
validateTenantIdParameterpublic List<Spot> getSpotList(Integer tenantId)
getSpotList in interface SpotRestServicepublic Spot getSpot(Integer tenantId, Long id)
getSpot in interface SpotRestServicepublic Spot addSpot(Integer tenantId, Spot spot)
addSpot in interface SpotRestServicepublic Spot updateSpot(Integer tenantId, Spot spot)
updateSpot in interface SpotRestServicepublic Boolean removeSpot(Integer tenantId, Long id)
removeSpot in interface SpotRestServiceCopyright © 2017–2019 JBoss by Red Hat. All rights reserved.