public class ResourcesRestResource extends de.alpharogroup.service.rs.AbstractRestfulResource<Integer,de.alpharogroup.resource.system.domain.Resource,de.alpharogroup.resource.system.service.api.ResourceService> implements ResourcesResource
ResourcesRestResource provides an implementation of the inteface
ResourcesResource.| Constructor and Description |
|---|
ResourcesRestResource() |
| Modifier and Type | Method and Description |
|---|---|
Response |
download(String name)
Gets a
StreamingOutput from the given name of a Resource. |
Response |
downloadById(Integer id)
Gets a
StreamingOutput from the given id of a Resource. |
Response |
upload(org.apache.cxf.jaxrs.ext.multipart.Attachment attachment)
Uploads the given
Attachment object and saves it to the database. |
create, delete, getDomainService, read, setDomainService, updatepublic Response download(String name)
StreamingOutput from the given name of a Resource.download in interface ResourcesResourcename - the namepublic Response downloadById(Integer id)
StreamingOutput from the given id of a Resource.downloadById in interface ResourcesResourceid - the idpublic Response upload(org.apache.cxf.jaxrs.ext.multipart.Attachment attachment)
Attachment object and saves it to the database.upload in interface ResourcesResourceattachment - the attachmentCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.