Class AttributeFieldHome
java.lang.Object
fr.paris.lutece.portal.business.user.attribute.AttributeFieldHome
AttributeFieldHome
-
Method Summary
Modifier and TypeMethodDescriptionstatic intcreate(AttributeField attributeField) Insert an new attribute fieldstatic AttributeFieldfindByPrimaryKey(int nIdField) Load attribute fieldstatic voidremove(int nIdField) Delete an attribute fieldstatic voidremoveAttributeFieldsFromIdAttribute(int nIdAttribute) Delete all attribute field from an attribute idstatic IAttributeselectAttributeByIdField(int nIdField) Load the attribute associated to the id fieldstatic List<AttributeField>selectAttributeFieldsByIdAttribute(int nIdAttribute) Load the lists of attribute field associated to an attributestatic voidupdate(AttributeField attributeField) Update an attribute field
-
Method Details
-
findByPrimaryKey
Load attribute field- Parameters:
nIdField- ID Field- Returns:
- Attribute Field
-
selectAttributeFieldsByIdAttribute
Load the lists of attribute field associated to an attribute- Parameters:
nIdAttribute- the ID attribute- Returns:
- the list of attribute fields
-
selectAttributeByIdField
Load the attribute associated to the id field- Parameters:
nIdField- the id field- Returns:
- attribute
-
create
Insert an new attribute field- Parameters:
attributeField- the attribute field- Returns:
- new PK
-
update
Update an attribute field- Parameters:
attributeField- the attribute field
-
remove
public static void remove(int nIdField) Delete an attribute field- Parameters:
nIdField- the attribute field id
-
removeAttributeFieldsFromIdAttribute
public static void removeAttributeFieldsFromIdAttribute(int nIdAttribute) Delete all attribute field from an attribute id- Parameters:
nIdAttribute- the ID attribute
-