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

    Modifier and Type
    Method
    Description
    org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation
    createTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.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<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation>
     
    List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation>
    findTypeTypeRelationsByRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType)
     
    List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation>
     
    List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation>
     
    from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
    Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.
    org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation
    getTypeTypeRelation(String typeTypeRelationId)
    Retrieves a TypeTypeRelation from the repository based on the given id.
    org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation
    to(TypeTypeRelationBo typeTypeRelationBo)
    Converts a mutable TypeTypeRelationBo to its immutable counterpart, TypeTypeRelation.
    org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation
    updateTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
    This will update an existing TypeTypeRelation.
  • Method Details

    • createTypeTypeRelation

      org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation createTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.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

      org.kuali.rice.krms.api.repository.typerelation.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

      org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation updateTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.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<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByFromType(String fromTypeId)
    • findTypeTypeRelationsByToType

      List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByToType(String toTypeId)
    • findTypeTypeRelationsByRelationshipType

      List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType)
    • findTypeTypeRelationsBySequenceNumber

      List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsBySequenceNumber(Integer sequenceNumber)
    • to

      org.kuali.rice.krms.api.repository.typerelation.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(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation)
      Converts a immutable TypeTypeRelation to its mutable TypeTypeRelationBo counterpart.
      Parameters:
      typeTypeRelation - the immutable object.
      Returns:
      a TypeTypeRelationBo the mutable TypeTypeRelationBo.