move_child

move_child

The move_child message is sent to move the location of a folder in a tree. This message requires the user to specify the new parent for the leaf or folder.

Move a Folder in the Tree


To move a folder in the tree, the sequence of events is as follows:

  1. The client provides a new parent for a given folder.

  2. WORK server performs the following steps:

    1. Parses the folder index to obtain the key / table_cd

    2. Query WORKPLACE_ACCESS table for the table name associated with the table_cd.

    3. Update the WORKPLACE table with the new parent_index for the folder.

 

  1. Client moves the folder and updates the tree content.


move_child Request Message

This message requires the user to specify the new parent for the leaf or folder. No additional attribute settings are necessary.
<message_body>
<work:move_child>
<node>\\asthma\55</node>
<parent>22</parent>
</work:move_child>
</message_body>

move_child Response Message

A status type of DONE or ERROR is specified in the response header. No specialized message_body is returned to the client.

<ac:structured-macro ac:macro-id="34d68a09-7950-42e9-9003-466c688593dd" ac:name="children" ac:schema-version="2">
<ac:parameter ac:name="all">true</ac:parameter>
</ac:structured-macro>