Class QuickShareLinkRenditionsRelation
java.lang.Object
org.alfresco.rest.api.quicksharelinks.QuickShareLinkRenditionsRelation
- All Implemented Interfaces:
RelationshipResourceAction.Read<Rendition>
,RelationshipResourceAction.ReadById<Rendition>
,RelationshipResourceBinaryAction.Read
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@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
Enable rendition(s) to be download via Shared Link
- Author:
- janv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readAll
(String sharedId, Parameters parameters) Reads set the relationship entities from the collection using the related entityResourceId.readById
(String entityResourceId, String id, Parameters parameters) readProperty
(String sharedId, String renditionId, Parameters parameters) Retrieves a binary property by returning a BinaryResource object.void
setQuickShareLinks
(QuickShareLinks quickShareLinks)
-
Constructor Details
-
QuickShareLinkRenditionsRelation
public QuickShareLinkRenditionsRelation()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readProperty
@WebApiNoAuth public BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters) Description copied from interface:RelationshipResourceBinaryAction.Read
Retrieves a binary property by returning a BinaryResource object. The specific property is specified in theParameters
object. SeeParameters.hasBinaryProperty(String)
orParameters.getBinaryProperty()
- Specified by:
readProperty
in interfaceRelationshipResourceBinaryAction.Read
- Parameters:
sharedId
- unique idrenditionId
- Entity resource context for this relationshipparameters
-Parameters
- Returns:
- BinaryResource - Either
FileBinaryResource
orNodeBinaryResource
-
readAll
@WebApiNoAuth public CollectionWithPagingInfo<Rendition> readAll(String sharedId, Parameters parameters) Description copied from interface:RelationshipResourceAction.Read
Reads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAll
in interfaceRelationshipResourceAction.Read<Rendition>
- Parameters:
sharedId
- Entity resource context for this relationshipparameters
- - will never be null and will have the PAGING default values
-
readById
- Specified by:
readById
in interfaceRelationshipResourceAction.ReadById<Rendition>