Package org.alfresco.rest.api.nodes
Class NodeStorageInfoRelation
java.lang.Object
org.alfresco.rest.api.nodes.NodeStorageInfoRelation
- All Implemented Interfaces:
RelationshipResourceAction.ReadById<ContentStorageInfo>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="storage-info",
entityResource=NodesEntityResource.class,
title="Node\'s content storage information")
public class NodeStorageInfoRelation
extends Object
implements RelationshipResourceAction.ReadById<ContentStorageInfo>, org.springframework.beans.factory.InitializingBean
Node storage information.
- Author:
- mpichura
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readById
(String nodeId, String contentPropName, Parameters parameters) void
requestArchiveContent
(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse) void
requestRestoreContentFromArchive
(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-
Constructor Details
-
NodeStorageInfoRelation
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
readById
public ContentStorageInfo readById(String nodeId, String contentPropName, Parameters parameters) throws RelationshipResourceNotFoundException - Specified by:
readById
in interfaceRelationshipResourceAction.ReadById<ContentStorageInfo>
- Throws:
RelationshipResourceNotFoundException
-
requestArchiveContent
public void requestArchiveContent(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse) -
requestRestoreContentFromArchive
public void requestRestoreContentFromArchive(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-