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
Constructors Constructor Description NodeVersionsStorageInfoRelation(ContentStorageInformation storageInformation, NodeVersionsRelation nodeVersions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
ContentStorageInfo
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 Detail
-
NodeVersionsStorageInfoRelation
public NodeVersionsStorageInfoRelation(ContentStorageInformation storageInformation, NodeVersionsRelation nodeVersions)
-
-
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 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)
-
-