public interface IAttributeKeyDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAttributeId(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
check if id attribute is used in other tables
|
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.
|
void |
insertAttributeValues(int nKey,
AttributeValue attributeValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
AttributeKey |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<AttributeValue> |
loadAttributeValues(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
removeAttributeValues(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
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
|
List<AttributeKey> |
selectMandatoryForCreationAttributeKeyList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributeKey objects that are mandatory for creating an identity and returns them as a list
|
Integer |
selectQualityBaseFactor(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the quality base factor which is computed following the rule: attributes => SUM(attribute.weight * attribute.maxCertifLevel)
|
void |
store(AttributeKey attributeKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(AttributeKey attributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attributeKey - instance of the AttributeKey object to insertplugin - the Pluginvoid store(AttributeKey attributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attributeKey - the reference of the AttributeKeyplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the AttributeKey to deleteplugin - the PluginAttributeKey load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the attributeKeyplugin - the PluginList<AttributeKey> selectAttributeKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectAttributeKeysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginAttributeKey selectByKey(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strKey - The key The keyplugin - The pluginboolean checkAttributeId(int nAttributeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAttributeId - The Attribute IDplugin - pluginInteger selectQualityBaseFactor(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - pluginList<AttributeKey> selectMandatoryForCreationAttributeKeyList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<AttributeValue> loadAttributeValues(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void insertAttributeValues(int nKey,
AttributeValue attributeValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
void removeAttributeValues(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2024 City of Paris. All rights reserved.