@RestController
@RequestMapping(value="pmbok/references")
public class ReferenceUploadController
extends java.lang.Object
| Constructor and Description |
|---|
ReferenceUploadController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.springframework.context.support.DefaultMessageSourceResolvable> |
load(java.lang.String token) |
org.springframework.http.ResponseEntity<java.lang.String> |
upload(java.lang.String token,
org.springframework.web.multipart.MultipartFile file) |
@RequestMapping(value="/upload",
method=POST)
public org.springframework.http.ResponseEntity<java.lang.String> upload(@RequestParam(required=false)
java.lang.String token,
@RequestParam(required=false)
org.springframework.web.multipart.MultipartFile file)
throws java.io.IOException,
InvalidCsvFileException,
com.clusterra.pmbok.reference.application.csv.InvalidCsvReferenceContentException
java.io.IOExceptionInvalidCsvFileExceptioncom.clusterra.pmbok.reference.application.csv.InvalidCsvReferenceContentException@RequestMapping(value="/load",
method=POST)
@Protected(actions="See Personal Details")
public org.springframework.http.ResponseEntity<org.springframework.context.support.DefaultMessageSourceResolvable> load(@RequestParam(required=false)
java.lang.String token)
throws com.clusterra.pmbok.reference.application.csv.ReferenceCsvLoaderException,
com.clusterra.iam.core.application.tracker.NotAuthenticatedException,
com.clusterra.iam.core.application.tenant.TenantNotFoundException
com.clusterra.pmbok.reference.application.csv.ReferenceCsvLoaderExceptioncom.clusterra.iam.core.application.tracker.NotAuthenticatedExceptioncom.clusterra.iam.core.application.tenant.TenantNotFoundException