| Package | Description |
|---|---|
| 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 |
|---|---|
List<View> |
ViewRepository.findByOwnerIsCurrentUser(String login) |
List<View> |
ViewRepository.findByOwnerIsCurrentUserOrShared(String login) |
| Modifier and Type | Method and Description |
|---|---|
View |
ViewService.findOne(Long id)
Get one view by id.
|
View |
ViewService.save(View view)
Save a view.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<View> |
ViewService.findAll(org.springframework.data.domain.Pageable pageable)
Get all the views.
|
List<View> |
ViewService.findByOwnerIsCurrentUserOrShared(String login)
Get all the views owned by this user, plus all shared views.
|
| Modifier and Type | Method and Description |
|---|---|
View |
ViewService.save(View view)
Save a view.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<View> |
ViewResource.createView(View view)
POST /views : Create a new view.
|
org.springframework.http.ResponseEntity<List<View>> |
ViewResource.getAllViews(org.springframework.data.domain.Pageable pageable)
GET /views : get all the views.
|
org.springframework.http.ResponseEntity<List<View>> |
ViewResource.getMyViews()
Get all views owned by logged in user, plus all shared views.
|
org.springframework.http.ResponseEntity<View> |
ViewResource.getView(Long id)
GET /views/:id : get the "id" view.
|
org.springframework.http.ResponseEntity<View> |
ViewResource.updateView(View view)
PUT /views : Updates an existing view.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<View> |
ViewResource.createView(View view)
POST /views : Create a new view.
|
org.springframework.http.ResponseEntity<View> |
ViewResource.updateView(View view)
PUT /views : Updates an existing view.
|
Copyright © 2018 Power TAC. All rights reserved.