Multi-phase synchronization in a content management system
AssigneeInternational Business Machines Corporation
InventorJohn Edward Petri
Life of this patent
Estimating the term…
Abstract
A content management system (CMS) provides a way to add a phase property to synchronization rules. In one suitable implementation, each of the synchronization rules has a corresponding phase value. In another suitable implementation, there are default synchronization rules and only synchronization rules other than the default synchronization rules have a phase value. A phase synchronization mechanism uses the phase property of the synchronization rules to evaluate only appropriate synchronization rules at each step as required.
Claims15
An apparatus comprising:
- at least one processor;
- a memory coupled to the at least one processor;
- a repository residing in the memory that includes a plurality of objects;
- and
- a content management system residing in the memory and executed by the at least one processor, the content management system managing the plurality of objects in the repository, the content management system comprising:
- synchronization rules comprising a first phase subset of the synchronization rules and a second phase subset of the synchronization rules, wherein one of the first phase subset and the second phase subset includes at least one synchronization rule that is not included in the other subset;
- and
- a phase synchronization mechanism that reconstitutes a document that includes embedded queries by evaluating the first phase subset of the synchronization rules to populate parameters of the embedded queries so the embedded queries may be executed, and by evaluating the second phase subset of the synchronization rules after the embedded queries have been executed.
A computer-implemented method for a content management system that manages a plurality of objects in a repository to reconstitute a parent document with embedded queries and evaluate synchronization rules, the method comprising the steps of:
- evaluating a first phase subset of the synchronization rules to populate parameters of the embedded queries so the embedded queries may be executed;
- executing the embedded queries;
- and
- evaluating a second phase subset of the synchronization rules after the embedded queries have been executed, wherein one of the first phase subset and the second phase subset includes at least one synchronization rule that is not included in the other subset.
A computer-implemented method for a content management system that manages a plurality of objects in a repository to reconstitute an XML document from a template of embedded queries and evaluate synchronization rules, the method comprising the steps of:
- populating elements in the embedded queries;
- evaluating a first phase subset of the synchronization rules contained in a first separate file to populate additional elements in the embedded queries;
- executing the embedded queries;
- evaluating a second phase subset of the synchronization rules contained in a second file separate from the first file after the embedded queries have been executed, wherein one of the first phase subset and the second phase subset includes at least one synchronization rule that is not included in the other subset;
- and
- evaluating a third phase subset of the synchronization rules contained in a third file separate from the first and second files.
An article of manufacture comprising:
- (A) a content management system comprising:
- synchronization rules comprising a first phase subset of the synchronization rules and a second phase subset of the synchronization rules, wherein one of the first phase subset and the second phase subset includes at least one synchronization rule that is not included in the other subset;
- and
- a phase synchronization mechanism that reconstitutes a document that includes embedded queries by evaluating the first phase subset of the synchronization rules to populate parameters of the embedded queries so the embedded queries may be executed, and by evaluating the second phase subset of the synchronization rules after the embedded queries have been executed;
- and
- (B) a non-transitory computer-readable media bearing the content management system.
Dependencies are inferred from the claim text.