RelocateItemsResult
Synopsis
enum RelocateItemsResult {
Done,
NothingToDo,
CannotReparentPlanningItem,
NewParentHasInappropriateType,
IllegalStructuralChange
}
The operation relocateItems (relocateItems) may return the following enumeration values:
See also: relocateItems
Done
The items have been moved as specified.
NothingToDo
No item has been moved because the list of items to move was empty, or the items where already in the specified position and order.
IllegalStructuralChange
No item has been moved because doing so would result in an invalid basket item structure, or is just impossible. This may happen if the father or one of its ancestors, or the item identified by beforeId (if non-NIL and a child of the new father), is also included in the list of items to move.
NewParentHasInappropriateType
No item has been moved because at least one of the items to be moved is not allowed as a child of the new father/parent item.
CannotReparentPlanningItem
No item has been moved because doing so would require reparenting of a planning item, which is generally not allowed.