public interface SenderDao
Modifier and Type | Method and Description |
---|---|
List<Sender> |
findAllSenders()
Find and return all available
Sender objects, useful for opt-in/opt-out preferences. |
List<Sender> |
findAllUnhiddenSenders()
Find and return all available
Sender objects, useful for opt-in/opt-out preferences. |
Sender |
findSenderById(long id)
Find and return
Sender object, using Id as search criteria. |
Sender |
findSenderByName(String name)
Find and return
Sender object, using Name as search criteria. |
Sender |
findSenderBySenderKey(String senderKey)
Find and return
Sender object, using SenderKey as search criteria. |
Sender |
findSenderByShortName(String shortName)
Find and return
Sender object, using ShortName as search criteria. |
boolean |
isValidSenderKey(String senderKey)
Determine validity/availability of the senderKey.
|
boolean |
removeSender(Sender sender)
Removes a
Sender object. |
void |
saveSender(Sender sender)
Persists a
Sender object. |
void saveSender(Sender sender)
Sender
object.sender
- Sender to persist.boolean removeSender(Sender sender)
Sender
object.sender
- Sender to remove.boolean isValidSenderKey(String senderKey)
senderKey
- SenderKey to determine if valid.List<Sender> findAllSenders()
Sender
objects, useful for opt-in/opt-out preferences.Sender
objects.List<Sender> findAllUnhiddenSenders()
Sender
objects, useful for opt-in/opt-out preferences.Sender
objects whom are not set to be hidden.Sender findSenderById(long id)
Sender
object, using Id as search criteria.id
- Id for the Sender
to find.Sender
as determined by id.Sender findSenderByName(String name)
Sender
object, using Name as search criteria.name
- Name of the Sender
to find.Sender
as determined by Name.Sender findSenderByShortName(String shortName)
Sender
object, using ShortName as search criteria.shortName
- ShortName for the Sender
to find.Sender
as determined by ShortName.Sender findSenderBySenderKey(String senderKey)
Sender
object, using SenderKey as search criteria.senderKey
- SenderKey for the Sender
to find.Sender
as determined by SenderKey.Copyright © 2011–2014 The Kuali Foundation. All rights reserved.