org.jasig.schedassist
Interface RelationshipDao

All Known Subinterfaces:
MutableRelationshipDao

public interface RelationshipDao

Interface defining operations for retrieving Relationships for IScheduleOwners and IScheduleVisitors.

Version:
$Id: RelationshipDao.java 1900 2010-04-14 21:09:03Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Method Summary
 List<Relationship> forOwner(IScheduleOwner owner)
          Return a List of Relationships with the specified IScheduleOwner.
 List<Relationship> forVisitor(IScheduleVisitor visitor)
          Return a List of Relationships with the specified IScheduleVisitor.
 

Method Detail

forOwner

List<Relationship> forOwner(IScheduleOwner owner)
Return a List of Relationships with the specified IScheduleOwner. Do not return null; if there are no results for specified owner return an empty List.

Parameters:
owner -
Returns:
a never null, but possibly empty, List of Relationships including the IScheduleOwner.

forVisitor

List<Relationship> forVisitor(IScheduleVisitor visitor)
Return a List of Relationships with the specified IScheduleVisitor. Do not return null; if there are no results for specified visitor return an empty List.

Parameters:
visitor -
Returns:
a never null, but possibly empty, List of Relationships including the IScheduleVisitor.


Copyright © 2012 Jasig. All Rights Reserved.