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