Transforming non-apex code to apex code
Assigneesalesforce.com, inc.
InventorQinghua Yang
Life of this patent
Estimating the term…
Abstract
Source code of a first high-level language is received and analyzed. The source code of the first high-level language is transformed into source code of a second high-level language. The source code of the second high-level language is customized to a specific organization among a plurality of organizations that are hosted in a multitenant platform. At least a portion of the source code of the second high-level language is caused to be compiled into low-level code for execution in the multitenant platform.
Claims20
A computer-implemented method, comprising:
- identifying, in source code of a first high-level programming language to be transformed into source code of a second high-level programming language, a first source code portion that uses a particular standard data object name to reference and access a particular standard data object;
- transforming the first source code portion to a second source code portion in the source code of the second high-level programming language;
- compiling the second source code portion into a low-level code portion, which when executed, cause performance of:
- identifying a specific organization from among a plurality of organizations that are hosted in a multitenant platform;
- and
- referencing and accessing an organization-specific instance of the particular standard data object among a plurality of organization-specific instances of the particular standard data object, wherein the plurality of organization-specific instances of the particular standard data object is provided by the multitenant platform to the plurality of organizations that are hosted in the multitenant platform, wherein the particular organization-specific instance of the particular standard data object is provided by the multitenant platform to the specific organization.
One or more non-transitory computer readable media storing a program of instructions that is executable by a device to perform:
- identifying, in source code of a first high-level programming language to be transformed into source code of a second high-level programming language, a first source code portion that uses a particular standard data object name to reference and access a particular standard data object;
- transforming the first source code portion to a second source code portion in the source code of the second high-level programming language;
- compiling the second source code portion into a low-level code portion, which when executed, cause performance of:
- identifying a specific organization from among a plurality of organizations that are hosted in a multitenant platform;
- and
- referencing and accessing an organization-specific instance of the particular standard data object among a plurality of organization-specific instances of the particular standard data object, wherein the plurality of organization-specific instances of the particular standard data object is provided by the multitenant platform to the plurality of organizations that are hosted in the multitenant platform, wherein the particular organization-specific instance of the particular standard data object is provided by the multitenant platform to the specific organization.
A system, comprising:
- one or more computing processors;
- and
- one or more non-transitory computer readable media storing a program of instructions that is executable by the one or more computing processors to perform:
- identifying, in source code of a first high-level programming language to be transformed into source code of a second high-level programming language, a first source code portion that uses a particular standard data object name to reference and access a particular standard data object;
- transforming the first source code portion to a second source code portion in the source code of the second high-level programming language;
- compiling the second source code portion into a low-level code portion, which when executed, cause performance of:
- identifying a specific organization from among a plurality of organizations that are hosted in a multitenant platform;
- and
- referencing and accessing an organization-specific instance of the particular standard data object among a plurality of organization-specific instances of the particular standard data object, wherein the plurality of organization-specific instances of the particular standard data object is provided by the multitenant platform to the plurality of organizations that are hosted in the multitenant platform, wherein the particular organization-specific instance of the particular standard data object is provided by the multitenant platform to the specific organization.
Dependencies are inferred from the claim text.