public interface KimTypeInfoService
| Modifier and Type | Method and Description |
|---|---|
Collection<KimType> |
findAllKimTypes()
Gets all the
KimTypes. |
KimType |
findKimTypeByNameAndNamespace(String namespaceCode,
String name)
Gets a
KimType from a kim type name and namespace code. |
KimType |
getKimType(String id)
Gets a
KimType from a kim type id. |
@Cacheable(value="http://rice.kuali.org/kim/v2_0/KimTypeType",
key="\'id=\' + #p0")
KimType getKimType(String id)
throws RiceIllegalArgumentException
KimType from a kim type id.
This method will return null if the kim type does not exist.
id - the id to retrieve the kim type by. cannot be null.KimType or nullRiceIllegalArgumentException - if the id is null@Cacheable(value="http://rice.kuali.org/kim/v2_0/KimTypeType",
key="\'namespaceCode=\' + #p0 + \'|\' + \'name=\' + #p1")
KimType findKimTypeByNameAndNamespace(String namespaceCode,
String name)
throws RiceIllegalArgumentException
KimType from a kim type name and namespace code.
This method will return null if the kim type does not exist.
This method will only return active kim types.
namespaceCode - the namespaceCode to retrieve the kim type by. cannot be null.name - the name to retrieve the kim type by. cannot be null.KimType or nullRiceIllegalArgumentException - if the namespaceCode or name is nullIllegalStateException - if multiple active results are found for a namespaceCode and name@Cacheable(value="http://rice.kuali.org/kim/v2_0/KimTypeType",
key="\'all\'")
Collection<KimType> findAllKimTypes()
KimTypes.
This method will always return an immutable Collection even when no values exist.
This method will only return active kim types.
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.