public interface Repository
Modifier and Type | Method and Description |
---|---|
DataObject |
create(DataObject root)
Creates the entity under the given root data object.
|
DataObject |
createSchema(DataObject root)
Creates the schema of new entity types and property types at runtime.
|
DataObject |
delete(DataObject root)
Delete the entity specified in the root data object.
|
DataObject |
get(DataObject root)
Returns information of the specified entities.
|
DataObject |
getSchema(DataObject root)
Retrieve the repository specific schema information of entity types and property types.
|
void |
initialize(DataObject reposConfig)
Initializes the adapter.
|
DataObject |
login(DataObject root)
Authenticates the account data object in the specified root data object.
|
DataObject |
search(DataObject root)
Searches the profile repositories for entities matching the given search
expression and returns them with the requested properties.
|
DataObject |
update(DataObject root)
Updates entity specified in the root data object.
|
void initialize(DataObject reposConfig) throws WIMException
reposConfig
- The DataObject which contains configuration data of this adapter.WIMException
DataObject create(DataObject root) throws WIMException
root
- The root data object which contains the entity to be created.WIMException
DataObject get(DataObject root) throws WIMException
root
- The root data object containing the request information.WIMException
DataObject delete(DataObject root) throws WIMException
root
- The root data object which contains the entity to delete.
The identifier of the entity should be specified.WIMException
DataObject update(DataObject root) throws WIMException
root
- The root data object containing entity with changes need to update.WIMException
DataObject search(DataObject root) throws WIMException
root
- the root data object containing the control(s) related to search.WIMException
DataObject login(DataObject root) throws WIMException
root
- the root data object containing the account to authenticate.WIMException
DataObject createSchema(DataObject root) throws WIMException
root
- The input root data object which contains the information of the new entity and property types.WIMException
DataObject getSchema(DataObject root) throws WIMException
root
- The input root data object which contains the request information.WIMException