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