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 TypeMethodDescriptionvoidreadById(String nodeId, String contentPropName, Parameters parameters) voidrequestArchiveContent(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse) voidrequestRestoreContentFromArchive(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-
Constructor Details
-
NodeStorageInfoRelation
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
readById
public ContentStorageInfo readById(String nodeId, String contentPropName, Parameters parameters) throws RelationshipResourceNotFoundException - Specified by:
readByIdin 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)
-