public interface ProfileService<U extends CommonProfile>
| Modifier and Type | Method and Description |
|---|---|
void |
create(U profile,
String password)
Create a profile with the associated password in the storage.
|
U |
findById(String id)
Find a profile by its identifier.
|
U |
findByLinkedId(String linkedId)
Find a profile by its linked identifier.
|
void |
remove(U profile)
Rmove a profile in the storage.
|
void |
removeById(String id)
Remove a profile by its identifier in the storage.
|
void |
update(U profile,
String password)
Update a profile (with the associated password) in the storage.
|
void create(U profile, String password)
profile - the profilepassword - the passwordvoid update(U profile, String password)
profile - the profilepassword - the optional passwordvoid remove(U profile)
profile - the profilevoid removeById(String id)
id - the profile identifierU findById(String id)
id - the identifierCopyright © 2017. All Rights Reserved.