|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.model.PluginPortletDAO
public final class PluginPortletDAO
This class provides Data Access methods for PluginPortlet objects
| Constructor Summary | |
|---|---|
PluginPortletDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPluginPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
PluginPortlet |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the pluginPortlet from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.Collection<PluginPortlet> |
selectPluginPortletsList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of portlets associated to the generated plugin |
java.util.Collection<PluginPortlet> |
selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginPortlets and returns them as a collection |
void |
store(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the 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 PluginPortletDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPluginPortletDAOpluginPortlet - instance of the PluginPortlet object to insertplugin - The plugin
public PluginPortlet load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPluginPortletDAOnId - The identifier of the pluginPortletplugin - The plugin
public void delete(int nPluginPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPluginPortletDAOnPluginPortletId - The identifier of the pluginPortletplugin - The plugin
public void store(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPluginPortletDAOpluginPortlet - The reference of the pluginPortletplugin - The pluginpublic java.util.Collection<PluginPortlet> selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginPortletsList in interface IPluginPortletDAOplugin - The plugin
public java.util.Collection<PluginPortlet> selectPluginPortletsList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginPortletsList in interface IPluginPortletDAOnPluginId - The identifier of the generated pluginplugin - The Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||