public final class AttributeKeyHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkAttributeId(int nKey)
Check reference in other tables of the attributeKey whose identifier is specified in parameter
|
static AttributeKey |
create(AttributeKey attributeKey)
Create an instance of the attributeKey class
|
static AttributeKey |
findByKey(String strKey,
boolean loadValues)
Find the attribute by its key
|
static AttributeKey |
findByPrimaryKey(int nKey,
boolean loadValues)
Returns an instance of a attributeKey whose identifier is specified in parameter
|
static List<AttributeKey> |
getAttributeKeysList(boolean loadValues)
Load the data of all the attributeKey objects and returns them as a list
|
static List<AttributeKey> |
getMandatoryForCreationAttributeKeyList()
Load the data of all the attributeKey objects that are mandatory for creating an identity and returns them as a list
|
static Integer |
getQualityBase()
Find the quality base factor which is computed following the rule: attributes => SUM(attribute.weight * attribute.maxCertifLevel)
|
static void |
remove(int nKey)
Remove the attributeKey whose identifier is specified in parameter
|
static AttributeKey |
update(AttributeKey attributeKey)
Update of the attributeKey which is specified in parameter
|
public static AttributeKey create(AttributeKey attributeKey)
attributeKey - The instance of the AttributeKey which contains the informations to storepublic static AttributeKey update(AttributeKey attributeKey)
attributeKey - The instance of the AttributeKey which contains the data to storepublic static void remove(int nKey)
nKey - The attributeKey Idpublic static AttributeKey findByPrimaryKey(int nKey, boolean loadValues)
nKey - The attributeKey primary keypublic static AttributeKey findByKey(String strKey, boolean loadValues)
strKey - The key The keypublic static List<AttributeKey> getAttributeKeysList(boolean loadValues)
public static boolean checkAttributeId(int nKey)
nKey - The attributeKey Idpublic static Integer getQualityBase()
public static List<AttributeKey> getMandatoryForCreationAttributeKeyList()
Copyright © 2024 City of Paris. All rights reserved.