|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceKeyDAO
IResourceKeyDAO Interface
| Method Summary | |
|---|---|
void |
addEmptyKeys(int nPluginId,
java.util.ArrayList<java.lang.String> listKeys,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Persists the i18n keys |
void |
delete(int nIdResourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes all the resources from a Plugin |
void |
insert(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
boolean |
isEmpty(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verifies if the keys have been generated for the plugin |
boolean |
isValid(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns true if resource key is valid |
ResourceKey |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
java.util.Collection<ResourceKey> |
selectResourceKeysList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a list of resource keys |
java.util.Collection<ResourceKey> |
selectResourceKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the resourceKey objects and returns them as a collection |
void |
store(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceKey - instance of the ResourceKey object to inssertplugin - the Plugin
void store(ResourceKey resourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceKey - the reference of the ResourceKeyplugin - the Plugin
void delete(int nIdResourceKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResourceKey - int identifier of the ResourceKey to deleteplugin - the Plugin
ResourceKey load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the ressource keyplugin - the Plugin
java.util.Collection<ResourceKey> selectResourceKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
java.util.Collection<ResourceKey> selectResourceKeysList(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The id of the pluginplugin - The Plugin
boolean isValid(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The id of the generated pluginplugin - The Plugin
void addEmptyKeys(int nPluginId,
java.util.ArrayList<java.lang.String> listKeys,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The plugin idlistKeys - The list of i18n keysplugin - The plugin
boolean isEmpty(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The id of the generated pluginplugin - The plugin
void deleteByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId - The generated plugin idplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||