public interface TermBoService extends TermRepositoryService
Modifier and Type | Method and Description |
---|---|
TermDefinition |
createTerm(TermDefinition termDef) |
TermResolverDefinition |
createTermResolver(TermResolverDefinition termResolver) |
TermSpecificationDefinition |
createTermSpecification(TermSpecificationDefinition termSpec) |
List<TermResolverDefinition> |
findTermResolversByNamespace(String namespace)
Retrieves all
TermResolverDefinition s for the given namespace. |
List<TermResolverDefinition> |
findTermResolversByOutputId(String id,
String namespace)
Get the
TermResolverDefinition s for any term resolvers in the specified namespace that have the given
term specification as their output. |
TermDefinition |
getTerm(String id)
Retrieves the
TermDefinition with the given termId. |
TermResolverDefinition |
getTermResolverById(String id) |
TermSpecificationDefinition |
getTermSpecificationById(String id) |
findAllTermSpecificationsByContextId
@Cacheable(value="http://rice.kuali.org/krms/v2_0/TermSpecificationType", key="\'id=\' + #p0") TermSpecificationDefinition getTermSpecificationById(String id)
@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/TermSpecificationType","http://rice.kuali.org/krms/v2_0/termDefinitionType"}, allEntries=true) TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)
@Cacheable(value="http://rice.kuali.org/krms/v2_0/termDefinitionType", key="\'id=\' + #p0") TermDefinition getTerm(String id)
TermRepositoryService
TermDefinition
with the given termId.getTerm
in interface TermRepositoryService
id
- 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.@CacheEvict(value="http://rice.kuali.org/krms/v2_0/termDefinitionType", allEntries=true) TermDefinition createTerm(TermDefinition termDef)
@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType", key="\'id=\' + #p0") TermResolverDefinition getTermResolverById(String id)
@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType", key="\'id=\' + #p0 + \'|\' + \'namespace=\' + #p1") List<TermResolverDefinition> findTermResolversByOutputId(String id, String namespace)
TermResolverDefinition
s for any term resolvers in the specified namespace that have the given
term specification as their output.id
- the id for the term specificationnamespace
- the namespace to search@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType", key="\'namespace=\' + #p0") List<TermResolverDefinition> findTermResolversByNamespace(String namespace)
TermRepositoryService
TermResolverDefinition
s for the given namespace.findTermResolversByNamespace
in interface TermRepositoryService
namespace
- the namespace for which to get all term resolvers.TermResolverDefinition
s for the given namespace. May be empty, but never null.@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/termResolverDefinitionType","http://rice.kuali.org/krms/v2_0/termDefinitionType"}, allEntries=true) TermResolverDefinition createTermResolver(TermResolverDefinition termResolver)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.