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

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

public final class TypeTypeRelationBoServiceImpl
extends Object
implements TypeTypeRelationBoService

Implementation of the @{link TypeTypeRelationBoService} interface for accessing TypeTypeRelationBo related business objects.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
TypeTypeRelationBoServiceImpl()
           
 
Method Summary
 List<TypeTypeRelation> convertBosToImmutables(Collection<TypeTypeRelationBo> typeTypeRelationBos)
           
 TypeTypeRelation createTypeTypeRelation(TypeTypeRelation typeTypeRelation)
          This will create a TypeTypeRelation exactly like the parameter passed in.
 void deleteTypeTypeRelation(String typeTypeRelationId)
          Delete the TypeTypeRelation with the given id.
 List<TypeTypeRelation> findTypeTypeRelationsByFromType(String fromTypeId)
           
 List<TypeTypeRelation> findTypeTypeRelationsByRelationshipType(RelationshipType relationshipType)
           
 List<TypeTypeRelation> findTypeTypeRelationsBySequenceNumber(Integer sequenceNumber)
           
 List<TypeTypeRelation> findTypeTypeRelationsByToType(String toTypeId)
           
 TypeTypeRelationBo from(TypeTypeRelation typeTypeRelation)
          Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.
 KrmsAttributeDefinitionService getAttributeDefinitionService()
           
 TypeTypeRelation getTypeTypeRelation(String typeTypeRelationId)
          Retrieves a TypeTypeRelation from the repository based on the given id.
 void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
           
 void setBusinessObjectService(BusinessObjectService businessObjectService)
          Sets the value of BusinessObjectService to the given value.
 TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
          Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.
 void updateTypeTypeRelation(TypeTypeRelation typeTypeRelation)
          This will update an existing TypeTypeRelation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeTypeRelationBoServiceImpl

public TypeTypeRelationBoServiceImpl()
Method Detail

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the value of BusinessObjectService to the given value.

Parameters:
businessObjectService - the BusinessObjectService value to set.

setAttributeDefinitionService

public void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)

getAttributeDefinitionService

public KrmsAttributeDefinitionService getAttributeDefinitionService()

createTypeTypeRelation

public TypeTypeRelation createTypeTypeRelation(TypeTypeRelation typeTypeRelation)
Description copied from interface: TypeTypeRelationBoService
This will create a TypeTypeRelation exactly like the parameter passed in.

Specified by:
createTypeTypeRelation in interface TypeTypeRelationBoService
Parameters:
typeTypeRelation - The TypeTypeRelation to create.
Returns:
a TypeTypeRelation exactly like the parameter passed in.

getTypeTypeRelation

public TypeTypeRelation getTypeTypeRelation(String typeTypeRelationId)
Description copied from interface: TypeTypeRelationBoService
Retrieves a TypeTypeRelation from the repository based on the given id.

Specified by:
getTypeTypeRelation in interface TypeTypeRelationBoService
Parameters:
typeTypeRelationId - to retrieve.
Returns:
a TypeTypeRelation identified by the given id. A null reference is returned if an invalid or non-existent id is supplied.

updateTypeTypeRelation

public void updateTypeTypeRelation(TypeTypeRelation typeTypeRelation)
Description copied from interface: TypeTypeRelationBoService
This will update an existing TypeTypeRelation.

Specified by:
updateTypeTypeRelation in interface TypeTypeRelationBoService
Parameters:
typeTypeRelation - The TypeTypeRelation to update.

deleteTypeTypeRelation

public void deleteTypeTypeRelation(String typeTypeRelationId)
Description copied from interface: TypeTypeRelationBoService
Delete the TypeTypeRelation with the given id.

Specified by:
deleteTypeTypeRelation in interface TypeTypeRelationBoService
Parameters:
typeTypeRelationId - to delete.

findTypeTypeRelationsByFromType

public List<TypeTypeRelation> findTypeTypeRelationsByFromType(String fromTypeId)
Specified by:
findTypeTypeRelationsByFromType in interface TypeTypeRelationBoService

findTypeTypeRelationsByToType

public List<TypeTypeRelation> findTypeTypeRelationsByToType(String toTypeId)
Specified by:
findTypeTypeRelationsByToType in interface TypeTypeRelationBoService

findTypeTypeRelationsByRelationshipType

public List<TypeTypeRelation> findTypeTypeRelationsByRelationshipType(RelationshipType relationshipType)
Specified by:
findTypeTypeRelationsByRelationshipType in interface TypeTypeRelationBoService

findTypeTypeRelationsBySequenceNumber

public List<TypeTypeRelation> findTypeTypeRelationsBySequenceNumber(Integer sequenceNumber)
Specified by:
findTypeTypeRelationsBySequenceNumber in interface TypeTypeRelationBoService

convertBosToImmutables

public List<TypeTypeRelation> convertBosToImmutables(Collection<TypeTypeRelationBo> typeTypeRelationBos)

to

public TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
Description copied from interface: TypeTypeRelationBoService
Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.

Specified by:
to in interface TypeTypeRelationBoService
Parameters:
typeTypeRelationBo - the mutable business object.
Returns:
a TypeTypeRelation the immutable object.

from

public TypeTypeRelationBo from(TypeTypeRelation typeTypeRelation)
Description copied from interface: TypeTypeRelationBoService
Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.

Specified by:
from in interface TypeTypeRelationBoService
Parameters:
typeTypeRelation - the immutable object.
Returns:
a TypeTypeRelationBo the mutable TypeTypeRelationBo.


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