public abstract class RepositoryImpl extends java.lang.Object implements Repository
Modifier and Type | Field and Description |
---|---|
java.lang.String |
iReposId |
Constructor and Description |
---|
RepositoryImpl() |
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 identifiers)
Delete the entity specified in the root data object.
|
DataObject |
get(DataObject root)
Returns information of the specified entities.
|
java.lang.String |
getRepositoryId() |
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.
|
public java.lang.String getRepositoryId()
public void initialize(DataObject reposConfig) throws WIMException
Repository
initialize
in interface Repository
reposConfig
- The DataObject which contains configuration data of this adapter.WIMException
public DataObject create(DataObject root) throws WIMException
Repository
create
in interface Repository
root
- The root data object which contains the entity to be created.WIMException
public DataObject get(DataObject root) throws WIMException
Repository
get
in interface Repository
root
- The root data object containing the request information.WIMException
public DataObject delete(DataObject identifiers) throws WIMException
Repository
delete
in interface Repository
identifiers
- The root data object which contains the entity to delete.
The identifier of the entity should be specified.WIMException
public DataObject update(DataObject root) throws WIMException
Repository
update
in interface Repository
root
- The root data object containing entity with changes need to update.WIMException
public DataObject search(DataObject root) throws WIMException
Repository
search
in interface Repository
root
- the root data object containing the control(s) related to search.WIMException
public DataObject login(DataObject root) throws WIMException
Repository
login
in interface Repository
root
- the root data object containing the account to authenticate.WIMException
public DataObject createSchema(DataObject root) throws WIMException
Repository
createSchema
in interface Repository
root
- The input root data object which contains the information of the new entity and property types.WIMException
public DataObject getSchema(DataObject root) throws WIMException
Repository
getSchema
in interface Repository
root
- The input root data object which contains the request information.WIMException