Package org.alfresco.rest.api
Interface ContentStorageInformation
- All Known Implementing Classes:
ContentStorageInformationImpl
public interface ContentStorageInformation
Storage information for content API.
- Author:
- mpichura
-
Method Summary
Modifier and TypeMethodDescriptiongetStorageInfo(NodeRef nodeRef, String contentPropName, Parameters parameters) booleanrequestArchiveContent(NodeRef nodeRef, String contentPropName, ArchiveContentRequest archiveContentRequest) booleanrequestRestoreContentFromArchive(NodeRef nodeRef, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest)
-
Method Details
-
getStorageInfo
- Parameters:
nodeRef- Node referencecontentPropName- Qualified name of content property (e.g. 'cm_content')parameters-Parametersobject to get the parameters passed into the request- Returns:
ContentStorageInfoobject consisting of qualified name of content property and a map of storage properties
-
requestArchiveContent
boolean requestArchiveContent(NodeRef nodeRef, String contentPropName, ArchiveContentRequest archiveContentRequest) - Parameters:
nodeRef- Node referencecontentPropName- Qualified name of content property (e.g. 'cm_content')archiveContentRequest-ArchiveContentRequestobject holding parameters for archive content request- Returns:
- true when request successful, false when unsuccessful
-
requestRestoreContentFromArchive
boolean requestRestoreContentFromArchive(NodeRef nodeRef, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest) - Parameters:
nodeRef- Node referencecontentPropName- Qualified name of content property (e.g. 'cm_content')restoreArchivedContentRequest-RestoreArchivedContentRequestobject holding parameters for restore from archive request- Returns:
- true when request successful, false when unsuccessful
-