public interface ProfileLoader
Modifier and Type | Method and Description |
---|---|
Profile |
getProfile(int personId,
int publicationId)
Get the profile with the specified id.
|
Profile |
getProfile(String userName,
int publicationId)
Get the profile from username.
|
Profile |
getProfileFromArticle(int articleId)
Get the profile from article.
|
Profile getProfile(int personId, int publicationId) throws NoSuchObjectException
personId
- The id of the person to get the profile forpublicationId
- The person belongs to this publicationNoSuchObjectException
- if a profile can not be foundProfile getProfile(String userName, int publicationId) throws NoSuchObjectException
userName
- Find the profile for this userpublicationId
- The person belongs to this publicationNoSuchObjectException
- if a profile can not be foundProfile getProfileFromArticle(int articleId) throws NoSuchObjectException
articleId
- Find the profile for this articleNoSuchObjectException
- if a profile can not be found© 1998- 2018 Stibo DX