|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.mylutece.business.attribute.AttributeDAO
public class AttributeDAO
AttributeDAO
Constructor Summary | |
---|---|
AttributeDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an attribute |
int |
insert(IAttribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new attribute |
IAttribute |
load(int nIdAttribute,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load attribute |
java.util.List<IAttribute> |
selectAll(java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes |
java.util.List<IAttribute> |
selectMyLuteceAttributes(java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes that do not come from a plugin |
java.util.List<IAttribute> |
selectPluginAttributes(java.lang.String strPluginName,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes from plugin name |
void |
store(IAttribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an attribute |
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 IAttribute load(int nIdAttribute, java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IAttributeDAO
nIdAttribute
- IDlocale
- Locale
public int insert(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAttributeDAO
attribute
- the attribute
public void store(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IAttributeDAO
attribute
- the attributepublic void delete(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IAttributeDAO
nIdAttribute
- The Id of the attributepublic java.util.List<IAttribute> selectAll(java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface IAttributeDAO
locale
- locale
public java.util.List<IAttribute> selectPluginAttributes(java.lang.String strPluginName, java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginAttributes
in interface IAttributeDAO
strPluginName
- plugin namelocale
- locale
public java.util.List<IAttribute> selectMyLuteceAttributes(java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyLuteceAttributes
in interface IAttributeDAO
locale
- locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |