Systems and methods for an enterprise services framework using a state model
First Claim
1. A method, performed by a processor, for saving business objects comprising:
- receiving a modified business object;
determining a set of related business objects traceable from the modified business object;
modifying the set of related business objects based on a modification of the modified business object;
determining whether both the modified business object and the modified set of related business objects can be saved; and
saving both the modified business object and the modified set of related business objects upon a determination that both can be saved.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments consistent with the principles of the invention check, before the data underlying a changed primary object is persistently save, for related objects whose data is also affected by the change. The related objects may be two or more degrees removed from the primary object. The changed primary object and all its changed related objects are then persistently saved together, so that the saved data is consistent across the related objects. Embodiments consistent with the principles of the invention also provide a state model for controlling access to services by clients and for making services available by servers.
29 Citations
20 Claims
-
1. A method, performed by a processor, for saving business objects comprising:
-
receiving a modified business object;
determining a set of related business objects traceable from the modified business object;
modifying the set of related business objects based on a modification of the modified business object;
determining whether both the modified business object and the modified set of related business objects can be saved; and
saving both the modified business object and the modified set of related business objects upon a determination that both can be saved. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for saving business objects comprising:
-
means for receiving a modified business object;
means for determining a set of related business objects traceable from the modified business object;
means for modifying the set of related business objects based on a modification of the modified business object;
means for facilitating determining whether both the modified business object and the modified set of related business objects can be saved; and
means for facilitating saving both the modified business object and the modified set of related business objects upon a determination that both can be saved. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product for saving business objects, comprising code for causing a processor to perform operations comprising:
-
receiving a modified business object;
determining a set of related business objects traceable from the modified business object;
modifying the set of related business objects based on a modification of the modified business object;
determining whether both the modified business object and the modified set of related business objects can be saved; and
saving both the modified business object and the modified set of related business objects upon a determination that both can be saved. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A server for saving business objects comprising:
-
a receiver that receives a save request specifying a business object to be saved;
a processor, communicatively connected to the receiver, adapted for;
entering a software-controlled state in which receiving a service request will trigger failure processing, identifying a set of related business objects affected by data in the business object to be saved, and modifying data in the set of related business objects to be consistent with the data in the business object to be saved; and
a transmitter, communicatively connected to the processor, that sends a plurality of pre-save checks to at least one database manager for the data in the business object to be saved and the data in the set of related business objects, and sends a command to commit the data in the business object to be saved and a command to commit the data in the set of related business objects to at least one database controlled by the at least one database manager;
wherein the processor is further adapted to exit the state in which receiving a service request will trigger failure processing after the commands to commit are sent. - View Dependent Claims (17, 19)
-
-
18. A system for saving business objects comprising:
-
means for receiving a save request specifying a business object to be saved;
means for entering a software-controlled state in which receiving a service request will cause failure processing;
means for identifying a set of related business objects affected by data in the business object to be saved;
means for modifying data in the set of related business objects to be consistent with the data in the business object to be saved;
means for sending a plurality of pre-save checks to at least one database manager for the data in the business object to be saved and the data in the set of related business objects;
means for facilitating committing the data in the business object to be saved and the data in the set of related business objects to at least one database controlled by the at least one database manager; and
means for exiting the software-controlled state in which receiving a service request will cause failure processing.
-
-
20. A computer program product for saving business objects, comprising code for causing a processor to perform operations comprising:
-
receiving a save request specifying a business object to be saved;
entering a software-controlled state in which receiving a service request will cause failure processing to occur;
identifying a set of related business objects affected by data in the business object to be saved;
modifying data in the set of related business objects to be consistent with the data in the business object to be saved;
sending a plurality of pre-save checks to at least one database manager for the data in the business object to be saved and the data in the set of related business objects;
committing the data in the business object to be saved and the data in the set of related business objects to at least one database controlled by the at least one database manager; and
exiting the software-controlled state in which receiving a service request will cause failure processing to occur.
-
Specification