@Service @Transactional public class DefaultProfileService extends java.lang.Object implements ProfileService
| Constructor and Description |
|---|
DefaultProfileService(ProfileRepository profileRepository,
DocumentMapper documentMapper) |
| Modifier and Type | Method and Description |
|---|---|
Profile |
create(Profile profile) |
void |
deleteById(java.lang.Integer id) |
java.util.List<Profile> |
getAll() |
java.util.Optional<Profile> |
getById(java.lang.Integer id) |
Profile |
update(Profile profile) |
public DefaultProfileService(ProfileRepository profileRepository, DocumentMapper documentMapper)
public java.util.List<Profile> getAll()
getAll in interface ProfileServicepublic Profile create(Profile profile)
create in interface ProfileServicepublic Profile update(Profile profile)
update in interface ProfileServicepublic java.util.Optional<Profile> getById(java.lang.Integer id)
getById in interface ProfileServicepublic void deleteById(java.lang.Integer id)
deleteById in interface ProfileService