COLLECTION_COPY_ITEM COLLECTION_COPY_LOT

Folders Services 7-9

7.2.10 COLLECTION_COPY_ITEM

Service that copies a single content item in a folder and places it in a destination Folders_g folder. The most likely errors are mismatched parameters or the folder does not exist. No returned data. Service Class: File Service Location: IdcHomeDircomponentsfolders_gresourcesfolders_service.htm Additional Required Service Parameters ■ dDocName: The content ID of the content item being copied. One of the following sets of parameters to identify the destination folder: ■ tohasCollectionID: Boolean Specifies whether the todCollectionID parameter is used to identify the destination folder. todCollectionID: The ID for the destination folder. ■ tohasCollectionPath: Boolean Specifies whether the todCollectionPath parameter is used to identify the destination folder. todCollectionPath: The path to the destination folder. ■ tohasCollectionGUID: Boolean Specifies whether the todCollectionGUID parameter is used to identify the destination folder. todCollectionGUID: The GUID for the destination folder. ■ tolevel0: Specifies the base value in the path for the destination parent folder for example, Contribution Folders. tolevel1: Specifies the next level value in the path for the destination parent folder for example, t4. tolevel2: Specifies the next level value in the path for the destination parent folder for example, 1. Example IdcService=COLLECTION_COPY_ITEM tohasCollectionPath=true todCollectionPath=Contribution Folderst41 dDocName=000660

7.2.11 COLLECTION_COPY_LOT

Service that copies a set of items including content items, folders, shortcuts to content items, and shortcuts to folders. The copied items are placed into a single designated Folders_g folder. The most likely errors are mismatched parameters or the designated folder does not exist. No returned data. 7-10 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Service Class: Service general service Location: IdcHomeDircomponentsfolders_gresourcesfolders_service.htm Additional Required Service Parameters One of the following sets of parameters to identify the destination parent folder for the copied items: ■ tohasCollectionID: Boolean Specifies whether the todCollectionID parameter is used to identify the destination parent folder. todCollectionID: The destination parent folder ID. ■ tohasCollectionPath: Boolean Specifies whether the todCollectionPath parameter is used to identify the destination parent folder. todCollectionPath: The path to the destination parent folder. ■ tohasCollection GUID: Boolean Specifies whether the todCollectionGUID parameter is used to identify the destination parent folder. todCollectionGUID: The desintation parent folder GUID. Parameters to designate content items where {n} designates an integer used to distinguish parameters particular to one item to copy from other items to copy: ■ contentselect{n}: Boolean Specifies whether to copy the content item. The value must be true to copy the content item. ■ fromContentisLink{n}: Boolean Specifies whether this is a content item or a shortcut. The value must be 0 to specify a content item. ■ fromdDocName{n}: The content ID of the content item to be copied. Parameters to designate shortcuts to content items where {n} designates an integer used to distinguish parameters particular to one item to copy from other items to copy: ■ contentselect{n}: Boolean Specifies whether to copy the content item. The value must be true to copy the content item. ■ fromContentisLink{n}: Boolean Specifies whether this is a content item or a shortcut. The value must be 1 to specify a shortcut. ■ fromdDocName{n}: The content ID of the content item pointed to by the shortcut. Parameters to designate folders where {n} designates an integer used to distinguish parameters particular to one item to copy from other items to copy: ■ collectionselect{n}: Boolean Specifieswhether to copy the folder. The value must be true to copy the folder. ■ fromCollectionisLink{n}: Boolean Specifies whether this is a folder or a shortcut. The value must be 0 to specify a folder. ■ fromdCollectionID{n}: The dCollectionID of the folder being copied. ■ fromhasCollectionID{n}: The value must be 1 to copy the folder. Folders Services 7-11 Parameters to designate shortcuts to folders where {n} designates an integer used to distinguish parameters particular to one item to copy from other items to copy: ■ collectionselect{n}: Boolean Specifies whether to copy the shortcut to the folder. The value must be true to copy the shortcut. ■ fromCollectionisLink{n}: Boolean Specifies whether this is a folder or a shortcut. The value must be 1 to specify a shortcut. ■ fromCollectiondLinkID{n}: The link ID of the shortcut to be copied. ■ fromdCollectionID{n}: The dCollectionID of the folder pointed to by the shortcut. ■ fromhasCollectionID{n}: The value must be 1 to copy the shortcut to the folder. Example IdcService=COLLECTION_COPY_LOT tohasdCollectionID=true todCollectionID=999999999999000633 contentselect=true fromContentisLink=0 fromdDocName=PHL11GX010033

7.2.12 COLLECTION_DELETE