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 voidafterPropertiesSet()List<Download>create(List<Download> entity, Parameters parameters)voiddelete(String nodeId, Parameters parameters)DownloadreadById(String nodeId, Parameters parameters)voidsetDownloads(Downloads downloads)
-
-
-
Method Detail
-
setDownloads
public void setDownloads(Downloads downloads)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
create
public List<Download> create(List<Download> entity, Parameters parameters)
- Specified by:
createin interfaceEntityResourceAction.Create<Download>
-
readById
public Download readById(String nodeId, Parameters parameters) throws EntityNotFoundException
- Specified by:
readByIdin interfaceEntityResourceAction.ReadById<Download>- Throws:
EntityNotFoundException
-
delete
public void delete(String nodeId, Parameters parameters)
- Specified by:
deletein interfaceEntityResourceAction.Delete
-
-