|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.thesaurus.ThesaurusManager
public class ThesaurusManager
Manager for Thesaurus objects
Field Summary | |
---|---|
protected IResource |
resource
|
Constructor Summary | |
---|---|
ThesaurusManager()
|
Method Summary | |
---|---|
void |
addOrUpdateTermRelations(SessionConfig sessionConfig,
String termId,
Collection<TermRelationConfig> relations,
ITransaction transaction)
Persist the relation set of a term, adding or updating each relation in the set. |
void |
deleteTermRelation(SessionConfig sessionConfig,
String termRelationId,
ITransaction transaction)
Delete the specified term relation. |
void |
deleteTermRelationByTermId(SessionConfig sessionConfig,
String termId,
ITransaction transaction)
Delete all relations in which the specified term participates. |
Collection<TermRelationConfig> |
getTermRelationsByTermId(SessionConfig sessionConfig,
String termId,
ITransaction transaction)
Get all relations in which the specified term participates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IResource resource
Constructor Detail |
---|
public ThesaurusManager()
Method Detail |
---|
public Collection<TermRelationConfig> getTermRelationsByTermId(SessionConfig sessionConfig, String termId, ITransaction transaction) throws PortalException
IThesaurusManager
getTermRelationsByTermId
in interface IThesaurusManager
termId
- identifier of the term that is participant of relations to get
PortalException
public void addOrUpdateTermRelations(SessionConfig sessionConfig, String termId, Collection<TermRelationConfig> relations, ITransaction transaction) throws PortalException
IThesaurusManager
addOrUpdateTermRelations
in interface IThesaurusManager
PortalException
public void deleteTermRelation(SessionConfig sessionConfig, String termRelationId, ITransaction transaction) throws PortalException
IThesaurusManager
deleteTermRelation
in interface IThesaurusManager
termRelationId
- identifier of the term to be deleted
PortalException
public void deleteTermRelationByTermId(SessionConfig sessionConfig, String termId, ITransaction transaction) throws PortalException
IThesaurusManager
deleteTermRelationByTermId
in interface IThesaurusManager
termId
- identifier of the term that is participant of relations to delete
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |