org.kuali.rice.krms.impl.repository
Class TermBoServiceImpl
java.lang.Object
org.kuali.rice.krms.impl.repository.TermBoServiceImpl
- All Implemented Interfaces:
- TermRepositoryService, TermBoService
public class TermBoServiceImpl
- extends Object
- implements TermBoService, TermRepositoryService
Implementation of TermBoService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermBoServiceImpl
public TermBoServiceImpl()
setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)
- Parameters:
businessObjectService
- the businessObjectService to set
getTermSpecificationById
public TermSpecificationDefinition getTermSpecificationById(String id)
- Specified by:
getTermSpecificationById
in interface TermBoService
- See Also:
TermBoService.getTermSpecificationById(java.lang.String)
createTermSpecification
public TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)
- Specified by:
createTermSpecification
in interface TermBoService
- See Also:
TermBoService.createTermSpecification(org.kuali.rice.krms.api.repository.term.TermSpecificationDefinition)
createTerm
public TermDefinition createTerm(TermDefinition termDef)
- Specified by:
createTerm
in interface TermBoService
- See Also:
TermBoService.createTerm(org.kuali.rice.krms.api.repository.term.TermDefinition)
createTermResolver
public TermResolverDefinition createTermResolver(TermResolverDefinition termResolver)
- Specified by:
createTermResolver
in interface TermBoService
- See Also:
TermBoService.createTermResolver(org.kuali.rice.krms.api.repository.term.TermResolverDefinition)
getTerm
public TermDefinition getTerm(String id)
- Description copied from interface:
TermRepositoryService
- Retrieves the
TermDefinition
with the given termId.
- Specified by:
getTerm
in interface TermRepositoryService
- Specified by:
getTerm
in interface TermBoService
- Parameters:
id
- the identifier of the term to retrieve.
- Returns:
- the
TermDefinition
with the given termId. May be null if there is no term with the given termId
in the repository. - See Also:
TermBoService.getTerm(java.lang.String)
getTermResolverById
public TermResolverDefinition getTermResolverById(String id)
- Specified by:
getTermResolverById
in interface TermBoService
- See Also:
TermBoService.getTermResolverById(java.lang.String)
findTermResolversByOutputId
public List<TermResolverDefinition> findTermResolversByOutputId(String id,
String namespace)
- Description copied from interface:
TermBoService
- Get the
TermResolverDefinition
s for any term resolvers in the specified namespace that have the given
term specification as their output.
- Specified by:
findTermResolversByOutputId
in interface TermBoService
- Parameters:
id
- the id for the term specificationnamespace
- the namespace to search
- Returns:
- the List of term resolvers found. If none are found, an empty list will be returned.
findTermResolversByNamespace
public List<TermResolverDefinition> findTermResolversByNamespace(String namespace)
- Description copied from interface:
TermRepositoryService
- Retrieves all
TermResolverDefinition
s for the given namespace.
- Specified by:
findTermResolversByNamespace
in interface TermRepositoryService
- Specified by:
findTermResolversByNamespace
in interface TermBoService
- Parameters:
namespace
- the namespace for which to get all term resolvers.
- Returns:
- the List of
TermResolverDefinition
s for the given namespace. May be empty, but never null.
findAllTermSpecificationsByContextId
public List<TermSpecificationDefinition> findAllTermSpecificationsByContextId(String contextId)
- Description copied from interface:
TermRepositoryService
- Retrieves all the
TermSpecificationDefinition
s that are valid for the context with the given contextId.
- Specified by:
findAllTermSpecificationsByContextId
in interface TermRepositoryService
- Parameters:
contextId
- the identifier for the context whose valid TermSpecificationDefinition
s are to be retrieved.
- Returns:
- all the
TermSpecificationDefinition
s that are valid for the context with the given contextId. May be empty but never null
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.