public class DtoCreationHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
modeUnmanaged |
Constructor and Description |
---|
DtoCreationHelper(DtoService dtoService) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
createdDto(java.lang.Object dto,
java.lang.Object poso,
DtoView here,
DtoView referenced) |
void |
dtoCreatedFor(java.lang.Object poso,
java.lang.Object dto,
Poso2DtoGenerator<?,?> generator) |
boolean |
isModeUnmanaged() |
void |
onDtoCreation(java.lang.Object dto,
java.lang.Object poso,
CallbackOnDtoCreation callback) |
void |
onPosoCreation(java.lang.Object dto,
CallbackOnPosoCreation callback) |
void |
posoCreatedFor(java.lang.Object dto,
java.lang.Object poso,
Dto2PosoGenerator<?,?> generator) |
void |
posoInstantiatedFor(java.lang.Object poso,
Dto2PosoGenerator generator) |
void |
posoLoadedFor(java.lang.Object dto,
java.lang.Object poso,
Dto2PosoGenerator generator) |
void |
posoMergedFor(java.lang.Object dto,
java.lang.Object poso,
Dto2PosoGenerator<?,?> generator) |
void |
setModeUnmanaged(boolean modeUnmanaged) |
void |
unmanagedPosoCreatedFor(java.lang.Object dto,
java.lang.Object createUnmanagedPoso,
Dto2PosoGenerator<?,?> generator) |
public DtoCreationHelper(DtoService dtoService)
public void onDtoCreation(java.lang.Object dto, java.lang.Object poso, CallbackOnDtoCreation callback)
public void dtoCreatedFor(java.lang.Object poso, java.lang.Object dto, Poso2DtoGenerator<?,?> generator)
public void onPosoCreation(java.lang.Object dto, CallbackOnPosoCreation callback)
public void unmanagedPosoCreatedFor(java.lang.Object dto, java.lang.Object createUnmanagedPoso, Dto2PosoGenerator<?,?> generator)
public void posoCreatedFor(java.lang.Object dto, java.lang.Object poso, Dto2PosoGenerator<?,?> generator)
public void posoMergedFor(java.lang.Object dto, java.lang.Object poso, Dto2PosoGenerator<?,?> generator)
public void posoInstantiatedFor(java.lang.Object poso, Dto2PosoGenerator generator)
public void posoLoadedFor(java.lang.Object dto, java.lang.Object poso, Dto2PosoGenerator generator)
public void cleanup()
public void setModeUnmanaged(boolean modeUnmanaged)
public boolean isModeUnmanaged()