|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttributeDAO
IAttributeDAO Interface
Method Summary | |
---|---|
void |
delete(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteAllAttributesByPluginId(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes all the attributes related to a plugin |
java.lang.String |
getTypeName(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Fetches the type name |
void |
insert(int nBusinessClassId,
Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Attribute |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
fr.paris.lutece.util.ReferenceList |
selectAttributeListCombo(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributes type |
java.util.List<Attribute> |
selectAttributesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attribute objects and returns them as a List |
java.lang.String |
selectClassDescription(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects the class description of the business class |
java.lang.String |
selectPrimaryKey(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Selects the primary key |
void |
store(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Stores a business class |
Method Detail |
---|
void deleteAllAttributesByPluginId(int nIdPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin
- The id of the pluginplugin
- The pluginjava.lang.String getTypeName(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- int identifier of the Attributeplugin
- the Plugin
java.lang.String selectClassDescription(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId
- The id of the pluginplugin
- The plugin
java.lang.String selectPrimaryKey(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId
- The id of the pluginplugin
- The plugin
void store(Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- The attribute objectplugin
- The pluginvoid insert(int nBusinessClassId, Attribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- instance of the Attribute object to insertnBusinessClassId
- The business class identifierplugin
- the Pluginvoid delete(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- int identifier of the Attribute to deleteplugin
- the PluginAttribute load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The id of the attributeplugin
- the Plugin
java.util.List<Attribute> selectAttributesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
fr.paris.lutece.util.ReferenceList selectAttributeListCombo(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |