Patent ID: 7428543

Claim:
A computer program product for use in a database management system which includes a database engine which accesses and updates objects in a database, the database engine receiving high-level document commands, each high-level document command for performing an operation on a document associated with a plurality of tables in the database, the computer program product comprising: one or more computer-readable media having computer-executable instructions for implementing a method for allowing client applications to control how a particular high-level document command is implemented in the database, and wherein the method comprises: an act of receiving a single high-level document command meeting certain criteria the single high-level document command including one or more operations to be performed on a document comprising one of an e-mail document and a folder having an e-mail document, resulting in a number of table level commands being executed and resulting in one or more database tables being updated; and a step for allowing one or more client applications to determine whether the received single high-level document command is to be implemented and to affect how the received single high-level document command is to be implemented in the database, the step for allowing one or more client applications to affect how the single high-level document command is to be implemented, including: an act of identifying one or more client applications to be notified of the receipt of high-level document commands meeting certain criteria, wherein identifying the one or more client applications to be notified of the receipt of high-level document commands includes having the one or more client applications subscribe for notifications of the receipt of high-level document commands meeting the certain criteria, and an act of notifying the one or more identified client applications a high-level document command meeting the certain criteria has been received prior to implementing the single high-level document command and solely in response to receiving the single high-level document command.