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