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 voidafterPropertiesSet()CollectionWithPagingInfo<Rendition>readAll(String sharedId, Parameters parameters)Reads set the relationship entities from the collection using the related entityResourceId.RenditionreadById(String entityResourceId, String id, Parameters parameters)BinaryResourcereadProperty(String sharedId, String renditionId, Parameters parameters)Retrieves a binary property by returning a BinaryResource object.voidsetQuickShareLinks(QuickShareLinks quickShareLinks)
-
-
-
Method Detail
-
setQuickShareLinks
public void setQuickShareLinks(QuickShareLinks quickShareLinks)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
readProperty
@WebApiNoAuth public BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters)
Description copied from interface:RelationshipResourceBinaryAction.ReadRetrieves a binary property by returning a BinaryResource object. The specific property is specified in theParametersobject. SeeParameters.hasBinaryProperty(String)orParameters.getBinaryProperty()- Specified by:
readPropertyin interfaceRelationshipResourceBinaryAction.Read- Parameters:
sharedId- unique idrenditionId- Entity resource context for this relationshipparameters-Parameters- Returns:
- BinaryResource - Either
FileBinaryResourceorNodeBinaryResource
-
readAll
@WebApiNoAuth public CollectionWithPagingInfo<Rendition> readAll(String sharedId, Parameters parameters)
Description copied from interface:RelationshipResourceAction.ReadReads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAllin 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:
readByIdin interfaceRelationshipResourceAction.ReadById<Rendition>
-
-