public interface SponsorService
Modifier and Type | Method and Description |
---|---|
SponsorContract |
getSponsor(String sponsorCode)
This method will retrieves a
SponsorContract by sponsorCode. |
String |
getSponsorName(String sponsorCode)
This method will retrieves a sponsor name by sponsorCode.
|
boolean |
isValidSponsor(SponsorContract sponsor)
This method determines whether a sponsor object is valid to be a sponsor.
|
SponsorContract getSponsor(String sponsorCode)
SponsorContract
by sponsorCode. The sponsorCode cannot be blank.sponsorCode
- the sponsorCode. Cannot be null.SponsorContract
or null if not found.IllegalArgumentException
- if the sponsorCode is blankString getSponsorName(String sponsorCode)
sponsorCode
- the sponsorCode. Cannot be null.IllegalArgumentException
- if the sponsorCode is blankboolean isValidSponsor(SponsorContract sponsor)
sponsor
- the sponsor to checkCopyright © 2014 The Kuali Foundation. All rights reserved.