org.kuali.rice.kim.impl.type
Class KimTypeInfoServiceImpl

java.lang.Object
  extended by org.kuali.rice.kim.impl.type.KimTypeInfoServiceImpl
All Implemented Interfaces:
KimTypeInfoService

public class KimTypeInfoServiceImpl
extends Object
implements KimTypeInfoService


Constructor Summary
KimTypeInfoServiceImpl()
           
 
Method Summary
 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.
 void setBusinessObjectService(BusinessObjectService businessObjectService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KimTypeInfoServiceImpl

public KimTypeInfoServiceImpl()
Method Detail

getKimType

public KimType getKimType(String id)
                   throws RiceIllegalArgumentException
Description copied from interface: KimTypeInfoService
Gets a KimType from a kim type id.

This method will return null if the kim type does not exist.

Specified by:
getKimType in interface KimTypeInfoService
Parameters:
id - the id to retrieve the kim type by. cannot be null.
Returns:
a KimType or null
Throws:
RiceIllegalArgumentException - if the id is null

findKimTypeByNameAndNamespace

public KimType findKimTypeByNameAndNamespace(String namespaceCode,
                                             String name)
                                      throws RiceIllegalArgumentException
Description copied from interface: KimTypeInfoService
Gets a 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.

Specified by:
findKimTypeByNameAndNamespace in interface KimTypeInfoService
Parameters:
namespaceCode - the namespaceCode to retrieve the kim type by. cannot be null.
name - the name to retrieve the kim type by. cannot be null.
Returns:
a KimType or null
Throws:
RiceIllegalArgumentException - if the namespaceCode or name is null

findAllKimTypes

public Collection<KimType> findAllKimTypes()
Description copied from interface: KimTypeInfoService
Gets all the KimTypes.

This method will always return an immutable Collection even when no values exist.

This method will only return active kim types.

Specified by:
findAllKimTypes in interface KimTypeInfoService
Returns:
an immutable collection of kim types

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.