@GeneratedType(value="net.datenwerke.dtoservices.dtogenerator.DtoAnnotationProcessor") public class Dto2DatabaseDatasourceGenerator extends java.lang.Object implements Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
Constructor and Description |
---|
Dto2DatabaseDatasourceGenerator(Dto2PosoSupervisorDefaultImpl dto2PosoSupervisor,
<any> dtoServiceProvider,
<any> entityManagerProvider,
ReflectionService reflectionService) |
Modifier and Type | Method and Description |
---|---|
DatabaseDatasource |
createPoso(DatabaseDatasourceDto dto)
Creates a new Poso obejct with the data provided by the dto.
|
DatabaseDatasource |
createUnmanagedPoso(DatabaseDatasourceDto dto) |
DatabaseDatasource |
instantiatePoso() |
DatabaseDatasource |
loadAndMergePoso(DatabaseDatasourceDto dto) |
DatabaseDatasource |
loadPoso(DatabaseDatasourceDto dto)
Loads the poso referenced by the dto.
|
void |
mergePoso(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
void |
mergeUnmanagedPoso(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
void |
postProcessCreate(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
void |
postProcessCreateUnmanaged(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
void |
postProcessInstantiate(DatabaseDatasource poso) |
void |
postProcessLoad(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
void |
postProcessMerge(DatabaseDatasourceDto dto,
DatabaseDatasource poso) |
public Dto2DatabaseDatasourceGenerator(Dto2PosoSupervisorDefaultImpl dto2PosoSupervisor, <any> dtoServiceProvider, <any> entityManagerProvider, ReflectionService reflectionService)
public DatabaseDatasource loadPoso(DatabaseDatasourceDto dto)
Dto2PosoGenerator
loadPoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public DatabaseDatasource instantiatePoso()
instantiatePoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public DatabaseDatasource createPoso(DatabaseDatasourceDto dto) throws ExpectedException
Dto2PosoGenerator
createPoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
ExpectedException
public DatabaseDatasource createUnmanagedPoso(DatabaseDatasourceDto dto) throws ExpectedException
createUnmanagedPoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
ExpectedException
public void mergePoso(DatabaseDatasourceDto dto, DatabaseDatasource poso) throws ExpectedException
mergePoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
ExpectedException
public void mergeUnmanagedPoso(DatabaseDatasourceDto dto, DatabaseDatasource poso) throws ExpectedException
mergeUnmanagedPoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
ExpectedException
public DatabaseDatasource loadAndMergePoso(DatabaseDatasourceDto dto) throws ExpectedException
loadAndMergePoso
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
ExpectedException
public void postProcessCreate(DatabaseDatasourceDto dto, DatabaseDatasource poso)
postProcessCreate
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public void postProcessCreateUnmanaged(DatabaseDatasourceDto dto, DatabaseDatasource poso)
postProcessCreateUnmanaged
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public void postProcessLoad(DatabaseDatasourceDto dto, DatabaseDatasource poso)
postProcessLoad
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public void postProcessMerge(DatabaseDatasourceDto dto, DatabaseDatasource poso)
postProcessMerge
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>
public void postProcessInstantiate(DatabaseDatasource poso)
postProcessInstantiate
in interface Dto2PosoGenerator<DatabaseDatasourceDto,DatabaseDatasource>