module documentation

Undocumented

Class CopySupport No class docstring; 0/1 instance variable, 3/9 methods documented
Function normalize_ids_after_copy The ids of copied objects are normalized to the context-node's id_prefix and the ZMS-client's sequence incrementing (acl_sequence). After the objects are moved to their new position their ids are normalized, that means they are reset to a new id that consists of the id_prefix of the target-context and the next increment of the ZMS-object sequence counter.
Function normalize_ids_after_move Undocumented
Constant OP_COPY Undocumented
Constant OP_MOVE Undocumented
def normalize_ids_after_copy(node, id_prefix='e', ids=[]): (source)

The ids of copied objects are normalized to the context-node's id_prefix and the ZMS-client's sequence incrementing (acl_sequence). After the objects are moved to their new position their ids are normalized, that means they are reset to a new id that consists of the id_prefix of the target-context and the next increment of the ZMS-object sequence counter.

Parameters
node:ZMSNodecontext-node
id_prefix:strid_prefix of context-node
ids:listlist of ids to be normalized, '*' for all
Note
This function is called after manage_pasteObjs() has moved the objects.
def normalize_ids_after_move(node, id_prefix='e', ids=[]): (source)

Undocumented

OP_COPY: int = (source)

Undocumented

Value
0
OP_MOVE: int = (source)

Undocumented

Value
1