Package org.alfresco.rest.api.nodes
Class NodeVersionsStorageInfoRelation
java.lang.Object
org.alfresco.rest.api.nodes.NodeVersionsStorageInfoRelation
- All Implemented Interfaces:
RelationshipResourceAction.ReadById<ContentStorageInfo>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="storage-info",
entityResource=NodeVersionsRelation.class,
title="Node Version\'s content storage information")
public class NodeVersionsStorageInfoRelation
extends Object
implements RelationshipResourceAction.ReadById<ContentStorageInfo>, org.springframework.beans.factory.InitializingBean
Node Versions storage information.
- GET /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQNameId}
- Author:
- janv
-
Constructor Summary
ConstructorsConstructorDescriptionNodeVersionsStorageInfoRelation
(ContentStorageInformation storageInformation, NodeVersionsRelation nodeVersions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
readById
(String nodeId, String versionId, Parameters parameters) void
requestArchiveContent
(String nodeId, String versionId, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse) void
requestRestoreContentFromArchive
(String nodeId, String versionId, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-
Constructor Details
-
NodeVersionsStorageInfoRelation
public NodeVersionsStorageInfoRelation(ContentStorageInformation storageInformation, NodeVersionsRelation nodeVersions)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
readById
public ContentStorageInfo readById(String nodeId, String versionId, Parameters parameters) throws RelationshipResourceNotFoundException - Specified by:
readById
in interfaceRelationshipResourceAction.ReadById<ContentStorageInfo>
- Throws:
RelationshipResourceNotFoundException
-
requestArchiveContent
public void requestArchiveContent(String nodeId, String versionId, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse) -
requestRestoreContentFromArchive
public void requestRestoreContentFromArchive(String nodeId, String versionId, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-