public interface IAttributeDAO
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
|
void insert(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- Instance of the Attribute object to insertplugin
- The pluginCollection<Attribute> selectByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginAttribute load(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAttributeId
- The attribute identifierplugin
- The pluginvoid store(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- The reference of the attributeplugin
- The pluginvoid deleteByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginAttribute selectByDocumentAttribute(int nDocumentAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocumentAttributeId
- The document attribute identifierplugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.