|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.pdc.web.UserThesaurusHolder
public class UserThesaurusHolder
A holder of the thesaurus for a given user. It provides convenient methods to access thesaurus data for a given user.
Method Summary | |
---|---|
static UserDetail |
forUser(UserDetail user)
A convinient method to enhance the readability of the methods. |
Collection<String> |
getSynonymsOf(PdcValueEntity value)
Gets the synonyms of the specified position value by using the hold user thesaurus. |
protected ThesaurusManager |
getThesaurus()
|
protected UserDetail |
getUser()
|
static UserThesaurusHolder |
holdThesaurus(ThesaurusManager thesaurus,
UserDetail user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UserThesaurusHolder holdThesaurus(ThesaurusManager thesaurus, UserDetail user)
public static UserDetail forUser(UserDetail user)
user
- details about a user.
public Collection<String> getSynonymsOf(PdcValueEntity value) throws ThesaurusException
value
- the value as a PdcPositionValue instance.
ThesaurusException
- if an error occurs while accessing the thesaurus for getting the
synonyms of the specified term.protected ThesaurusManager getThesaurus()
protected UserDetail getUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |