@RelationshipResource(name="renditions", entityResource=QuickShareLinkEntityResource.class, title="Node renditions via shared link") public class QuickShareLinkRenditionsRelation extends Object implements RelationshipResourceAction.Read<Rendition>, RelationshipResourceAction.ReadById<Rendition>, RelationshipResourceBinaryAction.Read, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
QuickShareLinkRenditionsRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo<Rendition> |
readAll(String sharedId,
Parameters parameters)
Reads all the relationship entities from the collection using the related entityResourceId.
|
Rendition |
readById(String entityResourceId,
String id,
Parameters parameters) |
BinaryResource |
readProperty(String sharedId,
String renditionId,
Parameters parameters)
Retrieves a binary property by returning a BinaryResource object.
|
void |
setQuickShareLinks(QuickShareLinks quickShareLinks) |
public void setQuickShareLinks(QuickShareLinks quickShareLinks)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
@WebApiNoAuth public BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters)
RelationshipResourceBinaryAction.Read
Parameters
object.
See Parameters.hasBinaryProperty(String)
or Parameters.getBinaryProperty()
readProperty
in interface RelationshipResourceBinaryAction.Read
sharedId
- unique idrenditionId
- Entity resource context for this relationshipparameters
- Parameters
FileBinaryResource
or NodeBinaryResource
@WebApiNoAuth public CollectionWithPagingInfo<Rendition> readAll(String sharedId, Parameters parameters)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read<Rendition>
sharedId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default values@WebApiNoAuth public Rendition readById(String entityResourceId, String id, Parameters parameters)
readById
in interface RelationshipResourceAction.ReadById<Rendition>
Copyright © 2005–2017 Alfresco Software. All rights reserved.