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