|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.LocalizationKeyDAO
public final class LocalizationKeyDAO
This class provides Data Access methods for LocalizationKey objects
| Constructor Summary | |
|---|---|
LocalizationKeyDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nLocalizationKeyId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(LocalizationKey localizationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
LocalizationKey |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the localizationKey from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<LocalizationKey> |
selectLocalizationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the localizationKeys and returns them as a collection |
void |
store(LocalizationKey localizationKey,
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 LocalizationKeyDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(LocalizationKey localizationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ILocalizationKeyDAOlocalizationKey - instance of the LocalizationKey object to insertplugin - The plugin
public LocalizationKey load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ILocalizationKeyDAOnId - The identifier of the localizationKeyplugin - The plugin
public void delete(int nLocalizationKeyId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ILocalizationKeyDAOnLocalizationKeyId - The identifier of the localizationKeyplugin - The plugin
public void store(LocalizationKey localizationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ILocalizationKeyDAOlocalizationKey - The reference of the localizationKeyplugin - The pluginpublic Collection<LocalizationKey> selectLocalizationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectLocalizationKeysList in interface ILocalizationKeyDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||