public class AttributeDAO extends Object implements IAttributeDAO
Constructor and Description |
---|
AttributeDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deleteByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes a record from the table
|
void |
insert(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts a new record in the table
|
Attribute |
load(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute from the table
|
Attribute |
selectByDocumentAttribute(int nDocumentAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attribute filtered by document attribute
|
Collection<Attribute> |
selectByMapping(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the attributes filtered by mapping
|
void |
store(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the record in the table
|
public void insert(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAttributeDAO
attribute
- Instance of the Attribute object to insertplugin
- The pluginpublic Collection<Attribute> selectByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByMapping
in interface IAttributeDAO
nMappingId
- The mapping identifierplugin
- The pluginpublic Attribute load(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IAttributeDAO
nAttributeId
- The attribute identifierplugin
- The pluginpublic void store(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IAttributeDAO
attribute
- The reference of the attributeplugin
- The pluginpublic void deleteByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByMapping
in interface IAttributeDAO
nMappingId
- The mapping identifierplugin
- The pluginpublic Attribute selectByDocumentAttribute(int nDocumentAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByDocumentAttribute
in interface IAttributeDAO
nDocumentAttributeId
- The document attribute identifierplugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.