Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Virtual member manager SPIs > Repository SPI


create

Use the create method to create entities.


Purpose

The create method creates an entity along with its properties in the underlying repository. The empty root data object can be obtained from the createRootDataObject() from the Service class. Then the entity, along with the properties needed, can be added under the root data object.

The output root data object of the create method contains the entity data object that has been created. This entity data object contains only its identifier.


Parameters

root

Root data object that contains the entity to be created.


Returns

The root data object that contains the created entity and its identifier.


Exceptions


Signature

public DataObject create(DataObject root) throws WIMException

Parent topic: Repository SPI



+

Search Tips   |   Advanced Search