org.apache.archiva.web.api
Interface FileUploadService
- All Known Implementing Classes:
- DefaultFileUploadService
public interface FileUploadService
- Since:
- 1.4-M3
- Author:
- Olivier Lamy
FILES_SESSION_KEY
static final String FILES_SESSION_KEY
post
FileMetadata post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
deleteFile
Boolean deleteFile(String fileName)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
getSessionFileMetadatas
List<FileMetadata> getSessionFileMetadatas()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
save
Boolean save(String repositoryId,
String groupId,
String artifactId,
String version,
String packaging,
boolean generatePom)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
clearUploadedFiles
Boolean clearUploadedFiles()
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.