MoveItemsResult
Synopsis
enum MoveItemsResult {
Done,
NothingToDo,
NoConsecutiveItemSequence,
NoPredecessor,
NoSuccessor,
HasSuccessor,
NoGrandparent,
CannotChangePlanningItemIndentation,
NewParentHasInappropriateType
}
The MoveItemsResult enumeration is used to identify the results of the moveItem (§moveItems) operation. If there are multiple possible return values, the first one from the list below is selected. The following enumeration values are defined:
Done
Operation successful, item structure changed.
NothingToDo
The specified set of items is empty.
NoConsecutiveItemSequence
The specified set of items is not a consecutive sequence of children of the same father.
NoPredecessor
The specified item sequence can not be moved up or indented because the first item of the sequence is also the first child of the parent item.
NoSuccessor
The specified item sequence can not be moved down because the last item of the sequence is already the last child of the parent item.
HasSuccessor
The specified item sequence can not be unindented because the last item of the sequence is not the last child of the parent item.
NoGrandparent
The specified item sequence can not be unindented because their current parent has no parent.
CannotChangePlanningItemIndentation
Planning items can not be indented or unindented.
NewParentHasInappropriateType
At least one of the items to indent is a folder and the new parent is not a folder or at least one of the items to indent is an article and the new parent is neither an article nor a folder.