public interface IDatabaseResourceTypeDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME
The name of the bean of the DAO
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a resource type from the database
|
List<DatabaseResourceType> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of resource types
|
DatabaseResourceType |
findByPrimaryKey(String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a resource from its primary key
|
List<String> |
getResourceTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of resource type names
|
void |
insert(DatabaseResourceType resourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert a new resource type into the database
|
void |
update(DatabaseResourceType resourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates a resource type
|
static final String BEAN_NAME
void insert(DatabaseResourceType resourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceType - The resource type to createsplugin - The pluginvoid update(DatabaseResourceType resourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceType - The resourceplugin - The pluginvoid delete(String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - the name of the resource typeplugin - the pluginDatabaseResourceType findByPrimaryKey(String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - the id of the resourceplugin - The pluginList<DatabaseResourceType> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginCopyright © 2021 City of Paris. All rights reserved.