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