|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.impl.repository.TermBoServiceImpl
public class TermBoServiceImpl
Implementation of TermBoService
Constructor Summary | |
---|---|
TermBoServiceImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermBoServiceImpl()
Method Detail |
---|
public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- the businessObjectService to setpublic TermSpecificationDefinition getTermSpecificationById(String id)
TermRepositoryService
TermSpecificationDefinition
with the given TermSpecificationId.
getTermSpecificationById
in interface TermRepositoryService
getTermSpecificationById
in interface TermBoService
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.TermBoService.getTermSpecificationById(java.lang.String)
public TermSpecificationDefinition createTermSpecification(TermSpecificationDefinition termSpec)
TermRepositoryService
TermSpecificationDefinition
createTermSpecification
in interface TermRepositoryService
createTermSpecification
in interface TermBoService
termSpec
- the term specification to be created
TermSpecificationDefinition
after it has been created
in the repository.TermBoService.createTermSpecification(org.kuali.rice.krms.api.repository.term.TermSpecificationDefinition)
public void updateTermSpecification(TermSpecificationDefinition termSpec) throws RiceIllegalArgumentException
TermRepositoryService
TermSpecificationDefinition
updateTermSpecification
in interface TermRepositoryService
termSpec
- the term specification to be updated
RiceIllegalArgumentException
- termSpec is null or invalidpublic void deleteTermSpecification(String id) throws RiceIllegalArgumentException
TermRepositoryService
TermSpecificationDefinition
deleteTermSpecification
in interface TermRepositoryService
id
- the id of the term specification to be deleted
RiceIllegalArgumentException
- id is null or invalidpublic TermDefinition createTerm(TermDefinition termDef)
TermRepositoryService
TermDefinition
createTerm
in interface TermRepositoryService
createTerm
in interface TermBoService
termDef
- to be created
TermDefinition
term definition after it has been
created in the repository.TermBoService.createTerm(org.kuali.rice.krms.api.repository.term.TermDefinition)
public void updateTerm(TermDefinition term) throws RiceIllegalArgumentException
TermRepositoryService
TermDefinition
updateTerm
in interface TermRepositoryService
term
- to be updated
RiceIllegalArgumentException
- if
the termDef is null or blank.public void deleteTerm(String id) throws RiceIllegalArgumentException
TermRepositoryService
TermDefinition
deleteTerm
in interface TermRepositoryService
id
- of the termDefinition to be deleted
RiceIllegalArgumentException
- if
the id is null or blank.public TermResolverDefinition createTermResolver(TermResolverDefinition termResolver)
TermRepositoryService
TermResolverDefinition
.
createTermResolver
in interface TermRepositoryService
createTermResolver
in interface TermBoService
termResolver
- to be created
TermResolver
after it has been created in the
repository.TermBoService.createTermResolver(org.kuali.rice.krms.api.repository.term.TermResolverDefinition)
public void updateTermResolver(TermResolverDefinition termResolver) throws RiceIllegalArgumentException
TermRepositoryService
TermResolverDefinition
.
updateTermResolver
in interface TermRepositoryService
termResolver
- to be created
RiceIllegalArgumentException
- if
the termResolver is null or blank.public void deleteTermResolver(String id) throws RiceIllegalArgumentException
TermRepositoryService
TermResolverDefinition
with the given id
deleteTermResolver
in interface TermRepositoryService
id
- of the term resolver to be deleted
RiceIllegalArgumentException
- if
the termResolver is null or blank.public TermDefinition getTerm(String id)
TermRepositoryService
TermDefinition
with the given termId.
getTerm
in interface TermRepositoryService
getTerm
in interface TermBoService
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.TermBoService.getTerm(java.lang.String)
public TermResolverDefinition getTermResolverById(String id)
TermRepositoryService
TermResolverDefinition
with the given id.
getTermResolverById
in interface TermRepositoryService
getTermResolverById
in interface TermBoService
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.TermBoService.getTermResolverById(java.lang.String)
public List<TermResolverDefinition> findTermResolversByOutputId(String id, String namespace)
TermBoService
TermResolverDefinition
s for any term resolvers in the specified namespace that have the given
term specification as their output.
findTermResolversByOutputId
in interface TermRepositoryService
findTermResolversByOutputId
in interface TermBoService
id
- the id for the term specificationnamespace
- the namespace to search
public List<TermResolverDefinition> findTermResolversByNamespace(String namespace)
TermRepositoryService
TermResolverDefinition
s for the given namespace.
findTermResolversByNamespace
in interface TermRepositoryService
findTermResolversByNamespace
in interface TermBoService
namespace
- the namespace for which to get all term resolvers.
TermResolverDefinition
s for the given namespace. May be empty, but never null.public TermResolverDefinition getTermResolverByNameAndNamespace(String name, String namespace) throws RiceIllegalArgumentException
TermRepositoryService
TermResolverDefinition
for the given name and namespace
getTermResolverByNameAndNamespace
in interface TermRepositoryService
name
- the name for which to get term resolvernamespace
- the namespace for which to get term resolver
TermResolverDefinition
for the given name and namespace, null if none exist.
RiceIllegalArgumentException
- if the name or namespace is null or blank.public TermSpecificationDefinition getTermSpecificationByNameAndNamespace(String name, String namespace) throws RiceIllegalArgumentException
TermRepositoryService
TermSpecificationDefinition
for the given name and namespace
getTermSpecificationByNameAndNamespace
in interface TermRepositoryService
name
- the name for which to get term specificationnamespace
- the namespace for which to get term resolver
TermSpecificationDefinition
for the given name and namespace, null if none exist.
RiceIllegalArgumentException
- if the name or namespace is null or blank.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |