org.kuali.rice.krms.impl.repository
Interface TypeTypeRelationBoService

All Known Implementing Classes:
TypeTypeRelationBoServiceImpl

public interface TypeTypeRelationBoService

This is the interface for accessing repository TypeTypeRelationBo related business objects.

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

Method Summary
 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.
 TypeTypeRelation getTypeTypeRelation(String typeTypeRelationId)
          Retrieves a TypeTypeRelation from the repository based on the given id.
 TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
          Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.
 void updateTypeTypeRelation(TypeTypeRelation typeTypeRelation)
          This will update an existing TypeTypeRelation.
 

Method Detail

createTypeTypeRelation

TypeTypeRelation createTypeTypeRelation(TypeTypeRelation typeTypeRelation)
This will create a TypeTypeRelation exactly like the parameter passed in.

Parameters:
typeTypeRelation - The TypeTypeRelation to create.
Returns:
a TypeTypeRelation exactly like the parameter passed in.
Throws:
IllegalArgumentException - if the TypeTypeRelation is null.
IllegalStateException - if the TypeTypeRelation already exists in the system.

getTypeTypeRelation

TypeTypeRelation getTypeTypeRelation(String typeTypeRelationId)
Retrieves a TypeTypeRelation from the repository based on the given id.

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

void updateTypeTypeRelation(TypeTypeRelation typeTypeRelation)
This will update an existing TypeTypeRelation.

Parameters:
typeTypeRelation - The TypeTypeRelation to update.
Throws:
IllegalArgumentException - if the TypeTypeRelation is null.
IllegalStateException - if the TypeTypeRelation does not exists in the system.

deleteTypeTypeRelation

void deleteTypeTypeRelation(String typeTypeRelationId)
Delete the TypeTypeRelation with the given id.

Parameters:
typeTypeRelationId - to delete.
Throws:
IllegalArgumentException - if the TypeTypeRelation is null.
IllegalStateException - if the TypeTypeRelation does not exists in the system

findTypeTypeRelationsByFromType

List<TypeTypeRelation> findTypeTypeRelationsByFromType(String fromTypeId)

findTypeTypeRelationsByToType

List<TypeTypeRelation> findTypeTypeRelationsByToType(String toTypeId)

findTypeTypeRelationsByRelationshipType

List<TypeTypeRelation> findTypeTypeRelationsByRelationshipType(RelationshipType relationshipType)

findTypeTypeRelationsBySequenceNumber

List<TypeTypeRelation> findTypeTypeRelationsBySequenceNumber(Integer sequenceNumber)

to

TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo)
Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.

Parameters:
typeTypeRelationBo - the mutable business object.
Returns:
a TypeTypeRelation the immutable object.

from

TypeTypeRelationBo from(TypeTypeRelation typeTypeRelation)
Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.

Parameters:
typeTypeRelation - the immutable object.
Returns:
a TypeTypeRelationBo the mutable TypeTypeRelationBo.


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