AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Managing Publisher Folders Using IDK Remote APIs

To copy, move and delete Publisher folders using the IDK remote Publisher API, use the IFolderManager interface.

The remote Publisher API provides access to basic folder management operations. Only users with a Producer or a higher role can execute these actions.
Note: If an error occurs while processing one of the objects in a folder, the operation will stop and all changes will be rolled back. Before you make the call, all folders must be persisted.
  • To copy folder contents, use IFolderManager.copyFolder. This method copies all the objects from the source folder to the destination folder, including content items, Data Entry Templates, Presentation Templates, selection lists, and subfolders. You cannot copy a folder to any of its subfolders or to itself. When you copy published content items, the original content items remain published, but the copies are not automatically published. Also, copied content items are not searchable because the associated portlet IDs are not copied.
  • To move folder contents, use IFolderManager.moveFolder. This method moves all objects from the source folder to the destination folder. You cannot move a folder to any of its subfolders or to itself. Other folders that refer to the folder being moved must be refreshed from the server.
  • To delete a folder, use IFolderManager.removeFolder. This method deletes the folder, any subfolders, and all contents. If any content items in the folder have been published, set the content item to expire first, so that the published content is removed from the portal. If you do not expire published content items, users will still be able to access them.
    Note: When you remove a folder, it is deleted permanently. There is no undo.

  Back to Top      Previous Next