|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceStatDAO
Interface IResourceStatDAO
| Method Summary | |
|---|---|
void |
delete(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the ResourceStat whose identifier are specified in parameters |
int |
getDownloadCountByResource(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the count of resource download whose resource identifier and resource type are specified in parameters |
int |
getScore(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the score of a resource whose resource identifier and resource type are specified in parameters |
void |
insert(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
ResourceStat |
load(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the resourceStat from the table |
void |
store(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table. |
| Method Detail |
|---|
void insert(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceStat - instance of the ResourceStat object to insertplugin - the plugin
void store(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceStat - instance of the ResourceStat object to updateplugin - the plugin
ResourceStat load(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - the type of the resourcenIdResource - the id of the resourceplugin - the Plugin
void delete(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - The type of the resourcenIdResource - the id of the resourceplugin - the Plugin
int getDownloadCountByResource(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - the type of the resourcenIdResource - the id of the resourceplugin - the Plugin
int getScore(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - the type of the resourcenIdResource - the id of the resourceplugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||