org.jasig.schedassist
Interface ICalendarAccountDao


public interface ICalendarAccountDao

Interface for retrieving ICalendarAccount objects.

Version:
$Id: ICalendarAccountDao.java 2006 2010-04-26 15:15:26Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Method Summary
 ICalendarAccount getCalendarAccount(String username)
          Locate a ICalendarAccount by username.
 ICalendarAccount getCalendarAccount(String attributeName, String attributeValue)
          Locate a ICalendarAccount by listed attributeName and attributeValue.
 ICalendarAccount getCalendarAccountFromUniqueId(String calendarUniqueId)
          Locate a ICalendarAccount by unique id in the calendar system.
 List<ICalendarAccount> searchForCalendarAccounts(String searchText)
          Return 0 or more ICalendarAccounts that correspond with the searchText argument.
 

Method Detail

getCalendarAccount

ICalendarAccount getCalendarAccount(String username)
Locate a ICalendarAccount by username.

Parameters:
username -
Returns:
the corresponding account, or null if not found.

getCalendarAccountFromUniqueId

ICalendarAccount getCalendarAccountFromUniqueId(String calendarUniqueId)
Locate a ICalendarAccount by unique id in the calendar system.

Parameters:
calendarUniqueId -
Returns:
the corresponding account, or null if not found.

getCalendarAccount

ICalendarAccount getCalendarAccount(String attributeName,
                                    String attributeValue)
Locate a ICalendarAccount by listed attributeName and attributeValue.

Parameters:
attributeName -
attributeValue -
Returns:
the corresponding account, or null if not found.

searchForCalendarAccounts

List<ICalendarAccount> searchForCalendarAccounts(String searchText)
Return 0 or more ICalendarAccounts that correspond with the searchText argument. Never returns null; will return an empty List if no users match.

Parameters:
searchText -
Returns:
a never null, but possibly empty List of matching ICalendarAccounts.


Copyright © 2012 Jasig. All Rights Reserved.