Class ContentStorageInformationImpl

    • Constructor Detail

      • ContentStorageInformationImpl

        public ContentStorageInformationImpl​(ContentService contentService,
                                             org.alfresco.service.namespace.NamespaceService namespaceService)
    • Method Detail

      • requestArchiveContent

        public boolean requestArchiveContent​(String nodeId,
                                             String contentPropName,
                                             ArchiveContentRequest archiveContentRequest)
        Note: Currently marked as experimental and subject to change.
        Specified by:
        requestArchiveContent in interface ContentStorageInformation
        Parameters:
        nodeId - Identifier of the node
        contentPropName - Qualified name of content property (e.g. 'cm_content')
        archiveContentRequest - ArchiveContentRequest object holding parameters for archive content request
        Returns:
        true when request successful, false when unsuccessful
      • requestRestoreContentFromArchive

        public boolean requestRestoreContentFromArchive​(String nodeId,
                                                        String contentPropName,
                                                        RestoreArchivedContentRequest restoreArchivedContentRequest)
        Note: Currently marked as experimental and subject to change.
        Specified by:
        requestRestoreContentFromArchive in interface ContentStorageInformation
        Parameters:
        nodeId - Identifier of the node
        contentPropName - Qualified name of content property (e.g. 'cm_content')
        restoreArchivedContentRequest - RestoreArchivedContentRequest object holding parameters for restore from archive request
        Returns:
        true when request successful, false when unsuccessful