Abstract:
A method includes receiving input indicating a listener object and an interface for an object class corresponding to a persisted object of an object model retained by a database, where the interface has multiple different implementations within the object model; recording information indicating that the listener object has an interest in persistent data associated with the interface for the object class corresponding to the persisted object; in connection with a transaction with the database and when each of multiple calls is received for the database, checking whether the interface for the object class corresponding to the persisted object is associated with the call, wherein each of the calls alerts the database to changes for data managed by the database; and communicating with the listener object when the interface for the object class corresponding to the persisted object was associated with at least one of the calls during the transaction.
Abstract:
Systems, methods, and apparatus, including computer program products for text composition are provided. In some implementations, a method is provided. The method includes processing a plurality of paragraphs in parallel, including defining a paragraph layout for each paragraph, the paragraph layout including line breaks. The method further includes composing the text in an electronic document including serially composing each paragraph, the serial composing including shuffling the processed paragraphs into a particular position within a page frame of the electronic document.
Abstract:
A method include receiving input indicating a listener object and an interface for an object class corresponding to a persisted object of an object model retained by a database, where the interface has multiple different implementations within the object model; recording information indicating that the listener object has an interest in persistent data associated with the interface for the object class corresponding to the persisted object; in connection with a transaction with the database and when each of multiple Dirty( ) calls is received for the database, checking whether the interface for the object class corresponding to the persisted object is associated with the Dirty( ) call; and communicating with the listener object when the interface for the object class corresponding to the persisted object was associated with at least one of the Dirty( ) calls during the transaction.
Abstract:
A method includes receiving input indicating a listener object and an interface for an object class corresponding to a persisted object of an object model retained by a database, where the interface has multiple different implementations within the object model; recording information indicating that the listener object has an interest in persistent data associated with the interface for the object class corresponding to the persisted object; in connection with a transaction with the database and when each of multiple calls is received for the database, checking whether the interface for the object class corresponding to the persisted object is associated with the call, wherein each of the calls alerts the database to changes for data managed by the database; and communicating with the listener object when the interface for the object class corresponding to the persisted object was associated with at least one of the calls during the transaction.
Abstract:
Techniques are provided for text composition. In some implementations, a computer-implemented method is provided. The method includes receiving text to compose, the text including a plurality of paragraphs, and composing the text using paragraph composition, the paragraph composition determining a layout for the lines of each paragraph according to a line break scheme that determines line breaks for the paragraph as a whole. The method also includes, identifying limited recomposition for one or more paragraphs of the plurality of paragraphs, receiving a modification to a line of a paragraph, the paragraph having a plurality of lines and where the modified line is subsequent to a first line in the paragraph, determining whether the paragraph of the modified line is identified as having limited recomposition and, if the paragraph has limited recomposition, recomposing a portion of the paragraph using a multi-line paragraph composition process without recomposing the full paragraph.