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
@Experimental @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. Note: Currently marked as experimental and subject to change.- Author:
- mpichura
-
-
Constructor Summary
Constructors Constructor Description NodeStorageInfoRelation(ContentStorageInformation storageInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
ContentStorageInfo
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 Detail
-
NodeStorageInfoRelation
public NodeStorageInfoRelation(ContentStorageInformation storageInformation)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- 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
@Experimental public void requestArchiveContent(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest, Parameters parameters, WithResponse withResponse)
-
requestRestoreContentFromArchive
@Experimental public void requestRestoreContentFromArchive(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest, Parameters parameters, WithResponse withResponse)
-
-