COLLECTION_MOVE_LOT Folders Services

Folders Services 7-25 Example IdcService=COLLECTION_MOVE_ITEM tohasCollectionID=true todCollectionID=218 dDocName=TG000570 toContentName=moved_name.txt

7.2.48 COLLECTION_MOVE_LOT

Service that moves a set of items including folders, content items, and shortcuts to folders and content items to a single destination Folders_g folder. The most likely errors are mismatched parameters or the folder does not exist. No returned data. 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 moved items. ■ tohasCollectionID: Boolean Specifies whether the todCollectionID parameter is used to identify the destination parent folder. todCollectionID: The folder collection ID. ■ tohasCollectionPath: Boolean Specifies whether the todCollectionPath parameter is used to identify the path to 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. Parameters required to designate content items. {n} designates an integer used to distinguish parameters particular to one item to move from other items to move. ■ contentselect{n}: Boolean Specifies whether to move the content item. To move the item, the value must be true. ■ fromContentisLink{n}: Boolean If the item is a content item and not a shortcut, the value must be 0. ■ fromdDocName{n}: The content ID of the item to move. Parameters required to designate shortcuts to content items. {n} designates an integer used to distinguish parameters particular to one item to move from other items to move. ■ contentselect{n}: Boolean Specifies whether to move the shortcut. To move the shortcut, the value must be true. ■ fromContentisLink{n}: Boolean Specifies whether this is a shortcut and not a content item. If the item is a shortcut, the value must be 1. ■ fromContentdLinkID{n}: The link ID of the shortcut to move. ■ fromdDocName{n}: The content ID of the content item pointed to by the shortcut. 7-26 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Parameters required to designate folders. {n} designates an integer used to distinguish parameters particular to one item to move from other items to move. ■ collectionselect{n}: Boolean Specifies whether to move the folder. To move the shortcut, the value must be true. ■ fromCollectionisLink{n}: Boolean Specifies whether this is a folder and not a shortcut. If this is a folder, the value must be 0. ■ fromdCollectionID{n}: The dCollectionID of the folder to move. ■ fromhasCollectionID{n}: To move the folder, the value must be 1. Parameters required to designate shortcuts to folders. {n} designates an integer used to distinguish parameters particular to one item to move from other items to move. ■ collectionselect{n}: Boolean Specifies whether to move the shortcut. To move the shortcut, the value must be true. ■ fromCollectionisLink{n}: Boolean Specifies whether this is a shortcut and not a folder. If this is a shortcut, the value must be 1. ■ fromdCollectiondLinkID{n}: = The link ID of the shortcut to move. ■ fromdCollectionID{n}: The dCollectionID of the folder pointed to by the shortcut. ■ fromhasCollectionID{n}: To move the folder shortcut, the value must be 1. Example IdcService=COLLECTION_MOVE_LOT tohasCollectionID=true docCollectionID=999999999999000633 contentselect1=true fromContentisLink1=0 fromdDocName1=PHL11GX010033

7.2.49 COLLECTION_NEW