fr.paris.lutece.portal.business.user.attribute
Class AttributeFieldHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.user.attribute.AttributeFieldHome

public final class AttributeFieldHome
extends Object

AttributeFieldHome


Method Summary
static int create(AttributeField attributeField)
          Insert an new attribute field
static AttributeField findByPrimaryKey(int nIdField)
          Load attribute field
static void remove(int nIdField)
          Delete an attribute field
static void removeAttributeFieldsFromIdAttribute(int nIdAttribute)
          Delete all attribute field from an attribute id
static IAttribute selectAttributeByIdField(int nIdField)
          Load the attribute associated to the id field
static List<AttributeField> selectAttributeFieldsByIdAttribute(int nIdAttribute)
          Load the lists of attribute field associated to an attribute
static void update(AttributeField attributeField)
          Update an attribute field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
@return 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


Copyright © 2014 Mairie de Paris. All Rights Reserved.