@EntityResource(name="downloads", title="Downloads") public class DownloadsEntityResource extends Object implements EntityResourceAction.Create<Download>, EntityResourceAction.ReadById<Download>, EntityResourceAction.Delete, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DownloadsEntityResource() |
Modifier and Type | Method and 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) |
public void setDownloads(Downloads downloads)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public List<Download> create(List<Download> entity, Parameters parameters)
create
in interface EntityResourceAction.Create<Download>
public Download readById(String nodeId, Parameters parameters) throws EntityNotFoundException
readById
in interface EntityResourceAction.ReadById<Download>
EntityNotFoundException
public void delete(String nodeId, Parameters parameters)
delete
in interface EntityResourceAction.Delete
Copyright © 2005–2017 Alfresco Software. All rights reserved.