PK - the generic type of the primary keyBO - the generic type of the business objectpublic interface BusinessMapperService<PK extends Serializable,BO extends BusinessObject<PK>>
BusinessMapperService provide methods for crud processes.| Modifier and Type | Method and Description |
|---|---|
BO |
create(BO businessObject)
Creates an entity from the given business object and persist it to the underlying database.
|
void |
delete(PK id)
Deletes an entity with the given id.
|
BO |
read(PK id)
Read an entity with the given id and maps it to a business object that will be returned.
|
void |
update(BO businessObject)
Updates the given business object to the underlying database.
|
BO create(BO businessObject)
businessObject - the business objectvoid delete(PK id)
id - the idBO read(PK id)
id - the idvoid update(BO businessObject)
businessObject - the business objectCopyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.