|
||||||||||
| 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.PortletDAO
public final class PortletDAO
This class provides Data Access methods for PluginPortlet objects
| Constructor Summary | |
|---|---|
PortletDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPluginPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteByPlugin(int nIdPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete portlets from a given plugin |
void |
insert(Portlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Portlet |
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 |
Collection<Portlet> |
selectPluginPortletsList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of portlets associated to the generated plugin |
Collection<Portlet> |
selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginPortlets and returns them as a collection |
void |
store(Portlet 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 PortletDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Portlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPortletDAOpluginPortlet - instance of the PluginPortlet object to insertplugin - The plugin
public Portlet load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPortletDAOnId - The identifier of the pluginPortletplugin - The plugin
public void delete(int nPluginPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPortletDAOnPluginPortletId - The identifier of the pluginPortletplugin - The plugin
public void deleteByPlugin(int nIdPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByPlugin in interface IPortletDAOnIdPortlet - The identifier of the pluginplugin - The plugin
public void store(Portlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPortletDAOpluginPortlet - The reference of the pluginPortletplugin - The pluginpublic Collection<Portlet> selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginPortletsList in interface IPortletDAOplugin - The plugin
public Collection<Portlet> selectPluginPortletsList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginPortletsList in interface IPortletDAOnPluginId - The identifier of the generated pluginplugin - The Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||