|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IThesaurusManager
Interface for managing Thesaurus Objects
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. |
Method Detail |
---|
Collection<TermRelationConfig> getTermRelationsByTermId(SessionConfig sessionConfig, String termId, ITransaction transaction) throws PortalException
termId
- identifier of the term that is participant of relations to gettransaction
-
PortalException
void addOrUpdateTermRelations(SessionConfig sessionConfig, String termId, Collection<TermRelationConfig> relations, ITransaction transaction) throws PortalException
sessionConfig
- termId
- relations
- transaction
-
PortalException
void deleteTermRelation(SessionConfig sessionConfig, String termRelationId, ITransaction transaction) throws PortalException
termRelationId
- identifier of the term to be deletedtransaction
-
PortalException
void deleteTermRelationByTermId(SessionConfig sessionConfig, String termId, ITransaction transaction) throws PortalException
sessionConfig
- termId
- identifier of the term that is participant of relations to deletetransaction
-
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |