org.kuali.rice.krms.impl.repository
Interface TermBoService

All Known Implementing Classes:
TermBoServiceImpl

public interface TermBoService

BO service for terms and related entities

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 TermDefinition createTermDefinition(TermDefinition termDef)
           
 TermResolverDefinition createTermResolver(TermResolverDefinition termResolver)
           
 TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)
           
 TermDefinition getTermById(String id)
           
 TermResolverDefinition getTermResolverById(String id)
           
 List<TermResolverDefinition> getTermResolversByNamespace(String namespace)
           
 List<TermResolverDefinition> getTermResolversByOutputId(String id, String namespace)
          Get the TermResolverDefinitions for any term resolvers in the specified namespace that have the given term specification as their output.
 TermSpecificationDefinition getTermSpecificationById(String id)
           
 

Method Detail

getTermSpecificationById

@Cacheable(value="http://rice.kuali.org/krms/v2_0/TermSpecificationType",
           key="\'id=\' + #p0")
TermSpecificationDefinition getTermSpecificationById(String id)

createTermSpecification

@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/TermSpecificationType","http://rice.kuali.org/krms/v2_0/termDefinitionType"},
            allEntries=true)
TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)

getTermById

@Cacheable(value="http://rice.kuali.org/krms/v2_0/termDefinitionType",
           key="\'id=\' + #p0")
TermDefinition getTermById(String id)

createTermDefinition

@CacheEvict(value="http://rice.kuali.org/krms/v2_0/termDefinitionType",
            allEntries=true)
TermDefinition createTermDefinition(TermDefinition termDef)

getTermResolverById

@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType",
           key="\'id=\' + #p0")
TermResolverDefinition getTermResolverById(String id)

getTermResolversByOutputId

@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType",
           key="\'id=\' + #p0 + \'|\' + \'namespace=\' + #p1")
List<TermResolverDefinition> getTermResolversByOutputId(String id,
                                                                  String namespace)
Get the TermResolverDefinitions for any term resolvers in the specified namespace that have the given term specification as their output.

Parameters:
id - the id for the term specification
namespace - the namespace to search
Returns:
the List of term resolvers found. If none are found, an empty list will be returned.

getTermResolversByNamespace

@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType",
           key="\'namespace=\' + #p0")
List<TermResolverDefinition> getTermResolversByNamespace(String namespace)

createTermResolver

@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-2012 The Kuali Foundation. All Rights Reserved.