Package org.alfresco.rest.api.trashcan
Class TrashcanRenditionsRelation
java.lang.Object
org.alfresco.rest.api.trashcan.TrashcanRenditionsRelation
- All Implemented Interfaces:
RelationshipResourceAction.Read<Rendition>
,RelationshipResourceAction.ReadById<Rendition>
,RelationshipResourceBinaryAction.Read
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="renditions",
entityResource=TrashcanEntityResource.class,
title="Node renditions via archived node")
public class TrashcanRenditionsRelation
extends Object
implements RelationshipResourceAction.Read<Rendition>, RelationshipResourceAction.ReadById<Rendition>, RelationshipResourceBinaryAction.Read, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readAll
(String nodeId, Parameters parameters) Reads set the relationship entities from the collection using the related entityResourceId.readById
(String nodeId, String renditionId, Parameters parameters) readProperty
(String nodeId, String renditionId, Parameters parameters) Retrieves a binary property by returning a BinaryResource object.requestContentDirectUrl
(String originalNodeId, String renditionId, DirectAccessUrlRequest directAccessUrlRequest, Parameters parameters, WithResponse withResponse) void
setDeletedNodes
(DeletedNodes deletedNodes) void
setDirectAccessUrlHelper
(DirectAccessUrlHelper directAccessUrlHelper)
-
Constructor Details
-
TrashcanRenditionsRelation
public TrashcanRenditionsRelation()
-
-
Method Details
-
setDeletedNodes
-
setDirectAccessUrlHelper
-
readAll
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:
nodeId
- 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>
-
readProperty
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:
nodeId
- unique idrenditionId
- Entity resource context for this relationshipparameters
-Parameters
- Returns:
- BinaryResource - Either
FileBinaryResource
orNodeBinaryResource
-
requestContentDirectUrl
public DirectAccessUrl requestContentDirectUrl(String originalNodeId, String renditionId, DirectAccessUrlRequest directAccessUrlRequest, Parameters parameters, WithResponse withResponse) -
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-