|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.files2docs.business.MappingHome
public final class MappingHome
This class provides instances management methods (create, find, ...) for Mapping objects
Method Summary | |
---|---|
static void |
create(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates an instance of the mapping class |
static java.util.Collection<Mapping> |
findAllMapping(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the mapping objects |
static Mapping |
findByDocumentTypeCode(java.lang.String strDocumentTypeCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping object filtered by document type code |
static Mapping |
findByPrimaryKey(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a mapping whose identifier is specified in parameter |
static void |
remove(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the mapping whose identifier is specified in parameter |
static void |
update(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the mapping which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Collection<Mapping> findAllMapping(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
public static void create(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping
- The instance of the Mapping which contains the informations to storeplugin
- The pluginpublic static Mapping findByPrimaryKey(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping primary keyplugin
- The plugin
public static void update(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping
- The instance of the Mapping which contains the data to storeplugin
- The pluginpublic static void remove(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginpublic static Mapping findByDocumentTypeCode(java.lang.String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDocumentTypeCode
- The document type codeplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |