public interface TermRepositoryService
| Modifier and Type | Method and Description |
|---|---|
List<TermSpecificationDefinition> |
findAllTermSpecificationsByContextId(String contextId)
Retrieves all the
TermSpecificationDefinitions that are valid for the context with the given contextId. |
List<TermResolverDefinition> |
findTermResolversByNamespace(String namespace)
Retrieves all
TermResolverDefinitions for the given namespace. |
TermDefinition |
getTerm(String termId)
Retrieves the
TermDefinition with the given termId. |
@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType",
key="\'namespace=\' + #p0")
List<TermResolverDefinition> findTermResolversByNamespace(String namespace)
throws RiceIllegalArgumentException
TermResolverDefinitions for the given namespace.namespace - the namespace for which to get all term resolvers.TermResolverDefinitions for the given namespace. May be empty, but never null.RiceIllegalArgumentException - if the namespace is null or blank.@Cacheable(value="http://rice.kuali.org/krms/v2_0/termDefinitionType",
key="\'id=\' + #p0")
TermDefinition getTerm(String termId)
throws RiceIllegalArgumentException
TermDefinition with the given termId.termId - the identifier of the term to retrieve.TermDefinition with the given termId. May be null if there is no term with the given termId
in the repository.RiceIllegalArgumentException - if the termId is null or blank.@Cacheable(value="http://rice.kuali.org/krms/v2_0/TermSpecificationType",
key="\'id=\' + #p0")
List<TermSpecificationDefinition> findAllTermSpecificationsByContextId(String contextId)
throws RiceIllegalArgumentException
TermSpecificationDefinitions that are valid for the context with the given contextId.contextId - the identifier for the context whose valid TermSpecificationDefinitions are to be retrieved.TermSpecificationDefinitions that are valid for the context with the given contextId. May be empty but never nullRiceIllegalArgumentException - if the contextId is null or blank.Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.