| Package | Description |
|---|---|
| org.powertac.visualizer.domain |
JPA domain objects.
|
| org.powertac.visualizer.repository |
Spring Data JPA repositories.
|
| org.powertac.visualizer.service |
Service layer beans.
|
| org.powertac.visualizer.web.rest |
Spring MVC REST controllers.
|
| Modifier and Type | Method and Description |
|---|---|
Chart |
View.getChart() |
| Modifier and Type | Method and Description |
|---|---|
void |
View.setChart(Chart chart) |
| Modifier and Type | Method and Description |
|---|---|
Chart |
ChartRepository.findOneWithEagerRelationships(Long id) |
| Modifier and Type | Method and Description |
|---|---|
List<Chart> |
ChartRepository.findAllWithEagerRelationships() |
List<Chart> |
ChartRepository.findByOwnerIsCurrentUser(String login) |
List<Chart> |
ChartRepository.findByOwnerIsCurrentUserOrShared(String login) |
| Modifier and Type | Method and Description |
|---|---|
Chart |
ChartService.getOne(Long id)
Get one chart by id.
|
Chart |
ChartService.save(Chart chart)
Save a chart.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<Chart> |
ChartService.findAll(org.springframework.data.domain.Pageable pageable)
Get all the charts.
|
List<Chart> |
ChartService.findByOwnerIsCurrentUserOrShared(String login)
Get all the charts owned by this user, plus all shared charts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChartService.delete(Chart chart)
Delete the chart.
|
Chart |
ChartService.save(Chart chart)
Save a chart.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Chart> |
ChartResource.createChart(@Valid Chart chart)
POST /charts : Create a new chart.
|
org.springframework.http.ResponseEntity<List<Chart>> |
ChartResource.getAllCharts(org.springframework.data.domain.Pageable pageable)
GET /charts : get all the charts.
|
org.springframework.http.ResponseEntity<Chart> |
ChartResource.getChart(Long id)
GET /charts/:id : get the "id" chart.
|
org.springframework.http.ResponseEntity<List<Chart>> |
ChartResource.getMyGames()
Get all charts owned by logged in user, plus all shared charts.
|
org.springframework.http.ResponseEntity<Chart> |
ChartResource.updateChart(@Valid Chart chart)
PUT /charts : Updates an existing chart.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Chart> |
ChartResource.createChart(@Valid Chart chart)
POST /charts : Create a new chart.
|
org.springframework.http.ResponseEntity<Chart> |
ChartResource.updateChart(@Valid Chart chart)
PUT /charts : Updates an existing chart.
|
Copyright © 2019 Power TAC. All rights reserved.