Package org.alfresco.rest.api.downloads
Class DownloadsEntityResource
- java.lang.Object
-
- org.alfresco.rest.api.downloads.DownloadsEntityResource
-
- All Implemented Interfaces:
EntityResourceAction.Create<Download>
,EntityResourceAction.Delete
,EntityResourceAction.ReadById<Download>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@EntityResource(name="downloads", title="Downloads") public class DownloadsEntityResource extends Object implements EntityResourceAction.Create<Download>, EntityResourceAction.ReadById<Download>, EntityResourceAction.Delete, org.springframework.beans.factory.InitializingBean
- Author:
- cpopa
-
-
Constructor Summary
Constructors Constructor Description DownloadsEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
List<Download>
create(List<Download> entity, Parameters parameters)
void
delete(String nodeId, Parameters parameters)
Download
readById(String nodeId, Parameters parameters)
void
setDownloads(Downloads downloads)
-
-
-
Method Detail
-
setDownloads
public void setDownloads(Downloads downloads)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
create
public List<Download> create(List<Download> entity, Parameters parameters)
- Specified by:
create
in interfaceEntityResourceAction.Create<Download>
-
readById
public Download readById(String nodeId, Parameters parameters) throws EntityNotFoundException
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Download>
- Throws:
EntityNotFoundException
-
delete
public void delete(String nodeId, Parameters parameters)
- Specified by:
delete
in interfaceEntityResourceAction.Delete
-
-