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 Constructor Description QuickShareLinkRenditionsRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
CollectionWithPagingInfo<Rendition>
readAll(String sharedId, Parameters parameters)
Reads set 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)
-
-
-
Method Detail
-
setQuickShareLinks
public void setQuickShareLinks(QuickShareLinks quickShareLinks)
-
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
@WebApiNoAuth public Rendition readById(String entityResourceId, String id, Parameters parameters)
- Specified by:
readById
in interfaceRelationshipResourceAction.ReadById<Rendition>
-
-