Interface ContentStorageInformation

  • All Known Implementing Classes:
    ContentStorageInformationImpl

    @Experimental
    public interface ContentStorageInformation
    Storage information for content API. Note: Currently marked as experimental and subject to change.
    Author:
    mpichura
    • Method Detail

      • getStorageInfo

        @Experimental
        ContentStorageInfo getStorageInfo​(NodeRef nodeRef,
                                          String contentPropName,
                                          Parameters parameters)
        Note: Currently marked as experimental and subject to change.
        Parameters:
        nodeRef - Node reference
        contentPropName - Qualified name of content property (e.g. 'cm_content')
        parameters - Parameters object to get the parameters passed into the request
        Returns:
        ContentStorageInfo object consisting of qualified name of content property and a map of storage properties
      • requestArchiveContent

        @Experimental
        boolean requestArchiveContent​(NodeRef nodeRef,
                                      String contentPropName,
                                      ArchiveContentRequest archiveContentRequest)
        Note: Currently marked as experimental and subject to change.
        Parameters:
        nodeRef - Node reference
        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

        @Experimental
        boolean requestRestoreContentFromArchive​(NodeRef nodeRef,
                                                 String contentPropName,
                                                 RestoreArchivedContentRequest restoreArchivedContentRequest)
        Note: Currently marked as experimental and subject to change.
        Parameters:
        nodeRef - Node reference
        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