|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rating.business.ResourceConfDAO
public class ResourceConfDAO
class ResourceConfDAO
| Constructor Summary | |
|---|---|
ResourceConfDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the ResourceConf whose identifier are specified in parameters |
java.util.List<java.lang.String> |
getResourceTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets the list of resource types |
void |
insert(ResourceConf resourceConf,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
ResourceConf |
load(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the resource conf by the resource type and the resource identifier |
void |
store(ResourceConf resourceConf,
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 |
| Constructor Detail |
|---|
public ResourceConfDAO()
| Method Detail |
|---|
public void insert(ResourceConf resourceConf,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IResourceConfDAOresourceConf - instance of the ResourceConf object to insertplugin - the plugin
public ResourceConf load(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IResourceConfDAOstrResourceType - the type of the resourcenIdResource - the id of the resourceplugin - the Plugin
public void store(ResourceConf resourceConf,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IResourceConfDAOresourceConf - instance of the ResourceConf object to updateplugin - the plugin
public void delete(java.lang.String strResourceType,
int nIdResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IResourceConfDAOstrResourceType - The type of the resourcenIdResource - the id of the resourceplugin - the Pluginpublic java.util.List<java.lang.String> getResourceTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getResourceTypes in interface IResourceConfDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||