|
||||||||||
| 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 IMappingDAOplugin - The plugin
public void insert(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMappingDAOmapping - Instance of the Mapping object to insertplugin - The plugin
public Mapping load(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMappingDAOnMappingId - The mapping identifierplugin - The plugin
public void store(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMappingDAOmapping - The reference of the mappingplugin - The plugin
public void delete(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMappingDAOnMappingId - The mapping identifierplugin - The plugin
public Mapping selectByDocumentTypeCode(java.lang.String strDocumentTypeCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByDocumentTypeCode in interface IMappingDAOstrDocumentTypeCode - The document type codeplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||