| 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 |
|---|---|
Set<Graph> |
Chart.getGraphs() |
| Modifier and Type | Method and Description |
|---|---|
void |
Chart.setGraphs(Set<Graph> graphs) |
| Modifier and Type | Method and Description |
|---|---|
List<Graph> |
GraphRepository.findByOwnerIsCurrentUser(String login) |
List<Graph> |
GraphRepository.findByOwnerIsCurrentUserOrShared(String login) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphService.findOne(Long id)
Get one graph by id.
|
Graph |
GraphService.save(Graph graph)
Save a graph.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<Graph> |
GraphService.findAll(org.springframework.data.domain.Pageable pageable)
Get all the graphs.
|
List<Graph> |
GraphService.findByOwnerIsCurrentUserOrShared(String login)
Get all the graphs owned by this user, plus all shared graphs.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphService.save(Graph graph)
Save a graph.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Graph> |
GraphResource.createGraph(Graph graph)
POST /graphs : Create a new graph.
|
org.springframework.http.ResponseEntity<List<Graph>> |
GraphResource.getAllGraphs(org.springframework.data.domain.Pageable pageable)
GET /graphs : get all the graphs.
|
org.springframework.http.ResponseEntity<Graph> |
GraphResource.getGraph(Long id)
GET /graphs/:id : get the "id" graph.
|
org.springframework.http.ResponseEntity<List<Graph>> |
GraphResource.getMyGraphs()
Get all graphs owned by logged in user, plus all shared graphs.
|
org.springframework.http.ResponseEntity<Graph> |
GraphResource.updateGraph(Graph graph)
PUT /graphs : Updates an existing graph.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Graph> |
GraphResource.createGraph(Graph graph)
POST /graphs : Create a new graph.
|
org.springframework.http.ResponseEntity<Graph> |
GraphResource.updateGraph(Graph graph)
PUT /graphs : Updates an existing graph.
|
Copyright © 2018 Power TAC. All rights reserved.