|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMailingListDAO
IMailingListDAO Interface
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 mailingList
Collection<MailingList> selectAll()
Collection<MailingList> selectByWorkgroup(String strWorkgroup)
strWorkgroup
- The workgroup
void 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 list
List<MailingList> selectByFilter(MailingListFilter filter)
filter
- the filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |