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 Constructor Description NodeStorageInfoRelation(ContentStorageInformation storageInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()ContentStorageInforeadById(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 Detail
-
NodeStorageInfoRelation
public NodeStorageInfoRelation(ContentStorageInformation storageInformation)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- 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)
-
-