|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.files2docs.business.AttributeDAO
public class AttributeDAO
This class provides Data Access methods for Attribute objects
Constructor Summary | |
---|---|
AttributeDAO()
|
Method Summary | |
---|---|
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 |
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeDAO()
Method Detail |
---|
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 java.util.Collection<Attribute> selectByMapping(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByMapping
in interface IAttributeDAO
nMappingId
- The mapping identifierplugin
- The plugin
public Attribute load(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IAttributeDAO
nAttributeId
- The attribute identifierplugin
- The plugin
public 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 plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |