public interface IMailingListDAO
Modifier and Type | Method and Description |
---|---|
boolean |
checkFilter(MailingListUsersFilter filter,
int nId)
Check if the filter already exists or not in the mailing list
|
void |
delete(int nIdMailingList)
Delete a record from the table
|
void |
deleteFilter(MailingListUsersFilter filter,
int nId)
Remove an users filter from the mailing list
|
void |
insert(MailingList mailingList)
Insert a new record in the table.
|
void |
insertFilter(MailingListUsersFilter filter,
int nId)
Add an users filter to the mailing list
|
MailingList |
load(int nKey)
load the data of the right from the table
|
Collection<MailingList> |
selectAll()
Loads the data of all the mailingLists and returns them in form of a collection
|
List<MailingList> |
selectByFilter(MailingListFilter filter)
Select by filter.
|
Collection<MailingList> |
selectByWorkgroup(String strWorkgroup)
Returns all mailing lists having a scope restricted to a given workgroup
|
void |
store(MailingList mailingList)
Update the record in the table
|
void insert(MailingList mailingList)
mailingList
- instance of the MailingList object to inssertvoid store(MailingList mailingList)
mailingList
- the reference of the MailingListvoid delete(int nIdMailingList)
nIdMailingList
- int identifier of the MailingList to deleteMailingList load(int nKey)
nKey
- The identifier of the mailingListCollection<MailingList> selectAll()
Collection<MailingList> selectByWorkgroup(String strWorkgroup)
strWorkgroup
- The workgroupvoid insertFilter(MailingListUsersFilter filter, int nId)
filter
- the filter to addnId
- The Id of the mailing listvoid deleteFilter(MailingListUsersFilter filter, int nId)
filter
- the filter to removenId
- The Id of the mailing listboolean checkFilter(MailingListUsersFilter filter, int nId)
filter
- the filternId
- the id mailing listList<MailingList> selectByFilter(MailingListFilter filter)
filter
- the filterCopyright © 2020 City of Paris. All rights reserved.