Class AttributeFieldHome
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.attribute.AttributeFieldHome
-
public final class AttributeFieldHome extends Object
AttributeFieldHome
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
findByPrimaryKey
public static AttributeField findByPrimaryKey(int nIdField)
Load attribute field- Parameters:
nIdField- ID Field- Returns:
- Attribute Field
-
selectAttributeFieldsByIdAttribute
public static List<AttributeField> selectAttributeFieldsByIdAttribute(int nIdAttribute)
Load the lists of attribute field associated to an attribute- Parameters:
nIdAttribute- the ID attribute- Returns:
- the list of attribute fields
-
selectAttributeByIdField
public static IAttribute selectAttributeByIdField(int nIdField)
Load the attribute associated to the id field- Parameters:
nIdField- the id field- Returns:
- attribute
-
create
public static int create(AttributeField attributeField)
Insert an new attribute field- Parameters:
attributeField- the attribute field- Returns:
- new PK
-
update
public static void update(AttributeField attributeField)
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
-
-