Interface IMappingDAO
- All Known Implementing Classes:
MappingDAO
public interface IMappingDAO
Files2Docs Mapping interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Deletes a record from the tablevoidInserts a new record in the tableload(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads the data of the mapping from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads the data of all the mappingselectByDocumentTypeCode(String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads the data of the mapping filtered by document type codevoidUpdates the record in the table
-
Method Details
-
selectAll
Loads the data of all the mapping- Parameters:
plugin- The plugin- Returns:
- A collection which contains the data of all the mapping
-
insert
Inserts a new record in the table- Parameters:
mapping- Instance of the Mapping object to insertplugin- The plugin
-
load
Loads the data of the mapping from the table- Parameters:
nMappingId- The mapping identifierplugin- The plugin- Returns:
- The instance of the Mapping
-
store
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(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
-