@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) |
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>
public boolean validateKeyProperty(DatabaseDatasourceDto dto, DatabaseDatasource poso) throws ExpectedException
ExpectedException