|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rating.business.ResourceStatHome
public final class ResourceStatHome
class ResourceStatHome
| Method Summary | |
|---|---|
static void |
create(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of downloadStat |
static ResourceStat |
findResourceStat(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of ResourceStat whose resource type and resource identifier are specified in parameters |
static 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 |
static 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 |
static void |
remove(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the ResourceStat whose identifier are specified in parameters |
static void |
update(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void create(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceStat - The instance of the ResourceStat which contains the informations to storeplugin - the Plugin
public static void update(ResourceStat resourceStat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceStat - instance of the ResourceStat object to updateplugin - the plugin
public static void remove(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
public static ResourceStat findResourceStat(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
public static 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
public static 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 | |||||||||