public interface DtoService
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createDto(java.lang.Object poso) |
java.lang.Object |
createDto(java.lang.Object poso,
DtoView here,
DtoView referenced) |
java.lang.Object |
createDtoFullAccess(java.lang.Object poso) |
java.lang.String[] |
createFto(java.lang.Object poso) |
java.lang.String[] |
createFto(java.lang.Object poso,
DtoView here,
DtoView referenced) |
java.lang.String[] |
createFtoFullAccess(java.lang.Object poso) |
java.lang.Object |
createListDto(java.lang.Object poso) |
java.lang.String[] |
createListFto(java.lang.Object poso) |
java.lang.Object |
createPoso(java.lang.Object dto) |
java.lang.Object |
createUnmanagedPoso(java.lang.Object dto) |
java.lang.String[] |
dto2Fto(Dto dto) |
java.lang.Class<?> |
getPosoFromDtoMapper(Dto2PosoMapper mapper) |
java.lang.Object |
instantiateDto(java.lang.Class<?> posoType) |
java.lang.Object |
instantiateDto(java.lang.Object poso) |
java.lang.Object |
instantiatePoso(java.lang.Class<?> dtoClass) |
boolean |
isAuthorityForDto(java.lang.Object object) |
boolean |
isAuthorityForDtoClass(java.lang.Class<?> clazz) |
boolean |
isAuthorityForPoso(java.lang.Object object) |
boolean |
isAuthorityForPosoClass(java.lang.Class<?> clazz) |
java.lang.Object |
loadAndMergePoso(java.lang.Object dto) |
java.lang.Object |
loadPoso(java.lang.Object dto)
Given a
Dto , loads the corresponding POSO. |
void |
mergePoso(java.lang.Object dto,
java.lang.Object poso) |
void |
mergeUnmanagedPoso(java.lang.Object dto,
java.lang.Object poso) |
java.lang.Object createDto(java.lang.Object poso)
java.lang.Object createListDto(java.lang.Object poso)
java.lang.Object createDtoFullAccess(java.lang.Object poso)
java.lang.Object instantiateDto(java.lang.Object poso)
java.lang.Object instantiateDto(java.lang.Class<?> posoType)
java.lang.Object loadPoso(java.lang.Object dto)
Dto
, loads the corresponding POSO. The POSO has to be casted
to the object's type.dto
- the dto send e.g. by the clientjava.lang.Object instantiatePoso(java.lang.Class<?> dtoClass)
java.lang.Object createPoso(java.lang.Object dto) throws ExpectedException
ExpectedException
java.lang.Object createUnmanagedPoso(java.lang.Object dto) throws ExpectedException
ExpectedException
void mergePoso(java.lang.Object dto, java.lang.Object poso) throws ExpectedException
ExpectedException
void mergeUnmanagedPoso(java.lang.Object dto, java.lang.Object poso) throws ExpectedException
ExpectedException
java.lang.Object loadAndMergePoso(java.lang.Object dto) throws ExpectedException
ExpectedException
boolean isAuthorityForPosoClass(java.lang.Class<?> clazz)
boolean isAuthorityForDtoClass(java.lang.Class<?> clazz)
boolean isAuthorityForPoso(java.lang.Object object)
boolean isAuthorityForDto(java.lang.Object object)
java.lang.Class<?> getPosoFromDtoMapper(Dto2PosoMapper mapper)
java.lang.String[] createFto(java.lang.Object poso)
java.lang.String[] createListFto(java.lang.Object poso)
java.lang.String[] createFtoFullAccess(java.lang.Object poso)
java.lang.String[] dto2Fto(Dto dto)