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