|
||||||||||
| 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.ResourceKeyDAO
public final class ResourceKeyDAO
This class provides Data Access methods for ResourceKey objects
| Constructor Summary | |
|---|---|
ResourceKeyDAO()
|
|
| Method Summary | |
|---|---|
void |
deleteAllByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all records from the table |
void |
deleteByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all resources related to plugin record from the table |
void |
insert(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<ResourceKey> |
selectResourceKeysList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the resource keys related to a generated plugin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceKeyDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IResourceKeyDAOresourceKey - instance of the ResourceKey object to insertplugin - The plugin
public void deleteAllByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The identifier of the resourceKeyplugin - The plugin
public Collection<ResourceKey> selectResourceKeysList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectResourceKeysList in interface IResourceKeyDAOnPluginId - The identifier of the pluginplugin - The plugin
public void deleteByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByPlugin in interface IResourceKeyDAOnPluginId - The identifier of the pluginplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||