org.kuali.rice.krms.impl.repository
Class KrmsAttributeDefinitionServiceImpl

java.lang.Object
  extended by org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionServiceImpl
All Implemented Interfaces:
KrmsAttributeDefinitionService

public final class KrmsAttributeDefinitionServiceImpl
extends Object
implements KrmsAttributeDefinitionService


Constructor Summary
KrmsAttributeDefinitionServiceImpl()
           
 
Method Summary
 void createAttributeDefinition(KrmsAttributeDefinition attributeDefinition)
          This will create a KrmsAttributeDefinition exactly like the parameter passed in.
 List<KrmsAttributeDefinition> findAllAttributeDefinitions()
          Returns all KrmsAttributeDefinitions
 List<KrmsAttributeDefinition> findAttributeDefinitionsByNamespace(String namespace)
          Returns all KrmsAttributeDefinition that for a given namespace.
 KrmsAttributeDefinition getAttributeDefinitionById(String id)
          Lookup a KrmsAttributeDefinition based on the given id.
 KrmsAttributeDefinition getAttributeDefinitionByNameAndNamespace(String name, String namespace)
          Get a KrmsAttributeDefinition object based on name and namespace
 void setBusinessObjectService(BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void updateAttributeDefinition(KrmsAttributeDefinition attributeDefinition)
          This will update a KrmsAttributeDefinition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrmsAttributeDefinitionServiceImpl

public KrmsAttributeDefinitionServiceImpl()
Method Detail

createAttributeDefinition

public void createAttributeDefinition(KrmsAttributeDefinition attributeDefinition)
Description copied from interface: KrmsAttributeDefinitionService
This will create a KrmsAttributeDefinition exactly like the parameter passed in.

Specified by:
createAttributeDefinition in interface KrmsAttributeDefinitionService
Parameters:
attributeDefinition - - KrmsAttributeDefinition

updateAttributeDefinition

public void updateAttributeDefinition(KrmsAttributeDefinition attributeDefinition)
Description copied from interface: KrmsAttributeDefinitionService
This will update a KrmsAttributeDefinition.

Specified by:
updateAttributeDefinition in interface KrmsAttributeDefinitionService
Parameters:
attributeDefinition - - KrmsAttributeDefinition

getAttributeDefinitionById

public KrmsAttributeDefinition getAttributeDefinitionById(String id)
Description copied from interface: KrmsAttributeDefinitionService
Lookup a KrmsAttributeDefinition based on the given id.

Specified by:
getAttributeDefinitionById in interface KrmsAttributeDefinitionService
Parameters:
id - the given KrmsAttributeDefinition id
Returns:
a KrmsAttributeDefinition object with the given id. A null reference is returned if an invalid or non-existant id is supplied.

getAttributeDefinitionByNameAndNamespace

public KrmsAttributeDefinition getAttributeDefinitionByNameAndNamespace(String name,
                                                                        String namespace)
Description copied from interface: KrmsAttributeDefinitionService
Get a KrmsAttributeDefinition object based on name and namespace

Specified by:
getAttributeDefinitionByNameAndNamespace in interface KrmsAttributeDefinitionService
Parameters:
name - the given name
namespace - the given type namespace
Returns:
A KrmsAttributeDefinition object with the given namespace and name if one with that name and namespace exists. Otherwise, null is returned.

findAttributeDefinitionsByNamespace

public List<KrmsAttributeDefinition> findAttributeDefinitionsByNamespace(String namespace)
Description copied from interface: KrmsAttributeDefinitionService
Returns all KrmsAttributeDefinition that for a given namespace.

Specified by:
findAttributeDefinitionsByNamespace in interface KrmsAttributeDefinitionService
Returns:
all KrmsAttributeDefinition for a namespace

findAllAttributeDefinitions

public List<KrmsAttributeDefinition> findAllAttributeDefinitions()
Description copied from interface: KrmsAttributeDefinitionService
Returns all KrmsAttributeDefinitions

Specified by:
findAllAttributeDefinitions in interface KrmsAttributeDefinitionService
Returns:
all KrmsAttributeDefinitions

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.