Localization of data represented by business entities
First Claim
Patent Images
1. A computer-implemented method of localizing data represented by a requested entity, the method comprising:
- receiving a request to instantiate the requested entity;
accessing metadata associated with the requested entity that identifies other entities related to the requested entity, wherein at least a localization entity and a localization policy handler entity are identified as being associated with the requested entity, the requested entity, localization entity, and localization policy handler entity comprising separate entities in an object-oriented data accessing system, wherein the localization entity is instantiated when the requested entity is instantiated and contains localization information to localize data represented by the requested entity, and wherein the localization policy handler entity includes logic for obtaining localization information from the localization entity to localize the requested entity, the localization policy handler including a predefined localization policy and a default localization policy;
instantiating the localization policy handler entity;
after instantiation of the requested entity, generating an event with the requested entity based on the instantiation of the requested entity, wherein the event identifies a particular locale and at least one attribute associated with the requested entity to be localized; and
invoking a method on the localization policy handler entity, based on the event generated by the requested entity, to obtain localization values from the localization entity and provide the localization values to the requested entity, wherein invoking comprises;
invoking a method on the localization entity with the localization policy handler entity to look for desired localization values by passing an attribute ID, for each attribute associated with the requested entity to be localized, from the localization policy handler entity to the localization entity and implementing the predefined localization policy of the localization policy handler entity to access the localization information contained in the localization entity based on the attribute ID;
if the desired localization values are not found, performing a default localization using the default localization policy of the localization policy handler entity to retrieve default localization values from the localization entity; and
providing at least one of the desired localization values and the default localization values, obtained from the localization entity, from the localization policy handler entity to localize the requested entity using a processor of the computer.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a localization entity in association with a business entity requested by a requester. During instantiation of the requested business entity, a localization event is triggered which causes a policy handler to implement a localization policy to identify localization values (found in the associated localization entity) for attributes in the business entity. The localization values are received from the localization entity associated with the business entity and are placed in the business entity, as localized values.
12 Citations
14 Claims
-
1. A computer-implemented method of localizing data represented by a requested entity, the method comprising:
-
receiving a request to instantiate the requested entity; accessing metadata associated with the requested entity that identifies other entities related to the requested entity, wherein at least a localization entity and a localization policy handler entity are identified as being associated with the requested entity, the requested entity, localization entity, and localization policy handler entity comprising separate entities in an object-oriented data accessing system, wherein the localization entity is instantiated when the requested entity is instantiated and contains localization information to localize data represented by the requested entity, and wherein the localization policy handler entity includes logic for obtaining localization information from the localization entity to localize the requested entity, the localization policy handler including a predefined localization policy and a default localization policy; instantiating the localization policy handler entity; after instantiation of the requested entity, generating an event with the requested entity based on the instantiation of the requested entity, wherein the event identifies a particular locale and at least one attribute associated with the requested entity to be localized; and invoking a method on the localization policy handler entity, based on the event generated by the requested entity, to obtain localization values from the localization entity and provide the localization values to the requested entity, wherein invoking comprises; invoking a method on the localization entity with the localization policy handler entity to look for desired localization values by passing an attribute ID, for each attribute associated with the requested entity to be localized, from the localization policy handler entity to the localization entity and implementing the predefined localization policy of the localization policy handler entity to access the localization information contained in the localization entity based on the attribute ID; if the desired localization values are not found, performing a default localization using the default localization policy of the localization policy handler entity to retrieve default localization values from the localization entity; and providing at least one of the desired localization values and the default localization values, obtained from the localization entity, from the localization policy handler entity to localize the requested entity using a processor of the computer. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A localization system for localizing data represented by a requested entity, the system comprising:
-
a processor; a computer storage medium having stored thereon computer executable instructions for configuring the processor to implement system components comprising; an object-oriented entity instantiating system that receives a request to instantiate the requested entity and instantiates the requested entity, wherein the entity instantiating system accesses metadata associated with the requested entity that identifies other entities related to the requested entity, wherein at least a localization entity and a localization policy handler entity are identified as being associated with the requested entity, wherein the requested entity, localization entity, and localization policy handler entity comprise separate entities in an object-oriented data accessing system, wherein the entity instantiating system instantiates at least the localization entity and the localization policy handler entity associated with the requested entity, the localization policy handler entity being configured to communicate between the localization entity and the requested entity and including logic for obtaining localization information from the localization entity to localize the requested entity, the localization policy handler including a predefined localization policy and a default localization policy; wherein the localization entity includes localization values for localizing the data in the requested entity and identifies at least one attribute of the requested entity to be localized, wherein the requested entity generates, after instantiation of the requested entity, an event that identifies a particular locale and the at least one attribute associated with the requested entity to be localized; and wherein the localization policy handler entity passes information pertaining to the at least one attribute to the localization entity and retrieves the localization values from the localization entity, wherein the localization policy handler entity retrieves the localization values by invoking a method on the localization entity to look for desired localization values by passing an attribute ID, for each attribute associated with the requested entity to be localized, to the localization entity and implementing the predefined localization policy of the localization policy handler entity to access the localization information contained in the localization entity based on the attribute ID, and wherein if the desired localization values are not found a default localization is performed using the default localization policy of the localization policy handler entity to retrieve default localization values from the localization entity, wherein at least one of the desired localization values and the default localization values obtained from the localization entity are provided from the localization policy handler entity to localize the requested entity. - View Dependent Claims (7, 8)
-
-
9. An object model that is encoded on a computer readable storage medium and is accessed by a computer in a data localization system to localize data, the object model comprising:
-
a requested entity; a localization entity associated with the requested entity and including localization values for localizing data in the requested entity, the localization entity identifying at least one attribute of the requested entity to be localized; a localization policy handler entity that is invoked by the requested entity based on an event generated by the requested entity, wherein the localization policy handler entity is configured to communicate between the localization entity and the requested entity and includes logic for obtaining localization information from the localization entity to localize the requested entity, the localization policy handler including a predefined localization policy and a default localization policy that are stored by the localization policy handler entity; wherein the event identifies a particular locale and at least one attribute of the requested entity to be localized, wherein the localization policy handler entity retrieves the localization values from the localization entity based on the event generated by the requested entity and returns the localization values to the requested entity, wherein the localization policy handler entity retrieves desired localization values from the localization entity according to the predefined localization policy by passing information related to the locale and the attribute ID for each of the at least one attribute to the localization entity; wherein if the desired localization values are not found the localization Dolicy handler entity performs default localization of the requested entity according to the default localization policy to retrieve default localization values from the localization entity; and wherein at least one of the desired localization values and the default localization values obtained from the localization entity are provided from the localization policy handler entity to localize the requested entity. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification