|
||||||||||
| 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 TermSpecificationDefinitions that are valid for the context with the given contextId. |
List<TermResolverDefinition> |
findTermResolversByNamespace(String namespace)
Retrieves all TermResolverDefinitions 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
TermResolverDefinitions for the given namespace.
namespace - the namespace for which to get all term resolvers.
TermResolverDefinitions 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
TermSpecificationDefinitions that are valid for the context with the given contextId.
contextId - the identifier for the context whose valid TermSpecificationDefinitions are to be retrieved.
TermSpecificationDefinitions 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 | |||||||||