public final class AttributeKeyDAO extends Object implements IAttributeKeyDAO
| Constructor and Description |
|---|
AttributeKeyDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(AttributeKey attributeKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
AttributeKey |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<AttributeKey> |
selectAttributeKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributeKey objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectAttributeKeysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributeKey objects and returns them as a
referenceList
|
AttributeKey |
selectByKey(String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the attribute by its key
|
void |
store(AttributeKey attributeKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(AttributeKey attributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAttributeKeyDAOattributeKey - instance of the AttributeKey object to insertplugin - the Pluginpublic AttributeKey load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAttributeKeyDAOnKey - The identifier of the attributeKeyplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAttributeKeyDAOnKey - The identifier of the AttributeKey to deleteplugin - the Pluginpublic void store(AttributeKey attributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAttributeKeyDAOattributeKey - the reference of the AttributeKeyplugin - the Pluginpublic List<AttributeKey> selectAttributeKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributeKeysList in interface IAttributeKeyDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectAttributeKeysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAttributeKeysReferenceList in interface IAttributeKeyDAOplugin - the Pluginpublic AttributeKey selectByKey(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByKey in interface IAttributeKeyDAOstrKey - The key The keyplugin - The pluginCopyright © 2016 City of Paris. All rights reserved.