|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGreetingsCardDAO
Interface for GreetingsCardDAO
Method Summary | |
---|---|
void |
delete(java.lang.String strIdGC,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteList(java.lang.String strIdGC,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a list of greetings card |
java.util.Collection<GreetingsCard> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type |
java.util.Collection<GreetingsCard> |
findByGreetingsCardTemplateId(int nIdGreetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of greetings cards of a greetings card template |
java.util.Collection<GreetingsCard> |
findByTemplateAndDate(int nIdGreetingsCardTemplate,
java.util.Date dateMin,
java.util.Date dateMax,
int nResultsLimit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get greetings card with a given template and sent between two given dates |
java.util.Collection<GreetingsCard> |
findCardsToSendNotification(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the collection of greetings cards that has been red and that has the notify sender flag set. |
java.util.List<java.lang.String> |
findDomainNameOfMailSent(GreetingsCardFilter greetingsCardFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of domain name of mail sent |
java.util.Map<java.lang.String,java.lang.Integer> |
findNumberOfMailReadByDomain(GreetingsCardFilter greetingsCardFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of mail red for each domains |
java.util.Map<java.lang.String,java.lang.Integer> |
findNumberOfMailSentByDomain(GreetingsCardFilter greetingsCardFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of mail sent for each domains |
int |
findNumberTotalOfMailSentWithoutCopy(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the total number of cards sent without archives. |
void |
insert(GreetingsCard greetingsCard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
GreetingsCard |
load(java.lang.String strIdGC,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of GreetingsCard from the table |
void |
store(GreetingsCard greetingsCard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Method Detail |
---|
void insert(GreetingsCard greetingsCard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCard
- The Instance of the GreetingsCard objectplugin
- The pluginvoid delete(java.lang.String strIdGC, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdGC
- The indentifier of the object GreetingsCardplugin
- The pluginvoid deleteList(java.lang.String strIdGC, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdGC
- The comma separated list of greetings cards idsplugin
- The pluginGreetingsCard load(java.lang.String strIdGC, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdGC
- The identifier of the object GreetingsCardplugin
- The plugin
void store(GreetingsCard greetingsCard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCard
- The instance of the GreetingsCard to updateplugin
- The pluginjava.util.Collection<GreetingsCard> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
java.util.Collection<GreetingsCard> findByGreetingsCardTemplateId(int nIdGreetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdGreetingsCardTemplate
- The greetings card template identifierplugin
- The plugin
java.util.List<java.lang.String> findDomainNameOfMailSent(GreetingsCardFilter greetingsCardFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardFilter
- The greetings card filterplugin
- The plugin
java.util.Map<java.lang.String,java.lang.Integer> findNumberOfMailSentByDomain(GreetingsCardFilter greetingsCardFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardFilter
- The greetings card filterplugin
- The plugin
int findNumberTotalOfMailSentWithoutCopy(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
java.util.Map<java.lang.String,java.lang.Integer> findNumberOfMailReadByDomain(GreetingsCardFilter greetingsCardFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardFilter
- The greetings card filterplugin
- The plugin
java.util.Collection<GreetingsCard> findCardsToSendNotification(fr.paris.lutece.portal.service.plugin.Plugin plugin)
nStatus
- Statusplugin
- The plugin
java.util.Collection<GreetingsCard> findByTemplateAndDate(int nIdGreetingsCardTemplate, java.util.Date dateMin, java.util.Date dateMax, int nResultsLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdGreetingsCardTemplate
- Id of the template of greetings cardsdateMin
- Minimum sent datedateMax
- Maximum sent datenResultsLimit
- Maximum number of results returned. If the number is 0, then every object is consideredplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |