@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.InitializingBeanpublic 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>EntityNotFoundExceptionpublic void delete(String nodeId, Parameters parameters)
delete in interface EntityResourceAction.DeleteCopyright © 2005–2018 Alfresco Software. All rights reserved.