|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TermRepositoryService
The TermRepositoryService provides the basic access to terms and term resolvers in the repository needed for executing rules.
Method Summary | |
---|---|
List<TermSpecificationDefinition> |
findAllTermSpecificationsByContextId(String contextId)
Retrieves all the TermSpecificationDefinition s that are valid for the context with the given contextId. |
List<TermResolverDefinition> |
findTermResolversByNamespace(String namespace)
Retrieves all TermResolverDefinition s for the given namespace. |
TermDefinition |
getTerm(String termId)
Retrieves the TermDefinition with the given termId. |
Method Detail |
---|
@Cacheable(value="http://rice.kuali.org/krms/v2_0/termResolverDefinitionType", key="\'namespace=\' + #p0") List<TermResolverDefinition> findTermResolversByNamespace(String namespace) throws RiceIllegalArgumentException
TermResolverDefinition
s for the given namespace.
namespace
- the namespace for which to get all term resolvers.
TermResolverDefinition
s for the given namespace. May be empty, but never null.
RiceIllegalArgumentException
- if the namespace is null or blank.@Cacheable(value="http://rice.kuali.org/krms/v2_0/termDefinitionType", key="\'id=\' + #p0") TermDefinition getTerm(String termId) throws RiceIllegalArgumentException
TermDefinition
with the given termId.
termId
- 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.
RiceIllegalArgumentException
- if the termId is null or blank.@Cacheable(value="http://rice.kuali.org/krms/v2_0/TermSpecificationType", key="\'id=\' + #p0") List<TermSpecificationDefinition> findAllTermSpecificationsByContextId(String contextId) throws RiceIllegalArgumentException
TermSpecificationDefinition
s that are valid for the context with the given contextId.
contextId
- the identifier for the context whose valid TermSpecificationDefinition
s are to be retrieved.
TermSpecificationDefinition
s that are valid for the context with the given contextId. May be empty but never null
RiceIllegalArgumentException
- if the contextId is null or blank.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |