public interface TermRepositoryService
Modifier and Type | Method and Description |
---|---|
List<TermSpecificationDefinition> |
findAllTermSpecificationsByContextId(String contextId)
Retrieves all the
TermSpecificationDefinition s that are valid for the context with the given contextId. |
List<TermResolverDefinition> |
findTermResolversByNamespace(String namespace)
Retrieves all
TermResolverDefinition s 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
TermResolverDefinition
s for the given namespace.namespace
- the namespace for which to get all term resolvers.TermResolverDefinition
s 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
TermSpecificationDefinition
s that are valid for the context with the given contextId.contextId
- the identifier for the context whose valid TermSpecificationDefinition
s are to be retrieved.TermSpecificationDefinition
s 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.