|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContactListDAO
IContactDAO Interface
| Method Summary | |
|---|---|
void |
assign(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts 2 keys in association table |
int |
countContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
counts how many contacts are associated to the specified list |
int |
countListsForContact(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
counts how many lists the contact is associated to |
void |
delete(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(ContactList contactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
boolean |
isAssigned(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
returns true if a contact is assigned to a list |
boolean |
listExists(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns true if the contactList exists |
ContactList |
load(int nContactListId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Contact from the table |
int |
maxOrderContact(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate the new max order |
java.util.Collection<ContactList> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of contactsList |
java.util.Collection<ContactList> |
selectAssignedListsFor(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects assigned lists for a contact |
java.util.Collection<Contact> |
selectContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects all contacts associated to a specified list |
int |
selectIdByOrder(int nContactOrder,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a contact identifier in a distinct order |
java.util.Collection<Contact> |
selectNotAssignedContactsFor(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects the list of all contacts that are not assigned to the specified list |
java.util.Collection<ContactList> |
selectNotAssignedListsFor(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selects all lists, the contact is not associated to |
int |
selectOrderById(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a contact identifier in a distinct order |
void |
store(ContactList contactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
void |
storeContactOrder(int nNewOrder,
int nId,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a contact |
void |
unAssign(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Unassigns a contact of a list, or a list of a contact |
void |
unassignContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Unassigns all contacts for a specified list |
void |
unassignListsForContact(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Unassigns all contacts for a specified list |
| Method Detail |
|---|
void insert(ContactList contactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
contactList - the instance of contactList to insert into DBplugin - the plugin contact
ContactList load(int nContactListId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nContactListId - the Id of the contactList to loadplugin - the plugin contact
void delete(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactlist to deleteplugin - The plugin
void store(ContactList contactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
contactList - The reference of contactListplugin - The pluginjava.util.Collection<ContactList> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin
int countContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the Id of contactListplugin - the plugin contact
java.util.Collection<Contact> selectContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListplugin - the plugin contact
boolean isAssigned(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - The id of the contactnIdContactList - The id of the contactListplugin - the plugin contact
void assign(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - The id of the contactnIdContactList - The contact List that will be associatedplugin - The plugin
void unAssign(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of the contactnIdContactList - the id of the contactListplugin - The plugin
java.util.Collection<Contact> selectNotAssignedContactsFor(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of the contact Listplugin - the plugin contact
java.util.Collection<ContactList> selectAssignedListsFor(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of the contactplugin - the plugin contact
java.util.Collection<ContactList> selectNotAssignedListsFor(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of the contactplugin - the plugin contact
void unassignContactsForList(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactlistplugin - the plugin contact
void storeContactOrder(int nNewOrder,
int nId,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListnNewOrder - The order numbernId - The contact identifierplugin - The plugin
int selectIdByOrder(int nContactOrder,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListnContactOrder - The order numberplugin - The plugin
int maxOrderContact(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListplugin - The plugin
void unassignListsForContact(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of contactplugin - the plugin contact
int selectOrderById(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of contactnIdContactList - the id of the contact Listplugin - The plugin
int countListsForContact(int nIdContact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the Id of concerned contactplugin - the plugin contact
boolean listExists(int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - The if of contactListplugin - The Plugin object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||