×

Method for collapsing a version tree which depicts a history of system data and processes for an enterprise

  • US 5,671,398 A
  • Filed: 06/09/1995
  • Issued: 09/23/1997
  • Est. Priority Date: 06/09/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a user interface, a memory, a database and repository operative in said computer system for accessing said database, a method implemented by said computer system for collapsing a version tree that depicts a history of objects stored in said database, said method being stored in said memory at run time and comprising the steps of:

  • a. validating collapse request by insuring that target object is not a ghost object, the end object is not a ghost, end object is on the same version tree as said target object, and end object is a later version than said target object;

    b. initializing an empty array representing path objects from said target object to said end object;

    c. if an end object is supplied, calling a function to build up an array of objects representing paths from said target object to said end object, processing said array of objects built up in step c hereof;

    d. for each nextVersion of said target object, calling a function to collapse versions starting from nextVersion;

    e. calling a function to destruct said target object;

    f. for each nextVersion of target object, initializing a continueWalk flag to TRUE;

    g. if this nextVersion is in path, setting pathFound to TRUE;

    h. if this nextVersion is not in the path, and if variant name of this nextVersion is not the same as the variant name of target object, and if variant name of nextVersion is not the same as variant name of endObject, and if workObject is not the start of a branch, setting continueWalk to FALSE;

    i. if this nextVersion is the end object, setting pathFound to TRUE;

    j. if this nextVersion is not the end object, and if variant name of this nextVersion is not the same as the variant name of target object, and if variant name of nextVersion is not the same as variant name of endObject, and if workObject is not the start of a branch, setting continueWalk to FALSE;

    k. if continueWalk is TRUE, calling a function to continue building a path starting from this nextVersion;

    l. if said function returned TRUE, and if this nextVersion is not the endObject, adding this nextVersion to said path;

    m. setting pathFound to TRUE;

    n. if there are more workObjects, repeating the process steps above until all workObjects have been processed; and

    ,o. exiting this process and returning a value for pathFound.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×