| 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 |
|---|---|
File |
Game.getBootFile() |
File |
Game.getConfigFile() |
File |
Game.getSeedFile() |
File |
Game.getStateFile() |
File |
Game.getTraceFile() |
File |
Game.getWeatherFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
Game.setBootFile(File file) |
void |
Game.setConfigFile(File file) |
void |
Game.setSeedFile(File file) |
void |
Game.setStateFile(File file) |
void |
Game.setTraceFile(File file) |
void |
Game.setWeatherFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
FileRepository.findByOwnerIsCurrentUser(String login,
FileType type) |
List<File> |
FileRepository.findByOwnerIsCurrentUserOrShared(String login,
FileType type) |
| Modifier and Type | Method and Description |
|---|---|
List<Game> |
GameRepository.findByAssociatedFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
File |
FileService.createFile(FileType type,
String name,
User owner)
Create a new file
|
File |
FileService.getOne(Long id)
Get one file by id.
|
File |
FileService.save(File file)
Save a file.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<File> |
FileService.findAll(org.springframework.data.domain.Pageable pageable)
Get all the files.
|
List<File> |
FileService.findByOwnerIsCurrentUser(String login,
FileType type)
Get all the files owned by this user, plus all shared files.
|
List<File> |
FileService.findByOwnerIsCurrentUserOrShared(String login,
FileType type)
Get all the files owned by this user, plus all shared files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileService.delete(File file)
Delete the file.
|
List<Game> |
GameService.findByAssociatedFile(File file) |
File |
FileService.save(File file)
Save a file.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<File> |
FileResource.createFile(@Valid File file)
POST /files : Create a new file.
|
org.springframework.http.ResponseEntity<List<File>> |
FileResource.getAllFiles(org.springframework.data.domain.Pageable pageable)
GET /files : get all the files.
|
org.springframework.http.ResponseEntity<File> |
FileResource.getFile(Long id)
GET /files/:id : get the "id" file.
|
org.springframework.http.ResponseEntity<List<File>> |
FileResource.getMyFiles(@Valid @NotNull String type)
Get all files owned by logged in user, plus all shared files.
|
org.springframework.http.ResponseEntity<File> |
FileResource.postFile(@Valid @NotNull String type,
Boolean shared,
Boolean overwrite,
@Valid @NotNull org.springframework.web.multipart.MultipartFile part)
Upload a file.
|
org.springframework.http.ResponseEntity<File> |
FileResource.updateFile(@Valid File file)
PUT /files : Updates an existing file.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<File> |
FileResource.createFile(@Valid File file)
POST /files : Create a new file.
|
org.springframework.http.ResponseEntity<Void> |
GameResource.replayGameInternal(@Valid File file) |
org.springframework.http.ResponseEntity<File> |
FileResource.updateFile(@Valid File file)
PUT /files : Updates an existing file.
|
Copyright © 2019 Power TAC. All rights reserved.