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