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