| CPC G06F 8/77 (2013.01) [G06F 16/2365 (2019.01); G06F 16/27 (2019.01)] | 12 Claims |

|
1. A processor-implemented method for artifact order and rank synchronization, the method comprising:
determining if a hierarchy of an artifact has been changed across a source endpoint and a target endpoint, and performing hierarchy processing at said target endpoint in an event said artifact has been changed at said target endpoint and updating the hierarchy of the artifact at the target endpoint, and wherein performing said hierarchy processing at said target endpoint comprises:
reading a variable termed SRC-ORDER-INFO, wherein the variable SRC-ORDER-INFO stores the artifact's ordering information at the source endpoint, usable for identifying a predecessor and a successor for the artifact at the source endpoint;
reading a variable termed TGT-ORDER-INFO, wherein the variable TGT-ORDER-INFO stores the artifact's current ordering information at said target endpoint, usable for identifying a predecessor and a successor for the artifact at the target endpoint;
reading a variable termed TGT-ORDER-INFO-DB, wherein the variable TGT-ORDER-INFO-DB denotes the artifact's position information at the target endpoint, derived based on a previous database state;
generating, at the target endpoint, logical sibling information corresponding to at least one processed artifact on which said hierarchy processing was previously performed, by synchronizing the processed artifact's ordering information at the source endpoint with the processed artifact's ordering information at the target endpoint;
identifying sibling artifacts positioned adjacent to the artifact at the target endpoint and processing identified sibling artifacts based on the ordering information stored in variables SRC-ORDER-INFO and TGT-ORDER-INFO, respectively;
comparing the artifact's current ordering information at said target endpoint with the artifact's position information derived based on the previous database state;
in an event the artifact's current ordering information at said target endpoint is equivalent to the artifact's position information derived based on the previous database state, performing an ordering transaction at the target endpoint to maintain the hierarchy of the artifact as per the artifact's ordering information at the source endpoint, stored in the variable SRC-ORDER-INFO;
in an event the artifact's current ordering information at said target endpoint is not equivalent to the artifact's position information derived based on the previous database state, updating the hierarchy of the artifact at the target endpoint as per the successor and the predecessor identified by the artifact's ordering information stored in the variable SRC-ORDER-INFO.
|