Interface IMappingDAO
-
- All Known Implementing Classes:
MappingDAO
public interface IMappingDAOFiles2Docs Mapping interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Deletes a record from the tablevoidinsert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)Inserts a new record in the tableMappingload(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Loads the data of the mapping from the tablejava.util.Collection<Mapping>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Loads the data of all the mappingMappingselectByDocumentTypeCode(java.lang.String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)Loads the data of the mapping filtered by document type codevoidstore(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)Updates the record in the table
-
-
-
Method Detail
-
selectAll
java.util.Collection<Mapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the mapping- Parameters:
plugin- The plugin- Returns:
- A collection which contains the data of all the mapping
-
insert
void insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts a new record in the table- Parameters:
mapping- Instance of the Mapping object to insertplugin- The plugin
-
load
Mapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping from the table- Parameters:
nMappingId- The mapping identifierplugin- The plugin- Returns:
- The instance of the Mapping
-
store
void store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the record in the table- Parameters:
mapping- The reference of the mappingplugin- The plugin
-
delete
void delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Deletes a record from the table- Parameters:
nMappingId- The mapping identifierplugin- The plugin
-
selectByDocumentTypeCode
Mapping selectByDocumentTypeCode(java.lang.String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping filtered by document type code- Parameters:
strDocumentTypeCode- The document type codeplugin- The plugin- Returns:
- The instance of the Mapping
-
-