|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.files2docs.business.MappingDAO
public class MappingDAO
This class provides Data Access methods for Mapping objects
Constructor Summary | |
---|---|
MappingDAO()
|
Method Summary | |
---|---|
void |
delete(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes a record from the table |
void |
insert(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts a new record in the table |
Mapping |
load(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping from the table |
java.util.Collection<Mapping> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the mapping |
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 |
void |
store(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates 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 MappingDAO()
Method Detail |
---|
public java.util.Collection<Mapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface IMappingDAO
plugin
- The plugin
public void insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IMappingDAO
mapping
- Instance of the Mapping object to insertplugin
- The pluginpublic Mapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IMappingDAO
nMappingId
- The mapping identifierplugin
- The plugin
public void store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IMappingDAO
mapping
- The reference of the mappingplugin
- The pluginpublic void delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IMappingDAO
nMappingId
- The mapping identifierplugin
- The pluginpublic Mapping selectByDocumentTypeCode(java.lang.String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByDocumentTypeCode
in interface IMappingDAO
strDocumentTypeCode
- The document type codeplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |