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