Dynamic callback services for rap based reuse services
AssigneeSap SE
InventorsWolfgang WALTER, Renzo COLLE
Life of this patent
Estimating the term…
Abstract
Systems and methods include reception of a request to modify an instance of a reuse component and, in response to the request, determine an interface entity of the reuse component and a property of the reuse component which stores an identifier of a host object instance of the reuse component instance, call a first predefined operation with the type of the host object and an identifier of the host object instance to set a lock on the host object instance, create a data container of key field values of the host object instance based on data types of the key fields, and call a second predefined operation with the type of the host object and the data container to check an authorization to modify the host object instance.
Claims20
A system comprising:
- a memory storing program code;
- and
- one or more processing units to execute the program code to cause the system to:
- receive a request to modify an instance of a reuse component;
- and
- in response to the request, instantiate a class of the reuse component to:
- determine an interface behavior definition of a host object of the instance of the reuse component based on a type of the host object;
- and
- instantiate a dynamic host callback service with an interface entity of the reuse component and property of the reuse component which stores an identifier of a host object instance of the instance of the reuse component to:
- determine metadata associated with the host object based on the type of the host object and the identifier of the host object instance;
- call a first predefined operation with the type of the host object and the identifier of the host object instance to set a lock on the host object instance;
- determine data types of key fields of the host object based on the metadata;
- create a data container of key field values of the host object instance based on the determined data types;
- and
- call a second predefined operation with the type of the host object and the data container to check an authorization to modify the host object instance.
A method comprising:
- receiving a request to modify an instance of a reuse component;
- and
- in response to the request, instantiating a class of the reuse component to:
- determine an interface behavior definition of a host object of the instance of the reuse component based on a type of the host object;
- determine an interface entity of the reuse component and a property of the reuse component which stores an identifier of a host object instance of the instance of the reuse component;
- and
- instantiate a dynamic host callback service with an interface entity of the reuse component and a property of the reuse component which stores an identifier of a host object instance of the instance of the reuse component to:
- determine metadata associated with the host object based on the type of the host object and the identifier of the host object instance;
- call a first predefined operation with the type of the host object and the identifier of the host object instance to set a lock on the host object instance;
- determine data types of key fields of the host object based on the metadata;
- create a data container of key field values of the host object instance based on the determined data types;
- and
- call a second predefined operation with the type of the host object and the data container to check an authorization to modify the host object instance.
One or more non-transitory media storing program code executable by one or more processing units of a computing system to cause the computing system to:
- receive a request to modify an instance of a reuse component;
- and
- in response to the request, instantiate a class of the reuse component to:
- determine an interface behavior definition of a host object of the instance of the reuse component based on a type of the host object;
- and
- instantiate a dynamic host callback service with an interface entity of the reuse component and a property of the reuse component which stores an identifier of a host object instance of the instance of the reuse component to:
- determine metadata associated with the host object based on the type of the host object and the identifier of the host object instance;
- call a first predefined operation with the type of the host object and the identifier of the host object instance to set a lock on the host object instance;
- determine data types of key fields of the host object based on the metadata;
- create a data container of key field values of the host object instance based on the determined data types;
- and
- call a second predefined operation with the type of the host object and the data container to check an authorization to modify the host object instance.
Dependencies are inferred from the claim text.