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 TypeMethodDescriptionorg.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationcreateTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation) This will create aTypeTypeRelationexactly like the parameter passed in.voiddeleteTypeTypeRelation(String typeTypeRelationId) Delete theTypeTypeRelationwith the given id.List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByFromType(String fromTypeId) 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> findTypeTypeRelationsBySequenceNumber(Integer sequenceNumber) List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByToType(String toTypeId) from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation) Converts a immutableTypeTypeRelationto its mutableTypeTypeRelationBocounterpart.org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationgetTypeTypeRelation(String typeTypeRelationId) Retrieves a TypeTypeRelation from the repository based on the given id.org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationto(TypeTypeRelationBo typeTypeRelationBo) Converts a mutableTypeTypeRelationBoto its immutable counterpart,TypeTypeRelation.org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelationupdateTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation) This will update an existingTypeTypeRelation.
-
Method Details
-
createTypeTypeRelation
org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation createTypeTypeRelation(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation) This will create aTypeTypeRelationexactly like the parameter passed in.- Parameters:
typeTypeRelation- The TypeTypeRelation to create.- Returns:
- a
TypeTypeRelationexactly 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
TypeTypeRelationidentified 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 existingTypeTypeRelation.- Parameters:
typeTypeRelation- The TypeTypeRelation to update.- Throws:
IllegalArgumentException- if the TypeTypeRelation is null.IllegalStateException- if the TypeTypeRelation does not exists in the system.
-
deleteTypeTypeRelation
Delete theTypeTypeRelationwith 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
-
findTypeTypeRelationsByToType
-
findTypeTypeRelationsByRelationshipType
List<org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation> findTypeTypeRelationsByRelationshipType(org.kuali.rice.krms.api.repository.typerelation.RelationshipType relationshipType) -
findTypeTypeRelationsBySequenceNumber
-
to
org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation to(TypeTypeRelationBo typeTypeRelationBo) Converts a mutableTypeTypeRelationBoto its immutable counterpart,TypeTypeRelation.- Parameters:
typeTypeRelationBo- the mutable business object.- Returns:
- a
TypeTypeRelationthe immutable object.
-
from
TypeTypeRelationBo from(org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation typeTypeRelation) Converts a immutableTypeTypeRelationto its mutableTypeTypeRelationBocounterpart.- Parameters:
typeTypeRelation- the immutable object.- Returns:
- a
TypeTypeRelationBothe mutable TypeTypeRelationBo.
-