Advanced

Advanced topics

Servlet: MoveURI

com.pageseeder.MoveURI

Description

Moves URI from one location to another.

This item is obsolete!

This servlet is now obsolete because it was performing the operation synchronously. It has been removed from PageSeeder and invoking this servlet will cause an HTTP error 404.

The same functionality can now be achieved asynchronously using:

If URI is a folder it's contents will be moved provided there are no sub-folders. Also copies physical files and adds groups to comments if required.

HTTP Parameters usage:

stores source uri in web transaction; requires 'source' parameter to indicate the source URL;

displays confirmation form; requires 'target' parameter to indicate the target folder URL;

moves the URI and copies the files and graphics directory, requires the following parameters:

  • source or suri
  • target or turi or tguri
  • targetGroups
  • targetGroupIds
  • addGroups
  • addGroupIds
  • addGroupIds
  • newFilename

Handles http get requests to this servlet.

HTTP Parameters

actiondetermines the action for this servletyessource|target|move|cancel
sourcesource URLnoString
surisource URI idnoString
targettarget folder URLnoString
turitarget URI idnoString
tguritarget GroupURI idnoString
targetGroupsnames of groups to be added to all edits and xrefsnoString
targetGroupIdsids of groups to be added to all edits and xrefsnoString
targetGroupsnames of groups to be added to all edits and xrefsnoString
addGroups(optional) names of groups to be added to all commentsnoString
addGroupIds(optional) ids of groups to be added to all commentsnoString
newFilename(optional) new name for file;noString

Created on , last edited on