IMPORT_ARCHIVE Archive Services

6-18 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

6.2.31 GET_TARGET_INFO

Service that performs a status check of a target. It does an initial status check to determine if the target is still targetable and if it exists. This service is not intended for external use. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ IDC_Name: The name of the collection. If you are using the default collection, this is the name of the Oracle Content Server instance. ■ aArchiveName: The archive name. ■ TargetCollection: The name of the collection to be targeted. ■ TargetArchive: The name of the archive within the target collection. ■ aTransferOwner: The name of the user who is initiating the transfer.

6.2.32 GET_TARGET_TRANSFER_STATUS

Service used during transfer to determine transfer status. The TransferMonitor uses it to determine if the transfer has completed or is still in progress. Not intended for external use. Location: IdcHomeDirresourcescoretemplatesstd_services.htm

6.2.33 GET_TRANSFER_SOURCE_INFO

Service that is used during a pull transfer to establish the work that must be performed. Used when the source Archiver for the transfer resides on a proxied server and the transfer owner must determine what work, if any, must be done. Not intended for external use. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ IDC_Name: The name of the collection. If you are using the default collection, this is the name of the Oracle Content Server instance. ■ SourceArchive: The archive used as source for the target. ■ aTransferOwner: The name of the user who is initiating the transfer. ■ aArchiveName: The archive name.

6.2.34 IMPORT_ARCHIVE

Service that imports an archive. ■ The import will read in the archives definition file and will follow the import rules specified. ■ The Oracle Content Server system executes this service asynchronously. The Oracle Content Server instance must be running for the service to be executed and Archive Services 6-19 that IdcCommand will announce success as soon as the service has been requested, not when it has been executed successfully. ■ The server can only import archives one at a time. A batch file that has multiple imports will declare success on the first and failure on all subsequent commands until it has finished the first. A batch file should have only one import in it and some external process will need to determine that the action has completed before issuing another import command. ■ The most likely error is an archive name that does not exist. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ IDC_Name: The name of the collection. If you are using the default collection, this is the name of the Oracle Content Server instance. ■ aArchiveName: The archive name. Additional Service Parameters ■ aImportDocuments: When set to true, the service will import content item revisions. ■ aImportDocConfig: When set to true, the service will import document configuration information. ■ aImportUsers: When set to true, the service will import user information. Example ■ IdcCommand command file format import the revisions in the archive_test archive from the Master_on_server01 collection: To import an archive IdcService=IMPORT_ARCHIVE aArchiveName=archive_test IDC_Name=Master_on_server01 aImportDocuments=true Note: The IMPORT_ARCHIVE service only starts the archive import and provides confirmation that the request to start the import has been made. No notification is sent regarding the status or completion of the archive import. A custom component could be created to provide notification of the status and completion of the archive import. Note: At least one of the Additional Service Parameters must be set for this service to execute successfully. Important: If the users have not been exported and aImportUsers is set to true, the service fails. If the document configuration has not been exported and this parameter is set to true, the service fails. 6-20 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management ■ HDA format: Properties LocalData IdcService=IMPORT_ARCHIVE aArchiveName=archive_test IDC_Name=Master_on_server01 aImportDocuments=true end

6.2.35 IMPORT_ARCHIVE_START_AUTOMATED