public interface TermBoService extends TermRepositoryService
deleteTerm, deleteTermResolver, deleteTermSpecification, getTermResolverByNameAndNamespace, getTermSpecificationByNameAndNamespace, updateTerm, updateTermResolver, updateTermSpecification
@Cacheable(value="http://rice.kuali.org/krms/v2_0/TermSpecificationType", key="\'id=\' + #p0") TermSpecificationDefinition getTermSpecificationById(String id)
TermRepositoryService
TermSpecificationDefinition
with the given TermSpecificationId.getTermSpecificationById
in interface TermRepositoryService
id
- the identifier of the term specification to retrieve.TermSpecificationDefinition
with the given id. May be null if there is no term specification
with the given id in the repository.@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/TermSpecificationType","http://rice.kuali.org/krms/v2_0/termDefinitionType"}, allEntries=true) TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)
TermRepositoryService
TermSpecificationDefinition
createTermSpecification
in interface TermRepositoryService
termSpec
- the term specification to be createdTermSpecificationDefinition
after it has been created
in the repository.@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)
TermRepositoryService
TermDefinition
createTerm
in interface TermRepositoryService
termDef
- to be createdTermDefinition
term definition after it has been
created in the repository.@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType", key="\'id=\' + #p0") TermResolverDefinition getTermResolverById(String id)
TermRepositoryService
TermResolverDefinition
with the given id.getTermResolverById
in interface TermRepositoryService
id
- the identifier of the term to retrieve.TermResolverDefinition
with the given id. May be null
if there is no term with the given id in the repository.@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.findTermResolversByOutputId
in interface TermRepositoryService
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)
TermRepositoryService
TermResolverDefinition
.createTermResolver
in interface TermRepositoryService
termResolver
- to be createdTermResolver
after it has been created in the
repository.Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.