|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.model.AttributeDAO
public final class AttributeDAO
| Constructor Summary | |
|---|---|
AttributeDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
String |
getTypeName(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Fetches the type name of an attribute |
void |
insert(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Attribute |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the attribute from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
fr.paris.lutece.util.ReferenceList |
selectAttributeListCombo(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of types of the attribute for the business class |
String |
selectClassDescription(int nIdBusinessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the string representation of a class |
String |
selectPrimaryKey(int nIdBusinessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Fetches the primary key of a business class |
void |
store(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update 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 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAttributeDAOattribute - instance of the Attribute object to insertplugin - The plugin
public Attribute load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAttributeDAOnId - The identifier of the attributeplugin - The plugin
public void delete(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAttributeDAOnAttributeId - The identifier of the attributeplugin - The plugin
public void store(Attribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAttributeDAOattribute - The reference of the attributeplugin - The plugin
public String getTypeName(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getTypeName in interface IAttributeDAOnIdAttribute - The id of the attributeplugin - The plugin
public fr.paris.lutece.util.ReferenceList selectAttributeListCombo(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributeListCombo in interface IAttributeDAOplugin - The plugin
public String selectClassDescription(int nIdBusinessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectClassDescription in interface IAttributeDAOnIdBusinessClass - The id of the business classplugin - The plugin
public String selectPrimaryKey(int nIdBusinessClass,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPrimaryKey in interface IAttributeDAOnIdBusinessClass - The id of the business classplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||