public final class AttributeHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates an instance of the attribute class
|
static Attribute |
findByDocumentAttribute(int nDocumentAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute object filtered by document attribute
|
static Collection<Attribute> |
findByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute objects filtered by mapping
|
static Attribute |
findByPrimaryKey(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a attribute whose identifier is specified in parameter
|
static void |
removeByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the attribute whose mapping identifier is specified in parameter
|
static void |
update(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the attribute which is specified in parameter
|
public static void create(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute - The instance of the Attribute which contains the informations to storeplugin - The pluginpublic static Collection<Attribute> findByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId - The mapping identifierplugin - The pluginpublic static Attribute findByPrimaryKey(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAttributeId - The attribute primary keyplugin - The pluginpublic static void update(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute - The instance of the Attribute which contains the data to storeplugin - The pluginpublic static void removeByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId - The mapping identifierplugin - The pluginpublic static Attribute findByDocumentAttribute(int nDocumentAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocumentAttributeId - The document attribute identifierplugin - The pluginCopyright © 2015 City of Paris. All rights reserved.