public interface Dto2PosoGenerator<D,P>
Modifier and Type | Method and Description |
---|---|
P |
createPoso(D dto)
Creates a new Poso obejct with the data provided by the dto.
|
P |
createUnmanagedPoso(D dto) |
P |
instantiatePoso() |
P |
loadAndMergePoso(D dto) |
P |
loadPoso(D dto)
Loads the poso referenced by the dto.
|
void |
mergePoso(D dto,
P poso) |
void |
mergeUnmanagedPoso(D dto,
P poso) |
void |
postProcessCreate(D dto,
P poso) |
void |
postProcessCreateUnmanaged(D dto,
P poso) |
void |
postProcessInstantiate(P poso) |
void |
postProcessLoad(D dto,
P poso) |
void |
postProcessMerge(D dto,
P poso) |
P createPoso(D dto) throws ExpectedException
dto
- ExpectedException
P createUnmanagedPoso(D dto) throws ExpectedException
ExpectedException
P instantiatePoso()
void mergePoso(D dto, P poso) throws ExpectedException
ExpectedException
void mergeUnmanagedPoso(D dto, P poso) throws ExpectedException
ExpectedException
P loadAndMergePoso(D dto) throws ExpectedException
ExpectedException
void postProcessInstantiate(P poso)